Commit Graph

247 Commits

Author SHA1 Message Date
Alex Dima
ec75457f87 Don't rely on custom marshalling for $setLanguageConfiguration (#40169) 2017-12-14 12:40:08 +01:00
Johannes Rieken
e20f08b291 a little language features, #40169 2017-12-14 10:16:27 +01:00
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +01:00
Johannes Rieken
5f51de4851 Let the internal API only talk CodeAction, #34664 2017-11-24 10:51:27 +01:00
Johannes Rieken
e5c5a35e3a fix error when a symbol provider doesn't return a result 2017-11-16 15:03:36 +01:00
Johannes Rieken
c7c988c5af fix #38294 2017-11-15 10:29:02 +01:00
Matt Bierner
844a0cdde7 Fix #38184 2017-11-13 16:00:24 -08:00
Matt Bierner
be88547c66 Prototyping new CodeAction API (#36316)
* Add CodeAction Type

Adds skeleton on a new CodeActionType and allows codeActionProvider to return either `Command`s or `CodeAction`s

Move proposed CodeAction API to proposed and try using it in TS

Split CodeAction into quickfix and refactoring classes

Update proposed interface

Update for new API

Adding basic docs

* Support workspace edits and text edits in codeactions

* Remove placeholders

* Resolving conflicts and making PR suggested changes

* Fix quick fix test

* Revert change to only use `CodeAction` instead of `CodeAction | Command` in modes since this will break `vscode.executeCodeActionProvider`
2017-11-08 16:07:34 -08:00
Johannes Rieken
04fc390148 fix #37808 2017-11-08 10:33:37 +01:00
Johannes Rieken
6dc7e364d7 debt - remove some ts-ignored things 2017-11-07 17:23:19 +01:00
Erich Gamma
c536efdfbc Enabled the noUnusedLocals and added @tsignore 2017-11-07 13:13:41 +01:00
Johannes Rieken
1df5c0240f manually track workspace symbols for later resolving, #36941 2017-10-26 11:38:50 +02:00
Johannes Rieken
65a2d30efe color - jsdoc and tiny tweaks for color provider api 2017-10-16 12:43:21 +02:00
Johannes Rieken
c6ac991a52 debt - remove apiUsage telemetry 2017-10-11 15:40:35 +02:00
Johannes Rieken
12439dfbb6 debt - remove obsolete URI casts 2017-10-11 13:01:10 +02:00
Johannes Rieken
229093ec9e debt - remove unused 'usesCommandLink' telemetry 2017-10-02 14:40:03 +02:00
kieferrm
9d5589dbf4 update GDPR todos 2017-09-25 18:36:43 -07:00
kieferrm
03bbbbb6b1 review GDPR classifications 2017-09-25 18:36:43 -07:00
kieferrm
a65363876a more GDPR classification 2017-09-25 18:36:43 -07:00
Matt Bierner
2f34618b87 Adding completion item kind enum 2017-09-20 19:21:45 -07:00
Matt Bierner
b34379e8f7 Take context as last argument 2017-09-20 19:21:45 -07:00
Matt Bierner
0283831aff Fix interfaces and move the function types into namespaces 2017-09-20 19:21:45 -07:00
Matt Bierner
89773f358e Update based on comments 2017-09-20 19:21:45 -07:00
Matt Bierner
377eabe614 Add optional CompletionContext to provideCompletionItems
Fixes #752

Adds a new overload of `provideCompletionItems` that takes a context argument. This context is currently used to provide the trigger character of the suggestion
2017-09-20 19:21:45 -07:00
rebornix
084849c2fa provideColorPresentations should have document in paramaters. 2017-09-20 13:44:57 -07:00
rebornix
d069e922ef Re #34366. Extensions define color formats. 2017-09-19 00:03:58 -07:00
rebornix
3753e0e1d2 Align signatures with other providers. 2017-09-08 14:11:44 -07:00
rebornix
3479d81d77 Fix #32235. Functional style formatter. Color range is all float number and remove fromHex, fromHSL methods. 2017-09-08 11:36:39 -07:00
Johannes Rieken
ed50fa2105 don't register resolve method when there is none, #4352 2017-09-08 10:40:01 +02:00
Johannes Rieken
353526170b use suggest lifecycle instead of automagic heap tracking, #18682 2017-09-07 12:09:20 +02:00
Johannes Rieken
c00bdb74ee Merge pull request #33682 from Microsoft/joh/lightbulb
show lightbulb inline
2017-09-04 15:56:05 +02:00
Johannes Rieken
4e3ed60858 only select diagnostics that are contained by the code action range 2017-09-04 14:31:52 +02:00
Johannes Rieken
29e0c87679 remove unused param 2017-09-04 14:30:13 +02:00
Benjamin Pasero
bef497ff82 avoid more implicit any and some 💄 2017-09-04 11:20:09 +02:00
rebornix
879373d9e1 Remove onDidChagne events. Deprecate [lan].colorDecorators.enable and
use editor.colorDecorators for all.
2017-08-25 16:10:16 -07:00
rebornix
9937bcf6ec Color Decorator sits together with Color Picker. 2017-08-25 16:10:16 -07:00
rebornix
f52299aee0 Add a new option to control whether to render inline color box or not. 2017-08-25 16:10:16 -07:00
Johannes Rieken
9791d58701 replace MarkedString with object-type IMarkdownString, #29076 2017-08-23 15:53:39 +02:00
Johannes Rieken
eb4e09ba69 Revert "know decorations using command links, #29076"
This reverts commit 94c4b25a47.
2017-08-23 11:54:45 +02:00
Johannes Rieken
94c4b25a47 know decorations using command links, #29076 2017-08-23 11:50:58 +02:00
Johannes Rieken
001cff3e78 know hover providers using command links, #29076 2017-08-23 11:50:46 +02:00
Johannes Rieken
9e86799468 fix #32788 2017-08-18 18:03:17 +02:00
Alex Dima
2b3298af79 Use native proxies for renderer <-> ext host RPC communication 2017-08-16 10:26:25 +02:00
Alex Dima
20a45eef3a Add a mechanism to be a customer of the extension host (share lifecycle) and begin reducing usage of IThreadService 2017-08-15 18:26:51 +02:00
Joao Moreno
3007332134 fixes #32379 2017-08-14 11:52:36 +02:00
Joao Moreno
13a6a7a9c3 color api: remove ColorRange.format 2017-08-11 11:50:10 +02:00
Joao Moreno
fe42130032 fix hygiene 2017-07-28 10:18:03 +02:00
Michel Kaporin
35b085f864 Fixed passing available formats to the main thread. 2017-07-27 23:03:08 +02:00
Michel Kaporin
726eeeb1aa Integrate API changes into extHost 2017-07-27 18:03:23 +02:00
Michel Kaporin
be836877ee Simplified extHost <-> mainThread communication by having color formatters map on both sides. 2017-07-27 17:16:35 +02:00