Commit Graph

84 Commits

Author SHA1 Message Date
Alex Dima
17454d4e88 Organize imports 2018-10-23 09:54:11 +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
81b995a25d debt - less TPromise usage 2018-10-01 14:01:17 +02:00
Alex Dima
591e83f8a4 Reduce usage of TPromise in extHost.protocol 2018-09-04 16:04:53 +02:00
Johannes Rieken
3c727a6d01 uri - replace usages of default export with named export (part 2) 2018-09-03 11:04:26 +02:00
Johannes Rieken
10192366eb move onDidRename to filesystem-events things, #43768 2018-06-19 15:17:54 +02: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
Johannes Rieken
dfb070c277 type converter, use namespace for Range 2018-05-04 18:49:39 +02:00
Alex Dima
e50d290378 Fixes #10047: include rangeOffset in TextDocumentContentChangeEvent 2018-04-05 12:21:10 +02: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
Alex Dima
f322baeb66 Use URI for ExtHostDocumentsShape methods 2018-02-08 16:18:47 +01:00
Alex Dima
d7e8ced0bd Rename MirrorModel to MirrorTextModel 2018-01-05 11:26:56 +02:00
Johannes Rieken
89ac57db7f fix integration test, #40169 2017-12-13 18:24:30 +01:00
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +01:00
Alex Dima
2b3298af79 Use native proxies for renderer <-> ext host RPC communication 2017-08-16 10:26:25 +02:00
Johannes Rieken
e909c33059 eng - move the document content provider part out of document/editor management 2017-08-15 19:25:23 +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
Felix Becker
dbe0f89264 Always reject Promises with Error instances 2017-06-26 15:24:41 +02:00
Johannes Rieken
b2b81e4f3e fix #27231 2017-05-26 11:31:28 +02:00
Matt Bierner
6147b54439 Fix TS 2.3.1 Compiler Errors in VSCode src/workbench (#25249)
TS 2.3.1 introduced a breaking change by [switching to covariant types for callbacks](https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#covariance-in-callback-parameters). This change tries to fix these compiler errors in the workbench codebase
2017-04-25 08:20:25 -07:00
Alex Dima
b3097dfd53 More usage of Position vs IPosition 2017-04-19 15:16:50 +03:00
Alex Dima
2cf8cef20d A single model content changed events contains the list of changes 2017-04-14 13:18:34 +03:00
Alex Dima
307fda2689 Clarify extension host protocol 2017-04-14 13:18:33 +03:00
Cody Hoover
ee4473f1ef Follow up to PR #22021 to respond to feedback 2017-03-07 21:36:15 +01:00
Cody Hoover
503f8f516e Add ability to open untitled document with initial content (#22021) 2017-03-07 07:43:21 +01:00
Johannes Rieken
1239cebb70 Merge branch 'joh/editors' 2017-03-06 12:40:47 +01:00
Alex Dima
2e27b5433e Clean up IRawText usage 2017-03-02 18:50:13 +01:00
Alex Dima
668dc0675d Extract more code to textSource.ts 2017-03-02 18:50:13 +01:00
Alex Dima
bff93542a7 Reduce usage of IRawText (send only what's needed around) 2017-03-02 18:50:13 +01:00
Matt Bierner
2a40036dbb Adding explicit returns for remaining instances 2017-02-01 18:36:55 -08:00
Matt Bierner
c342eaa22e Adding more explicit returns 2017-02-01 17:29:57 -08:00
Johannes Rieken
67f4ef013c use IRawText and compare before pretending things have changed, #18664 2017-01-19 15:29:53 +01:00
Benjamin Pasero
8b7756063b Open new file buffer via API 2017-01-18 19:13:26 +01:00
Johannes Rieken
118b3e0d5a debt - use Map instead of object 2016-12-30 15:37:12 +01:00
Johannes Rieken
00a663b3ef allow to provide regexp when asking for word ranges, #15724 2016-11-18 14:01:55 +01:00
Johannes Rieken
1cda680453 also send isDirty-flag when forwarding model changes, #11339 2016-10-24 13:06:48 +02:00
Johannes Rieken
6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00
Benjamin Pasero
b2b2cb0f49 var => let/const 2016-07-15 09:54:35 +02:00
Alex Dima
217e0b56a8 Consistent naming for ext host <-> main process communication 2016-07-12 21:14:43 +03: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
Alex Dima
7f14d8c348 Extract word related functions to wordHelper 2016-06-08 21:36:29 +02:00
Benjamin Pasero
34c933670d inputToType => createInput (for #6324) 2016-05-27 08:55:07 +02:00
Alex Dima
8913a2b964 Add typed events to IModel 2016-05-25 15:31:32 +02:00
Alex Dima
868570c8c3 Remove usages of ListenerUnbind 2016-05-21 11:29:46 +02:00
Alex Dima
e9b3e0ae92 Rename model.getAssociatedResource() to model.uri 2016-05-20 12:18:10 +02:00