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
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
ChaseKnowlden
e8760a5d6c
Fix capitalization of GitHub org
2020-09-17 11:43:03 +02:00
Matt Bierner
50cc1d0e97
Update to use TS 4.1 for building VS Code
2020-09-16 11:58:01 -07:00
Matt Bierner
2a954244f0
Only allow configurePlugin against main TS Server
...
Fixes #106346
Looks like the TS Server doesn't support this in partial mode at the moment
2020-09-09 09:21:56 -07:00
Jean Pierre
a6833ed841
proper fix for #105202 ( #106293 )
2020-09-08 14:46:43 -07:00
Matt Bierner
e969bc18a1
Disable errors in non-semantic supported files
...
Fixes #106299
Fixes #106314
Also enables js/ts features on the right side of PRs and in search results
2020-09-08 14:39:58 -07:00
Matt Bierner
3dc43cb7b3
Exclude pr schemed files from js/ts language features
...
Fixes #105842
2020-09-02 10:36:24 -07:00
Matt Bierner
b8e4718a12
Disable js/ts features for the private scheme
...
This scheme is used internally by VS Code for features such as search/replace preview
2020-09-01 15:07:05 -07:00
Matt Bierner
e6b0f45556
Use containerName if it exists
2020-09-01 14:10:15 -07:00
Matt Bierner
5e9a412cd9
Remove experimental typings
...
These typings are now in TS 4.0
2020-09-01 14:02:58 -07:00
Pranav Senthilnathan
fb80351278
prune the refactor not applicable reasons if there are too many ( #103203 )
...
* prune the refactor not applicable reasons if there are too many
* Add in appendInvalidActions for older TS versions
Co-authored-by: Matt Bierner <matb@microsoft.com >
2020-08-31 15:37:02 -07:00