Commit Graph

51 Commits

Author SHA1 Message Date
Johannes Rieken
d9aeef5de6 remove hasChanges-check, fixes #68971 2019-03-04 16:31:30 +01:00
Matt Bierner
7e759cf3c8 Annotate more usage before assign strict null errors 2019-02-19 16:29:01 -08:00
Matt Bierner
40c4d2b743 Strict null check work for extHostTypes 2019-02-08 17:16:08 -08:00
Joao Moreno
408e03220c event namespace consolidation & docs 2018-12-11 10:14:38 +01:00
Johannes Rieken
7688411a9c fix #60394 2018-10-16 10:46:00 +02:00
Matt Bierner
8087b0a8d8 Remove use strict directives in main vs code ts files (part 2)
We compile using the alwaysStrict flag so these directives are not needed

This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
Johannes Rieken
a5561ad94f don't update markers when there is no real change, #57875 2018-09-11 12:41:02 +02:00
Johannes Rieken
2d452e0a7e uri - replace usages of default export with named export 2018-09-03 10:54:50 +02:00
Johannes Rieken
220f8952b6 fix #54359 2018-07-17 09:36:16 +02:00
Johannes Rieken
ea09391fd8 fix #49687 2018-06-04 15:09:21 +02:00
Johannes Rieken
cc83c18dd9 fix #49582 2018-05-17 12:00:30 +02:00
Johannes Rieken
d52bf577dc type converters, use namespace for Diagnostics 2018-05-04 18:49:40 +02:00
Johannes Rieken
8b470712c9 make diagnostics read api public, #30075 2018-04-06 11:08:12 +02:00
Johannes Rieken
5685bcd524 try a different variant of getDiagnostics... #30075 2018-03-15 15:05:45 +01:00
Johannes Rieken
8d022273dd add DiagnosticRelatedInformation, #10271 2018-03-15 11:43:31 +01:00
Matt Bierner
81767beaca Make Event a named export
There are many places in the code that do `import Event, { ...} from '.../event'`.
2018-03-14 14:25:30 -07:00
Johannes Rieken
185630f925 add MarkerSeverity, #44141 2018-03-14 13:23:09 +01:00
Johannes Rieken
f4c997a5c9 back to simple getDiagnostics-function, #30075 2018-03-14 12:42:38 +01:00
Johannes Rieken
ec091c2c01 add DiagnosticChangeEvent #30075 2018-03-14 11:00:42 +01:00
Johannes Rieken
3aea86db79 proposed event for when diagnostics change, #30075 2018-03-13 17:48:54 +01:00
Johannes Rieken
362485e390 some early sketches of a read api #30075 2018-03-13 15:52:08 +01:00
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