Commit graph

296 commits

Author SHA1 Message Date
Martin Aeschlimann 5ee9f6646e add constants 2020-01-14 10:07:40 +01:00
Martin Aeschlimann fc57a1421d update typescript-language-features 2020-01-13 21:09:37 +01:00
Martin Aeschlimann 18f0a5bd21 add reaonly support, update typescript-vscode-sh-plugin version 2020-01-13 19:57:17 +01:00
Martin Aeschlimann 703a2afcef update typescript-vscode-sh-plugin 2020-01-10 16:05:16 +01:00
Martin Aeschlimann 900100b745 use typescript-vscode-sh-plugin 2020-01-09 23:23:55 +01:00
Martin Aeschlimann a07286f7f9 use @aeschli/typescript-vscode-sh-plugin 2020-01-09 22:47:06 +01:00
Martin Aeschlimann b8a7184825 use plugin 2020-01-09 17:36:45 +01:00
Matt Bierner f0336455ed Adding documentation.refactor proposed contribution point
For #86788
2020-01-07 16:14:54 -08:00
okmttdhr 0db887a1a3 Show JS/TS References Code Lens for Inner Functions (#84689)
* Show code lens for inner functions

* Create typescript.referencesCodeLens.showOnAllFunctions setting

* Create javascript.referencesCodeLens.showOnAllFunctions setting

* Add a new setting in a existing class

* Avoid unnecessary fallthrough
2019-11-22 18:06:23 -08:00
Alex Ross e82dd213dd Make typescript problem match watch patterns less locale specific
Improves #46373
2019-11-20 09:33:32 +00:00
Matt Bierner 5b63895862 Docment remaining known js/ts refactorings 2019-11-06 18:13:54 -08:00
Matt Bierner 692630172a Documenting more js/ts refactorings 2019-11-06 17:47:43 -08:00
Matt Bierner 42d53cf373 Document extract constant and extract type alias 2019-11-06 16:51:49 -08:00
Matt Bierner 2510769bf9 Updat codeActions contribtions schema based on https://github.com/microsoft/vscode/issues/82718#issuecomment-550468267
- Adds a description
- Remove schama
- Moves the language to the top level so we don't need to duplicate so much info for each code action
2019-11-06 16:51:49 -08:00
Matt Bierner c8d64b13e5 Add code actions contributon point
For #82718
Fixes #52846

This adds a newly proposed codeActions contribution point. For details, see #82718

This change also makes the intellisense for the `editor.codeActionsOnSave` property dynamic by using the new contribution point
2019-11-06 10:13:59 -08:00
Huáng Jùnliàng c35b9ba236 add babel.config.json to validation (#83758) 2019-11-01 11:23:04 -07:00
Benjamin Pasero ca22de4b17 debt - bump node.d.ts dependency in extensions to 12.x (part of #82514) 2019-10-28 08:11:47 +01:00
Matt Bierner 82ca6ba87f document that suggest.names doesn't work with checkjs
Fixes #81895
2019-10-19 16:19:35 -07:00
Matt Bierner bd200eafd1 Add configuration for includeAutomaticOptionalChainCompletions
For https://github.com/microsoft/TypeScript/pull/34552
2019-10-18 22:00:11 -07:00
Matt Bierner 693ffb4d57 Default maxTsServerMemory to 3GB 2019-10-18 16:14:48 -07:00
Michael Loughry 89e4d3eddc Add setting to configure the max memory for tsserver (#82630)
* Add setting to configure the max memory for tsserver

* Fix silly tpo from fixing formatting

* Add "MB" to setting description string

* Add validation to configuration value

* Add 128MB as a lower bound
2019-10-15 13:45:11 -07:00
Matt Bierner a967c8ada3 Move js/ts json validation to js/ts language features extension
Fixes #73336
2019-10-04 15:31:21 -07:00
Matt Bierner e5efdb4b4b Expand documentation for typescript.tsdk
Fixes #42243
2019-09-26 17:29:13 -07:00
Andrew Branch 8774e0bb05 [typescript-language-features] Add formatter option for semicolons (#80828)
* Add formatter option for semicolons

* Add compatibility note

* Make it compile without TS 3.7
2019-09-13 13:40:41 -07:00
Martin Aeschlimann be8f289fa9 update jsonc-parser 2019-08-21 16:55:59 +02:00
Matt Bierner 35f77aab43 Enable useSeparateSyntaxServer by default and remove the experimental section from setting name
Fixes #76420
2019-07-01 15:10:21 -07:00
Matt Bierner 87b8402b59 Add experimental dual TS server
Fixes #75866
2019-06-20 17:11:20 -07:00
Benjamin Pasero d78a75973c
update @types/node (#74881) 2019-06-05 10:20:01 +02:00
Logan Ramos ca9887459b
Delete vscode-typescript upon close of VS Code (#73801)
* Cleans up vs-typescript temp directoy upon VS code close

* Fixed typing errors preventing build from succeeding

* Moved deletion to the deactivate method. Added folders per extension host

* Removed yarn watch script used in testing
2019-05-17 18:55:31 +00:00
Sandeep Somavarapu 1fd2993b54 Fix #72185 2019-04-12 07:44:56 +02:00
Matt Bierner 9517c8c565 Don't include TS prefix in ts task's error code field
Fixes #70572
2019-03-15 10:07:13 -07:00
Matt Bierner b819c7668e Remove jsDocCompletion setting
This has been renamed to `javascript.suggest.completeJSDocs` and `typescript.suggest.completeJSDocs`
2019-02-13 17:47:12 -08:00
Matt Bierner b4522997ac Add preference to disable shorthand renaming
Fixes #68029

Use the `typescript.preferences.renameShorthandProperties` and `javascript.preferences.renameShorthandProperties` to disable shorthand property renames. Default to enabling renames
2019-02-13 17:44:08 -08:00
Greg Van Liew 6f1cb19909 Fix jSDocCompletion deprecation message 2019-01-29 10:51:13 -08:00
Matt Bierner 807759ecff Rename jsDocCompletion.enabled to javascript.suggest.completeJsDocs and typescript.suggest.completeJsDocs
Fixes #67146
2019-01-28 14:46:29 -08:00
SteVen Batten ccdd2997a6
update AI module (#66370)
fixes #64849
2019-01-10 17:43:25 -08:00
Matt Bierner c5afb50a5b Added test for #63100 2018-11-29 17:09:48 -08:00
Matt Bierner 1faae7e83f Make sure we activate js/ts extension when someone sends the _typescript.configurePlugin command 2018-10-31 23:30:24 -07:00
Ramya Achutha Rao a975e59eaf Update applicationInsights for #60585 2018-10-16 16:29:08 -07:00
Matt Bierner a57e7abae2 Remove deprecated js/ts completion settings
These were marked as deprecated in VS Code 1.28 and are now being removed
2018-10-15 17:39:33 -07:00
Matt Bierner f94cfe6677 Make sure javascript.updateImportsOnFileMove.enabled also has enum descriptions
Fixes #59509
2018-09-26 17:23:55 -07:00
Matt Bierner 2e95080816 Use markdownEnumDescription for all js/ts enums
Fixes #59508
2018-09-26 17:23:55 -07:00
Matt Bierner f169056822 Use better name for insertParamtersForFunctionCall setting
Renamed to `completeFunctionCalls` to hopefully make it clear that this setting will also complete functions with no parameters

Fixes #59325
2018-09-26 11:53:54 -07:00
Ramya Achutha Rao 972ee3f948 Use latest applicationinsights in extensions too 2018-09-25 16:45:00 -07:00
Johannes Rieken 6999ddbab7 update vscode-extension-telemetry 2018-09-20 12:06:55 +02:00
Matt Bierner f6b11178f7 Add check js survey
**Problem**
We'd like to understand the types of problems users are running into when using the checkJs feature in real world code. This is not something we can determine automatically

**Fix**
The TS team has put together a short survey that will hopefully help them understand how people are using checkJS and what problems they run into. This change adds client side logic to show the survey in the following case:

- A user as opened 10 projects that have checkJS set
- And they have not been prompted to complete the survey previously
- And they have not opted out of all js/ts surveys
2018-09-19 17:19:38 -07:00
Ramya Achutha Rao d0a67178ca Update appinsights in built in extensions 2018-09-18 18:35:12 -07:00
Matt Bierner 1ff383c64f Split useCodeSnippetsOnMethodSuggest into js and ts specific settings
Splits the old setting into `javascript.suggest.insertParametersForFunctionCalls` and `typescriptscript.suggest.insertParametersForFunctionCalls`

Fixes #58385
2018-09-11 11:20:38 -07:00
Matt Bierner 2d4a98842b Rename javascript.nameSuggestions to javascript.suggest.names
Bring this setting name inline with other suggestions settings

Part of #58385
2018-09-10 15:41:07 -07:00
Matt Bierner ae7035dbbf Add setting to disable all path based sugestions in js/ts
The new  `javascript.suggest.paths` and `typescript.suggest.paths` settings replace `typescript.quickSuggestionsForPaths`. These settings should disable all path based suggestions from js/ts

The old `quickSuggestionsForPath` setting is now marked deprecated and is not being migrated to these new settings as it has different semantics. It was originally designed just to disable quick suggestions for paths but it does not work properly when using TypeScript 2.9+
2018-09-10 15:41:07 -07:00
Matt Bierner 72581dfca9 Rename typescript.autoImportSuggestions.enabled and allow it to be applied to js or ts separately
Part of #58385
2018-09-10 15:41:07 -07:00
Matt Bierner 98894ae9ba Rename typescript.suggestions.enabled to typescript.suggest.enabled to be more consistent with other extensions 2018-09-10 15:41:07 -07:00
Matt Bierner 937cbc186b Split suggestions.enabled into js and ts specific settings 2018-09-10 15:41:07 -07:00
Dave Williams b9dbeb90d1 New config to turn off TypeScript autocomplete suggestions (#58011)
* New config to turn off TypeScript autocomplete suggestions

* add missing semicolon

* Exclude everything, even name suggestions, when suggestions disabled
2018-09-10 11:06:12 -07:00
Johannes Rieken c2c5819fc8 adopt vscode-nls 4.0.0 2018-09-06 14:44:33 +02:00
Johannes Rieken 099d99b76c wip 2018-08-24 14:54:50 +02:00
Rob Lourens d505bb4781 Workaround #55649 2018-08-16 09:57:33 +02:00
Rob Lourens a0764210a8 #55478 - switch all builtin settings to 'markdownDescription' instead of 'description' where needed 2018-08-08 17:01:37 -07:00
Matt Bierner 6bcabdeefe Add enum descriptions to typescript.preferences.importModuleSpecifier 2018-08-03 18:06:50 +02:00
Ramya Achutha Rao 1912c5d755 Allow extensions to log telemetry to log files #54001 2018-07-30 16:18:54 -07:00
Rob Lourens a2767ab649 Setting descriptions 2018-07-28 12:13:36 -07:00
Ramya Achutha Rao 9e411a5fd3 Renaming tag for settings for online services #54354 2018-07-26 17:21:32 -07:00
Ramya Rao d8bf1443cf
Support tags on settings to filter in settings editor (#55094)
* Support tags on settings to filter in settings editor

* Revert adding tags to api until we are ready
2018-07-25 15:51:28 -07:00
Rob Lourens 31eba9652d Sweep setting descriptions for #54690 2018-07-25 14:45:48 -07:00
Matt Bierner b096fb256d Use enumDescriptions 2018-07-23 15:27:55 -07:00
Matt Bierner e9fb3b2eaa Remove old show unused settings
You should use `editor.showUnused` instead. Possibly with a language specific setting:

```
"[typescript]": {
    "editor.showUnused": false
}
```
2018-07-23 15:01:02 -07:00
Matt Bierner cb9ad4f8be Add link provider for jsconfig and tsconfig files
Fixes #16905
Fixes #54215
2018-07-12 16:11:30 -07:00
Matt Bierner adfa9ce977 Add initial support for auto close jsx tags
Fixes #34307
2018-07-09 19:00:10 -07:00
Dirk Baeumer 21991b4912 Move to latest vscode-nls for corrupted cache support 2018-07-03 16:12:52 +02:00
Matt Bierner df7425c832 Use manager for registering and unregistering folding provider 2018-06-04 15:17:38 -07:00
Dirk Baeumer 9275422362 Fixes #50943: TSC version 2.9.x in watch mode prints different end compile message 2018-06-01 15:16:14 +02:00
Matt Bierner 857db02b2c Add proper contribution schema for ts server pluguins
#50682
2018-05-31 17:21:04 -07:00
Matt Bierner 228df854e0 Shorten showUnused setting name
Fixes #50648
2018-05-30 23:02:28 -07:00
Matt Bierner c406cb40cf Remove duplicate strings and small cleanup 2018-05-30 11:46:57 -07:00
Matt Bierner ff5f422dda
Prototype update import paths on file rename/move for JS/TS (#50074)
* Prototype of updating paths on rename file

* Fix apply edits

* Hook up to normal rename

* Fix unit test

* Remove timeout

* Adding prompt

* Bail early if user has set 'never'
2018-05-21 13:26:24 -07:00
Matt Bierner 12323264c1 Re-enable syntax based folding for js/ts by default in insiders 2018-05-10 15:10:14 -07:00
Matt Bierner 1a820a0a1b Add setting to control show unused variables 2018-05-10 10:53:15 -07:00
Matt Bierner 15f74515fe Mark suggestionActions as resource scope since this setting can change per folder 2018-05-08 11:42:05 -07:00
Matt Bierner 8d138ff89c Mark user preferences as resource scope 2018-05-07 16:06:54 -07:00
Matt Bierner c488e28c29 Use 'auto' for default TS preference values 2018-05-03 15:54:30 -07:00
Matt Bierner 85c67a9768 Add importModuleSpecifier specifier preference 2018-05-02 16:48:43 -07:00
Matt Bierner e1a4a6812b Basic support for TS preferences
Fixes #45948
2018-05-02 16:48:43 -07:00
Matt Bierner 7b3c343688 Start adding some basic pinning tests for jsdoc -> snippet 2018-05-02 14:41:37 -07:00
Dirk Bäumer e329bb6bb0 Fixes #48711: TypeScript build task output not populating error list with --pretty on (#48744) 2018-04-26 13:46:58 -07:00
Matt Bierner 2f86e30e96 Disable syntax based folding again by default for stable 2018-04-26 11:03:29 -07:00
Ramya Achutha Rao 1139de12c0 Create appInsights client only if user has opt-in to telemetry 2018-04-25 15:21:15 -07:00
Ramya Achutha Rao 953cdf7f3d Update vscode-extension-telemetry version 2018-04-20 10:30:05 -07:00
Matt Bierner 2fadb90198
Move TS/JS to use organize imports codeAction instead of command (#47850)
* Move TS/JS to use organize imports code action

Fixes #47845
Fixes #46647

- Defines a new standard `SourceOrganizeImports` `CodeActionKind` to be used to implement organize imports in a consistent way.
- Add a new `Organize imports` command and keybinding that executes these actions.
- Move over the existing js/ts organize imports command to use the new code action kind

* Use supportedCodeActions context key

* Document code action kind values

* Fix regular expression

Make sure we only match whole scopes and not `unicorn.source.organizeImports`
2018-04-18 10:51:33 -07:00
Sandeep Somavarapu e592885b49 Fix #46750 2018-04-16 17:10:46 +02:00
Martin Aeschlimann f57c35c0f2 Languages -> Programming Languages (for #47103) 2018-04-03 14:30:02 +02:00
Matt Bierner c059826ba2 Have distinct js/ts commands for organize imports
Fixes #46701
2018-03-27 14:33:55 -07:00
Matt Bierner a1c693ab1a Allow disabling JS/TS suggestion actions
Fixes #46590
2018-03-26 15:28:54 -07:00
Matt Bierner cb16bf9308 Turn syntax based folding on by default for TS 2.8 2018-03-26 13:41:30 -07:00
Dirk Baeumer a9f6297db9 Fixes #46373: $tsc-watch background problem matcher is locale specific 2018-03-26 11:47:02 +02:00
Dirk Baeumer 6cc1bedc4a Fixes #46324: Typescript matchers doesn't recognize tsc output with pretty option enabled 2018-03-26 11:37:49 +02:00
Matt Bierner 0b655c0603 Rename typescript to typescript-language-features 2018-03-23 13:31:29 -07:00
Renamed from extensions/typescript/package.json (Browse further)