Ladislau Szomoru
8fd4a68845
Factor in workspace trust when switching versions ( #117774 )
2021-03-01 09:09:13 +01:00
Matt Bierner
3dc8cb1afc
Add setting to enable/disable returns generation in jsdoc
...
Fixes #116282
2021-02-10 12:20:01 -08:00
Matt Bierner
a0855b30c7
Use rmdirSync instead of rimraf
...
Fixes #115668
2021-02-04 11:44:33 -08:00
João Moreno
8bf9b56ade
Merge branch 'joao/extensions'
2021-02-02 12:06:01 +01:00
Matt Bierner
925d9234b8
Pick up latest TypeScript 4.2 nightly
...
This also migrates us to use our normal TS install for the serverless version
2021-02-01 14:15:27 -08:00
João Moreno
ec805db5ed
add repository field to extensions package.json
2021-01-29 15:30:45 +01:00
Matt Bierner
b565c422aa
Add find all references command for JS/TS
...
Fixes #66150
2021-01-04 16:57:24 -08:00
Alexandru Dima
20831dd3df
Keep only @types/* deps in /build/ and share terser ( #112718 )
2020-12-18 19:51:10 +01:00
Alexandru Dima
f74ad9692f
Align @types/* dev dependencies ( #112718 )
2020-12-18 13:28:39 +01:00
Alexandru Dima
7ca71e763d
Move away from deprecated 'vscode' node module ( #112718 )
2020-12-17 21:40:14 +01:00
Alexandru Dima
cbc47b1d7b
Do not share terser
2020-12-17 14:38:44 +01:00
Alexandru Dima
1cada18542
Share webpack related node modules ( #112718 )
2020-12-17 11:16:03 +01:00
Matt Bierner
072d922c45
Revert "Revert "Pick up offical TS build for web server""
...
This reverts commit eb5c4388c7 .
2020-12-11 13:39:19 -08:00
Matt Bierner
eb5c4388c7
Revert "Pick up offical TS build for web server"
...
This reverts commit f29a3cabc4 .
2020-12-11 12:14:58 -08:00
Matt Bierner
f29a3cabc4
Pick up offical TS build for web server
2020-12-09 17:22:26 -08:00
Matt Bierner
9e5f14c1bc
Default strict null checks to off for implicit projects
...
For #109988
2020-11-30 16:40:15 -08:00
Andrew Casey
9195c9ab14
Expose TS server tracing ( #110534 )
...
* Add typescript.tsserver.enableTracing setting
* Document typescript.tsserver.enableTracing setting
2020-11-20 15:28:18 -08: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
Benjamin Pasero
ac2ca0b539
typescript - fix nls issue
...
//cc @mjbvz
2020-11-05 10:49:22 +01:00
Matt Bierner
81a25a894c
Rename implicit project settings and deprecate old ones
...
For #109990
2020-11-04 14:55:28 -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
16075cc22a
Add insertSpaceAfterOpeningAndBeforeClosingEmptyBrackets formatting setting
...
Fixes #109190
2020-10-22 22:36:08 -07:00
Alex Ross
924ccf2b63
Include weird timestamp pattern in tsc-watch problem matcher
...
Fixes #104157
2020-08-07 11:00:41 +02:00
Andrew Branch
4a206a33e5
Change includePackageJsonAutoImports options ( #103732 )
2020-08-03 14:16:28 -07:00
Andrew Branch
1c8662b8bf
Add setting for package.json auto imports ( #103037 )
2020-07-22 15:28:22 -07:00
Matt Bierner
5b9fd525fa
Minimize shipped tsserver
...
This takes the shipped size from 9Mb to 2.9mb
2020-07-22 14:52:38 -07:00
Matt Bierner
23c4467ed3
Enable web TS Server ( #102990 )
...
This enables running the TS Server on web. This currently requires a special version of the TypeScript server
2020-07-21 16:13:52 -07:00
Martin Aeschlimann
6eeb350744
update typescript-vscode-sh-plugin (fix version check)
2020-06-26 15:26:15 +02:00
Mads Kristensen
860ca64f07
Fix SchemaStore.org URLs
...
SchemaStore.org now support HTTPS directly instead of relying on the backdoor through *.azurewebsites.net
2020-06-25 10:13:47 -07:00
Andrew Casey
13d3a9358b
Update npm script compile-extension:typescript-language-features ( #96320 )
2020-04-27 18:38:08 -07:00
Matt Bierner
a4597e1905
Enable JS/TS workspace symbol search for all projects
...
Fixes #11026
Adds a new `typescript.workspaceSymbols.scope` setting that enables searching all known projects when using TS 3.9+
2020-04-24 00:42:55 -07:00
Duncan Walter
c7c2301bc2
TS: Add setting to prompt users about workspace tsdk ( #95566 )
...
* add a setting to prompt users to switch to tsdk version
* version manager in control
Co-authored-by: Duncan Walter <dwalter@hubspot.com >
2020-04-22 10:57:22 -07:00
Matt Bierner
a51f8c4626
Fix missing property description string
2020-04-15 12:46:40 -07:00
Josh Smith
3f9e68436b
Issue #93589 : Rename 'renameShorthandProperties' setting to 'useAliasesForRenames' ( #94480 )
...
* Issue #93589 : Rename 'renameShorthandProperties' setting to 'useAliasesForRenames'
* Issue 93589: Added deprecation message to 'renameShorthandProperties' preference
* Issue 93589: Old and new setting value added for mitigtion
Co-authored-by: joshuahs <joshuahs@umich.edu >
2020-04-14 14:53:19 -07:00
Martin Aeschlimann
8ef9a03b52
typescript: update typescript-vscode-sh-plugin
2020-04-09 17:24:48 +02:00
Martin Aeschlimann
72df4fc229
update typescript-vscode-sh-plugin
2020-04-07 09:46:21 +02:00
Martin Aeschlimann
40077f5ea9
[typescript][semantic] add library modifier. Fixes #91090
2020-03-27 14:35:22 +01:00
Martin Aeschlimann
c65ea4300d
update typescript-vscode-sh-plugin
2020-03-13 00:42:20 +01:00
Pine Wu
2362584a62
Revert "Fix #73803 "
...
This reverts commit 67e6aef0c8 .
2020-03-06 00:30:14 -08:00
Pine Wu
67e6aef0c8
Fix #73803
2020-03-05 11:34:58 -08:00
Andrew Branch
23850c7990
[typescript-language-features] Add importModuleSpecifierEnding preference ( #90405 )
...
* Expose importModuleSpecifierEnding to typescript-language-features
* Add default `auto` setting
* Use string 'auto' for auto setting
* Work with TypeScript 3.8
2020-02-28 11:20:50 -08:00
Martin Aeschlimann
b2e0925ba1
update jsonc-parser
2020-02-21 15:03:33 +01:00
Martin Aeschlimann
12770d4fed
update typescript semantic highlighting
2020-02-20 15:35:50 +01:00
Matt Bierner
fb622a8b83
Move code action documentation contribution point to come from metadata
...
For #86788
2020-02-11 11:36:23 -08:00
Martin Aeschlimann
985840db96
update typescript-language-features
2020-02-10 03:27:46 +01:00
Martin Aeschlimann
12509673e9
update typescript-vscode-sh-plugin
2020-02-10 02:25:47 +01:00
Matt Bierner
718331d6f3
Allow configuring TS Server watch options through VS Code
...
Fixes #89381
Given that these are advanced options, we require editing them in the json file instead of using our settings UI
2020-02-07 18:14:38 -08:00
Matt Bierner
f0942786b4
Add experimental setting to use separate server to compute project level diagnostics
...
For #13953
**Problem**
We'd like to show project wide diagnostics, however at the moment TS server is single threaded. This means that computing all these diagnostics would interrupt other user operations such as completions.
Right now, our advice is to use tasks to get around this limitation (since tasks always run as separate process) however few people actually use tasks.
**Change**
This change adds an experimental `tsserver.experimental.enableProjectDiagnostics` setting (default false) that makes VS Code spawn a separate TS Server that is only used for computing diagnostics. This should help keep the primary syntax server responsive while letting the diagnostics server churn away at project level diagnostics
**Why experimental?**
- We are comporting too many diagnostics. This is bad for larger projects. I don't think TS provides the right APIs to know which files we actually need to request diagnostics on when a file changes.
- This hasn't been fully extensively tested to make sure it plays nicely with feature such as automatic type acquisition or in complex workspace with multiple projects
2020-02-06 15:15:33 -08:00
Alex Ross
8066726b27
Allow both : an . as time separators in tsc problem pattern
...
Fixes https://github.com/microsoft/vscode/issues/89273
2020-02-04 15:01:09 +01:00
Martin Aeschlimann
a6df4b39d9
update typescript-vscode-sh-plugin
2020-01-27 15:03:16 +01:00