Commit Graph

617 Commits

Author SHA1 Message Date
Matt Bierner
341013c0ef Log warning when returned code action will be dropped (#55090)
* Add extension logging when returned code action will be dropped

Fixes #54803

Adds a loggin warning when a code action provider returns code actions that will be dropped. Warn in the the following cases:

- A provider returns code actions (not commands)
- And a specific code action type is requested.
- And the returned code actions either don't set kind or are of the wrong kind

* Use log service

* Include extension id in warning
2018-07-26 15:14:16 -07:00
Rob Lourens
d36a3d2395 Search provider - implement FileIndexProvider 2018-07-26 12:28:15 -07:00
Rob Lourens
9999dac541 SearchProvider - split out separate TextSearchProvider #47058 2018-07-26 12:28:15 -07:00
Matt Bierner
f8870d79d6 Formatting and extration 2018-07-25 12:52:06 -07:00
Sandeep Somavarapu
0aee16bab6 Fix #52944 2018-07-24 16:24:25 +02:00
Christof Marti
8804cedf65 Move to stable API (#53327) 2018-07-23 11:51:44 +02:00
Christof Marti
ebf213ab68 Move back button to QuickInputButtons (#53327) 2018-07-23 11:20:17 +02:00
Rob Lourens
a56ec40e8a findTextInFiles - add second signature for optional options 2018-07-11 20:54:56 -07:00
Joao Moreno
cc6d8aa00e Merge remote-tracking branch 'origin/master' into joao/uri-handler 2018-07-06 12:49:16 +02:00
Daniel Imms
096d627d2b Make terminal access APIs stable
Fixes #52574
2018-07-05 09:11:17 -07:00
Johannes Rieken
1ea92bedfc add extension path mappings when extension path cannot be found, #53295 2018-07-02 12:25:49 +02:00
Rob Lourens
f666f0be0a findTextInFiles - 'null' skipes configured excludes 2018-07-01 15:34:14 -07:00
Rob Lourens
0fb670f9a3 Fix #9049 - text search API 2018-07-01 15:15:31 -07:00
Matt Bierner
2ed5aee8f0 Move webview serializer api out of proposed 2018-06-26 11:38:46 -07:00
Joao Moreno
0e8d727971 promote uri handler api to stable 2018-06-25 16:09:43 +02:00
Joao Moreno
92693a1b26 API: UriHandler, rename and docs 2018-06-25 15:13:03 +02:00
Johannes Rieken
dfb98d6d6f first cut of FileWillRenameEvent with support for workspace edit, #43768 2018-06-22 12:22:28 +02:00
Christof Marti
aae335792b T extends QuickPickItem (#49340) 2018-06-21 12:08:01 +02:00
Johannes Rieken
6dcfa8fbfe add proposed onWillRenameFile event, #43768 2018-06-19 16:13:14 +02:00
Johannes Rieken
10192366eb move onDidRename to filesystem-events things, #43768 2018-06-19 15:17:54 +02:00
Christof Marti
c361c4a31c Back button constant (#49340) 2018-06-19 12:00:48 +02:00
Daniel Imms
8d4466df93 Merge pull request #52143 from Microsoft/46192_terminal_renderer
Terminal renderer and activeTerminal APIs
2018-06-19 05:29:00 +08:00
Daniel Imms
ec4930a545 Add activeTerminal and onDidChangeActiveTerminal
Fixes #47615
2018-06-17 17:29:21 +08:00
Johannes Rieken
ec60aab39f outline - use Provider#displayName instead of extension id 2018-06-15 15:14:04 +02:00
Daniel Imms
e80cdde2ef Merge remote-tracking branch 'origin/master' into 46192_terminal_renderer 2018-06-13 18:51:23 +02:00
Christof Marti
965c1862b5 QuickInput Proposed API (#49340) 2018-06-12 18:23:25 +02:00
Alex Dima
2a575f1472 Fix usage of IMainContext / IExtHostContext 2018-06-12 16:40:56 +02:00
Johannes Rieken
cecfdcde22 update proposed API to DocumentSymbol-type, #34968 2018-06-12 12:47:27 +02:00
Andre Weinand
2613d48d9a start debug terminal from ext host 2018-06-11 23:56:49 +02:00
Alex Dima
e09017d368 Fixes #51387: Preserve path drive letter casing 2018-06-11 18:33:03 +02:00
Dirk Baeumer
e5c3c10853 Remove old proposed task API 2018-06-07 10:05:47 +02:00
Johannes Rieken
9a86a83b50 back to more conventinal api proposal, #34968 2018-06-05 17:05:23 +02:00
Peng Lyu
ad635f2b4c Merge remote-tracking branch 'upstream/master' into rmacfarlane/review 2018-06-04 11:14:31 -07:00
Johannes Rieken
88ba6f800e remove old, proposed fsp api, #50859 2018-06-04 11:36:06 +02:00
Daniel Imms
20f9bf129a Implement start of terminal renderers
Part of #46192
2018-06-02 16:35:49 -07:00
Dirk Baeumer
84984608fe Fixes #50858: Task api is still marked as proposed 2018-05-31 11:59:01 +02:00
Matt Bierner
df7f125f35 Moving webview api back to proposed for more polishing
#49022
2018-05-30 22:53:56 -07:00
Christof Marti
0662a71dfb Remove first cut of QuickInput API (#49340) 2018-05-28 09:30:39 +02:00
Dirk Baeumer
86feb84737 Make variable resolving for tasks async 2018-05-28 08:57:13 +02:00
Matt Bierner
0afe30e9a3 Move webview serializer out of proposed 2018-05-25 12:09:59 -07:00
Matt Bierner
0a0d3d5e45 Add code action trigger to proposed API
#50248
2018-05-21 16:19:10 -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
Peng Lyu
9acfd66aa0 Merge remote-tracking branch 'upstream/master' into rebornix/review 2018-05-18 10:16:19 -07:00
Matt Bierner
8bb27cd255 Add unused diagnostic subtype (#49646)
* Add unused diagnostic subtype

Fixes #15710

Adds a new `DiagnosticTag` class that provide additional information about a diagnostic. Introduce `DiagnosticTag.Unnecessary` to mark when a diagnostic is for unused / unnecessary code

The design comes from Rosyln's diagnostic object and allows us to modify how a diagnostic is rendered without changing its serverity.

Hooks up JS and TS to use this new tag. This is controlled by the `javascript.showUnused.enabled` setting which is enabled by default

- Introduce a new diagnostic severity for unused.

    However, using this approach, if a user sets `noUnusedLocals` in their `tsconfig.json`, the resulting diagnostic could only show the squiggly OR be grayed out. Using `customTags` allows us to support both graying out and showing the squiggly

- Custom JS/TS implementation using decorators

    Not themable. We want a standard experience across languages.

* - Move to proposed
- Use numeric enum
2018-05-17 15:43:59 -07:00
Johannes Rieken
49323b3798 explore Hierarchy<T> idea, #34968 2018-05-17 10:40:08 +02:00
Dirk Baeumer
37319680b3 Incooperated API review for tasks 2018-05-16 10:21:25 +02:00
Johannes Rieken
abf25ad143 Merge branch 'master' into joh/outline 2018-05-15 18:12:33 +02:00
Johannes Rieken
2a270de217 add extensionId to DocumentSymbolProvider interface 2018-05-14 14:27:26 +02:00
Christof Marti
e142962e1b Multi-step input API (#49340) 2018-05-14 12:53:38 +02:00
Alex Dima
5348062d3d Small tweaks 2018-05-14 11:04:35 +02:00