Commit graph

91 commits

Author SHA1 Message Date
Matt Bierner
42f6d4648c Add trailing ... for command that opens a picker 2019-03-22 15:06:43 -07:00
Matt Bierner
f4921b0f20 Remove period from js/ts command title
Fixes #70961
2019-03-22 15:06:43 -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
Matt Bierner
807759ecff Rename jsDocCompletion.enabled to javascript.suggest.completeJsDocs and typescript.suggest.completeJsDocs
Fixes #67146
2019-01-28 14:46:29 -08:00
Matt Bierner
b43d76887d Add more detail to disableAutomaticTypeAcquisition setting description
Fixes #60984
2018-10-17 16:22:25 -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
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
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
Matt Bierner
e6443c6220 Fix description 2018-09-11 12:54:46 -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
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
Matt Bierner
5198030c09 Describe what implementation code lens does
Fixes #55370
2018-07-30 15:59:17 +01:00
isidor
55dfcd730e settings sweep
#54690
2018-07-30 16:53:12 +02:00
Rob Lourens
a2767ab649 Setting descriptions 2018-07-28 12:13:36 -07:00
Rob Lourens
31eba9652d Sweep setting descriptions for #54690 2018-07-25 14:45:48 -07:00
Matt Bierner
5a148fa9a3 Use code in setting 2018-07-23 15:27:55 -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
adfa9ce977 Add initial support for auto close jsx tags
Fixes #34307
2018-07-09 19:00:10 -07:00
Dániel Tar
6ae1cc7720 Fix a replace gone wrong in typescript-language-features/package.nls (#52704) 2018-06-25 10:54:49 -07:00
Matt Bierner
fae153401b Clairify ts version requirements
Fixes #50806
2018-06-18 15:51:44 -07:00
Matt Bierner
fb6be6e2f0 Remove periods after required version numbers 2018-06-18 15:51:44 -07:00
Matt Bierner
49b483a51d Remove version notes for TS versions < 2.3.0
These older versions are rarely used as the workspace version by VS Code. Removing notes around these given the very small number of users impacted by these restrictions
2018-06-18 15:51:44 -07:00
Matt Bierner
df7425c832 Use manager for registering and unregistering folding provider 2018-06-04 15:17:38 -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
4ed3b64a3d Clean up importModuleSpecifier wording
Fixes #50817
2018-05-30 11:23:21 -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
1a820a0a1b Add setting to control show unused variables 2018-05-10 10:53:15 -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
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
Greg Van Liew
36faf7a34b Update settings description typos 2018-04-11 21:21:24 -07:00
Matt Bierner
a1c693ab1a Allow disabling JS/TS suggestion actions
Fixes #46590
2018-03-26 15:28:54 -07:00
Matt Bierner
0b655c0603 Rename typescript to typescript-language-features 2018-03-23 13:31:29 -07:00
Renamed from extensions/typescript/package.nls.json (Browse further)