Matt Bierner
0ff8a3e9e0
Use vscode.*
2018-05-10 15:26:52 -07:00
Matt Bierner
430272b09e
Use / as a trigger character for jsx
2018-05-10 15:10:14 -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
49170e54b1
API allowing CodeActionProviders to reliably get the current editor selection ( #49081 )
...
Fixes #49024
Fixes #49060
See #49024 for details on the problem. Makes code action providers take a range | selection. Always pass the selection if one is available.
2018-05-10 15:09:26 -07:00
Matt Bierner
d8e5520575
Pick up new TS insiders
2018-05-10 13:56:06 -07:00
Matt Bierner
50a7fe9bce
Introduce experimental fade out of unused variables
...
Gated behind undocumented setting. Requires proper vscode API
Part of #15710
2018-05-10 10:53:15 -07:00
Matt Bierner
1a820a0a1b
Add setting to control show unused variables
2018-05-10 10:53:15 -07:00
Matt Bierner
3fc493a0e4
Make geterr async
2018-05-08 14:36:52 -07:00
Matt Bierner
faec3b58b7
Mark fields readonly
2018-05-08 14:36:52 -07:00
Matt Bierner
211d2ea5c2
Remove now unneeded cast
2018-05-08 13:29:42 -07:00
Matt Bierner
04255d26e1
Ensure we send file configuration before running organize imports
2018-05-08 13:29:20 -07:00
Matt Bierner
f05063d13d
Annotate common ts telemetry properties
2018-05-08 11:42:05 -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
e628e8e7b2
Add folding range kinds for TS
...
Fixes #44530
2018-05-07 14:20:42 -07:00
Matt Bierner
819a1af8f4
Support running organize imports for background files
...
Fixes #49405
2018-05-07 13:50:52 -07:00
Matt Bierner
558635ad1b
Try canceling ts geterr requests
...
Fixes #49251
2018-05-07 13:34:43 -07:00
Matt Bierner
b385047305
Fix suggestions in JS/TS
...
Fixes #49350
2018-05-07 08:49:10 -07:00
Matt Bierner
612048a149
Temp workaround for ts not understanding that dot is a trigger character
2018-05-04 14:12:21 -07:00
Matt Bierner
72658816a2
Support TS disable suggestions setting
...
Fixes #47617
2018-05-04 14:12:21 -07:00
Matt Bierner
f8ced1957a
Add telemtry for TS/JS quick fixes
...
Fixes #47760
2018-05-04 14:12:20 -07:00
Matt Bierner
bf99321408
Pick up new TS insiders
2018-05-03 16:51:46 -07:00
Matt Bierner
b9459731b0
Use single diagnostic source for both js and ts
...
Fixes #48709
Use a unified diagnostic collection for js and ts since both diagnostics are provided by the typescript extension
2018-05-03 15:54:30 -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
7e6868ca33
Adding more pinning tests for jsdoc -> snippet
2018-05-02 14:52:46 -07:00
Matt Bierner
7b3c343688
Start adding some basic pinning tests for jsdoc -> snippet
2018-05-02 14:41:37 -07:00
Matt Bierner
9370ce97b2
Use destructre
2018-05-01 11:08:59 -07:00
Matt Bierner
55a10f77e8
Don't try creating a new synced buffer if we already have one
...
Possibly https://github.com/Microsoft/TypeScript/issues/23502
2018-04-30 18:18:05 -07:00
Matt Bierner
9f16378b2f
Trigger completions on < inside jsx
...
Fixes #40539
2018-04-30 17:02:22 -07:00
Matt Bierner
ffb8d045a6
Add support for TS trigger characters
...
Fixes #25034
2018-04-30 16:56:36 -07:00
Matt Bierner
a32ca17c38
Don't include param tags in js signature help provider
...
Fixes #48231
2018-04-30 12:52:17 -07:00
Matt Bierner
9d6d1464c4
Make sure we treat jsdocs sig help as markdown
2018-04-30 12:04:15 -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
Matt Bierner
4832deb1b4
Fix snippetForFunctionCall if called with already resolve item
2018-04-24 17:17:16 -07:00
Matt Bierner
3c79f978d8
Fix possible exception when using snippets in ts completions
2018-04-24 15:38:54 -07:00
Matt Bierner
93ff0d0c14
Catch errors on signature help provider
...
Part of #46852
2018-04-23 17:43:43 -07:00
Ramya Achutha Rao
0c47c04e85
Add missing yarn updates
2018-04-21 20:44:21 -07:00
Ramya Achutha Rao
953cdf7f3d
Update vscode-extension-telemetry version
2018-04-20 10:30:05 -07:00
Matt Bierner
7812e8190e
Fix ts/js insertText used with useCodeSnippetsOnMethodSuggest
...
Fixes #48163
2018-04-18 15:56:37 -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
Martin Aeschlimann
a1bb202eb6
incorperate folding api feedback
2018-04-18 15:26:43 +02:00
Sandeep Somavarapu
e592885b49
Fix #46750
2018-04-16 17:10:46 +02:00
Greg Van Liew
c17139f9a1
Merge pull request #47714 from gregvanl/master
...
Update settings descriptions to match vscode-docs PR#1530
2018-04-12 14:16:30 -07:00
Matt Bierner
5ff2ccfc28
CodeActionProvider.providedKinds ( #47702 )
...
Adds a new optional `CodeActionProviderMetadata`. This is passed in`registerCodeActionProvider` and contains a list of`CodeActionKinds` that the provider may return. The list is used for deciding when to show the `refactor` and `source action` context menus. It is not used for filtering the returned code actions
Possibly helps address #45383
2018-04-12 11:50:21 -07:00
Greg Van Liew
36faf7a34b
Update settings description typos
2018-04-11 21:21:24 -07:00
Matt Bierner
556fa03cf3
Add source code action kind
...
Fixes #47621
Adds the concept of a source code action that applies to an entire file. Does not show these actions in the lightbulb menu by default
2018-04-11 15:34:33 -07:00