Matt Bierner
4c57171eb4
Add move to new file refactoring for JS/TS
...
Fixes #49866
2018-05-15 17:14:45 -07:00
Johannes Rieken
abf25ad143
Merge branch 'master' into joh/outline
2018-05-15 18:12:33 +02:00
Matt Bierner
21ee81c03b
Working on webview persistence API
...
#49022
2018-05-14 10:34:59 -07:00
Johannes Rieken
183154feba
Merge branch 'master' into joh/outline
2018-05-14 09:18:57 +02:00
Matt Bierner
1cc5e27e64
fix file references
2018-05-11 14:37:22 -07:00
Huachao Mao
b69b51d40c
Rename dipose.ts to dispose.ts ( #49659 )
2018-05-11 12:12:57 -07:00
Matt Bierner
987c3dccf4
Support TS string completion item kind
2018-05-10 18:11:47 -07:00
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
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
Johannes Rieken
29ee1ac696
Merge branch 'master' into joh/outline
2018-05-08 09:02:36 +02:00
Johannes Rieken
341100e1f7
hierarchy for TypeScript outline
2018-05-08 09:00:35 +02: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
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
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
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
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
Matt Bierner
9aef83c000
Make sure js/ts blocks folds show ending bracket
...
Fixes #47240
2018-04-10 14:42:10 -07:00
Matt Bierner
fee0dde012
foldering -> folding
2018-04-10 14:42:10 -07:00