Commit Graph

69 Commits

Author SHA1 Message Date
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