Commit Graph

1157 Commits

Author SHA1 Message Date
Johannes Rieken
793b679ebc adopt latest API 2020-11-17 10:09:17 +01:00
Johannes Rieken
fd610cfa5f Merge branch 'master' into joh/tsQuickRename 2020-11-17 09:05:38 +01:00
Andrew Branch
00fa5d3884 [typescript-language-features] Update importModuleSpecifierPreference values (#110536)
* Update importModuleSpecifierPreference values

* -using

* Add minimum version message
2020-11-16 13:06:40 -08:00
Johannes Rieken
ea3b8da874 also quick rename type parameters, ignore declare only things 2020-11-16 12:05:39 +01:00
Johannes Rieken
e6bb245b6c use predefined constants 2020-11-16 11:59:14 +01:00
Johannes Rieken
b851bf9ca0 Merge branch 'master' into joh/tsQuickRename 2020-11-13 13:55:23 +01:00
Johannes Rieken
8f82b02a4c Merge pull request #109842 from microsoft/joh/98228
Use new completion label for imported modules
2020-11-13 08:39:03 +01:00
Johannes Rieken
165e49bfe8 use rename info instead of highlight info 2020-11-12 21:07:59 +01:00
Johannes Rieken
ce7bd67d46 explore on-type-rename for TypeScript 2020-11-12 20:47:50 +01:00
Matt Bierner
17c29f0b99 Add support for web TS Server logging over postMessage
For https://github.com/microsoft/TypeScript/pull/39656
2020-11-11 17:39:17 -08:00
Matt Bierner
afcfc97316 Fix method spelling 2020-11-11 17:39:17 -08:00
Matt Bierner
7c6994d1b5 Use toOpenedFilePath to ensure we don't ask TS server for projectInfo if a file is not open 2020-11-11 17:39:17 -08:00
Matt Bierner
fb93010aa2 Make sure we use the same path normalizer in a few additional places in buffer sync 2020-11-11 17:39:17 -08:00
Matt Bierner
805aa7e8f4 Make ResourceMap treat the same file with different scheme as different
Fixes #110435
2020-11-11 17:39:17 -08:00
Suman B K
4247b296eb Including ` as part of foldEndPairCharacters (#110108)
* Including '`' as part of foldEndPairCharacters

* Removed test code, which was unrelated
2020-11-09 18:02:38 -08:00
Matt Bierner
d04956f6a7 Switches the 'Fix all' quick fix provider to use resolveCodeAction (#107853)
Made while testing #106410
2020-11-09 18:00:46 -08:00
Matt Bierner
451c2b61d3 Specify type of CodeLensProvider instead of using casts 2020-11-05 12:19:55 -08:00
Matt Bierner
9f4737fa3f Exclude definitions from js/ts references code lens
Fixes #98274
2020-11-05 12:17:18 -08:00
Benjamin Pasero
ac2ca0b539 typescript - fix nls issue
//cc @mjbvz
2020-11-05 10:49:22 +01:00
Matt Bierner
4a54027a82 Disable rename after refactoring in interactive playground
Fixes #75137
2020-11-04 18:06:39 -08:00
Matt Bierner
81a25a894c Rename implicit project settings and deprecate old ones
For #109990
2020-11-04 14:55:28 -08:00
Matt Bierner
ff7cc33236 Use objects.equals for comparing configuration objects 2020-11-04 14:33:24 -08:00
Matt Bierner
05fee0cf3d Extract implictProjectConfiguration class 2020-11-04 14:33:24 -08:00
Matt Bierner
64705a07dc Add two new setting for strict null and strict funtion in js/ts that are implicit projects
For #109988

The new `js/ts.implicitProjectConfig.strictNullChecks` and `js/ts.implicitProjectConfig.strictFunctionTypes` control these settings in implict javascript and typescript files that are not contained in a jsconfig or tsconfig project. They are enabled by default for now so that we can collect feedback on them
2020-11-04 14:33:24 -08:00
Matt Bierner
c38a12c26c Quote jsconfig and tsconfig in setting 2020-11-04 14:33:24 -08:00
Matt Bierner
8141dcf29a Extract adjustFoldingEnd 2020-11-04 13:19:38 -08:00
Matt Bierner
97db458fa4 Show closing ) while folding JS/TS
Fixes #109854
2020-11-04 13:19:38 -08:00
Matt Bierner
0608e3f5bd Pick up TS 4.1-rc for insiders 2020-11-04 13:19:38 -08:00
Johannes Rieken
0729278ad1 use label2 when CompletionEntry#source is a path inside the workspace 2020-11-02 13:22:12 +01:00
Matt Bierner
8a5ffbb044 Mark DocumentSelector as readonly (#109212)
This change:

- Make  `DocumentSelector` use a readonly array
- Updates all properties of `DocumentFilter` to be readonly

`DocumentSelector` is used as a parameter in our provider APIs and does not need to be mutable. This change lets extensions pass in readonly values for the selector
2020-10-23 18:37:39 -07:00
Matt Bierner
dc9c7fae94 Remove readonly
This change was mistakenly checked in
2020-10-22 23:51:27 -07:00
Matt Bierner
aabcbd5ef8 Also enable errors and warnings in interactive playground
For #83025
2020-10-22 22:42:55 -07:00
Matt Bierner
40fc0b1789 Enable semantic features in interactive playground
Fixes #109190
2020-10-22 22:36:08 -07:00
Matt Bierner
16075cc22a Add insertSpaceAfterOpeningAndBeforeClosingEmptyBrackets formatting setting
Fixes #109190
2020-10-22 22:36:08 -07:00
Matt Bierner
37c63d6ae5 Don't show loading and project loading status for in-memory JS/TS files
Fixes #108454
2020-10-19 17:18:49 -07:00
Matt Bierner
706857dfa5 Pass executingFilePath to TS server 2020-09-29 17:59:29 -07:00
Matt Bierner
6ef40a891b Disable TS plugins on web 2020-09-29 17:59:29 -07:00
Matt Bierner
ee536909df Enable logging for TS Server on web
The web server does not have a log file
2020-09-29 17:59:29 -07:00
Matt Bierner
f1e631ab83 Update ts server web build 2020-09-25 16:22:05 -07:00
Matt Bierner
5a7d0a1ed2 Adopt resolveCodeAction for JS/TS refactorings 2020-09-18 18:17:31 -07:00
Matt Bierner
5b4350943e Remove custom typings for refactor trigger reason
This property has been finalized
2020-09-18 18:17:31 -07:00
Matt Bierner
b255097c33 null -> undefined 2020-09-18 18:17:31 -07:00
Matt Bierner
bd54e5f5cc Simplify showQuickPick 2020-09-18 18:17:31 -07:00
Matt Bierner
f26d81979f Extend disposable 2020-09-18 16:27:21 -07:00
Matt Bierner
f8f2538d20 Move exists to own file 2020-09-18 16:26:04 -07:00
Matt Bierner
c3651027ba Use enum 2020-09-18 16:23:49 -07:00
Matt Bierner
017a42552b Use Promise.all to perform config finding in parallel instead of sequentially
For #87494
2020-09-18 16:15:50 -07:00
Matt Bierner
bf2448549d Make getTsConfigsInWorkspace observe the TaskProvider cancellation 2020-09-18 16:15:50 -07:00
Matt Bierner
d1510288f0 Add timeout for vscode.workspace.findFiles
For #87494
2020-09-18 16:15:50 -07:00
Matt Bierner
6932306e4d Add (get) and (set) prefixes to JS/TS getters and setters in the outline
Fixes #106935
2020-09-18 11:06:32 -07:00