Commit Graph

30 Commits

Author SHA1 Message Date
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +01: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
12439dfbb6 debt - remove obsolete URI casts 2017-10-11 13:01:10 +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
Johannes Rieken
d036417745 💄 no tricks, implement a stable sort 2017-06-16 19:10:20 +02:00
Johannes Rieken
6bddd906b0 adopt stableSort for ext host diagnostics 2017-05-16 17:47:12 +02:00
Alex Dima
aca01f2daa Fix build hygiene issues 2017-04-14 14:08:52 +03:00
Matt Bierner
c342eaa22e Adding more explicit returns 2017-02-01 17:29:57 -08:00
Johannes Rieken
118b3e0d5a debt - use Map instead of object 2016-12-30 15:37:12 +01:00
kieferrm
499a648057 workarounds for #16819 - TS2.1 compiler issues 2016-12-07 16:58:10 -08:00
Johannes Rieken
8e3388f064 enfore stable sort, fixes #15585 2016-11-17 13:54:45 +01:00
Johannes Rieken
6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00
Johannes Rieken
dbbadcd05f don't merge diagnostics with old data, fixes #11547 2016-09-06 16:58:21 +02:00
Johannes Rieken
16d1563855 clarify nls string, #10831 2016-08-24 09:42:57 +02:00
Johannes Rieken
fbebca5527 do not use for-of and const
https://github.com/Microsoft/TypeScript/issues/10220
2016-08-09 10:41:21 +02:00
Johannes Rieken
fe8bb5b484 keep order more stable when sorting, add diagnostic message to inform about limit, #9826 2016-08-02 10:47:36 +02:00
Johannes Rieken
df03c156b5 sort by severity when limiting diagnostics list, #9826 2016-08-02 10:47:36 +02:00
Alex Dima
bdaa72b842 ext host - extend *Shape classes 2016-07-12 21:10:54 +03:00
Alex Dima
581c260f9a Rename extHostProtocol to extHost.protocol 2016-07-12 19:33:55 +03:00
Alex Dima
9f1e006be5 Do not use native Proxy as it breaks debugging vscode 2016-06-27 17:54:56 +02:00
Alex Dima
d285fe05e1 Split up ext host <-> main thread communication to separate files 2016-06-27 14:59:54 +02:00
Alex Dima
f00bbb18d9 Move IThreadService up to /workbench/ 2016-06-26 15:50:37 +02:00
Alex Dima
10cae007cd Use native JS Proxy for main <-> ext host proxies 2016-06-26 15:10:04 +02:00
Johannes Rieken
4458bdf5c0 merge tuples of equal Uri, #6373 2016-05-17 11:22:28 +02:00
Johannes Rieken
93ba880a9e better warning logging 2016-04-11 14:58:22 +02:00
Johannes Rieken
8cdf377b66 add DiagnosticsCollection#has and #get 2016-04-08 17:31:35 +02:00
Johannes Rieken
aeb52ceb8d add DiagnosticsCollection#forEach 2016-04-08 16:40:12 +02:00
Johannes Rieken
fdc48b3fc6 refactor DiagnosticsCollection so that it holds data on ext host side 2016-04-08 16:17:43 +02:00
Johannes Rieken
81456a7212 move api/common to api/browser 2016-01-11 14:44:13 +01:00