Commit graph

1283 commits

Author SHA1 Message Date
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
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
Matt Bierner 424b95bfcf Don't upgrade ts unused diagnostics
These diagnostics should only ever be downgraded from errors to warnings, not ever upgraded from a lower level to warnings
2018-04-09 15:07:59 -07:00
Martin Aeschlimann f57c35c0f2 Languages -> Programming Languages (for #47103) 2018-04-03 14:30:02 +02:00
Matt Bierner 0dd7c793ae Fixes js/ts quick fixes
Fixes #47002

Use the correct grouping for the not null assertion
2018-04-02 11:56:42 -07:00
Johannes Rieken df7ee603cb follow up on #46880 2018-03-29 15:29:51 +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 6eebe4ba3a Use _ prefix for private 2018-03-26 15:28:53 -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 5817ae954f Don't request ts/js quickfixes for possibly stale diagnostic locations
Fixes #45785
2018-03-23 14:23:45 -07:00
Matt Bierner ac17edf6c7 Use namespace import 2018-03-23 14:23:45 -07:00
Matt Bierner 0b655c0603 Rename typescript to typescript-language-features 2018-03-23 13:31:29 -07:00