Commit Graph

35 Commits

Author SHA1 Message Date
Matt Bierner
aef80e8070 Auto marking fields as readonly in mainThread files 2019-03-05 16:53:40 -08:00
Matt Bierner
6d973fef89 Strict null work on main thread 2019-02-11 09:31:13 -08:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
bissonex
36ac195d16 fix typo (#65740)
fix typo for Editor Find, terminalSupport.ts, terminals.ts, extHostDebugService.ts
2018-12-28 12:13:31 -08:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Alex Dima
17454d4e88 Organize imports 2018-10-23 09:54:11 +02:00
Matt Bierner
f7456ebf90 Switch to use standard @types/node types instead of our customized version
Using a custom version of the node typings is causing a lot of pain while trying to upgrade our build to use `@types` instead of the `d.ts` files we have to maintain. I believe we primarily maintain our own version for two reason:

- Custom require function
- setTimeout and other timer functions return NodeJs.timer instead of a number

These can both be delt with, the first by using interface augmentation and the second by switching to use any types for timer. I believe that the pain of maintaining our own node `d.ts` outweighs the benefits here

This change switches us to use the standard @types/node package for our node typings
2018-10-03 14:18:36 -07: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
34837504ba debt - More precise typings 2018-09-05 12:21:06 +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
01a2356098 don't use file-uri when creating untitled-files, just pass path information along the side, #49078 2018-05-03 15:59:29 +02:00
isidor
f470ce19e7 textModel: add isForSimpleWidget property so these model are not synchronized 2018-03-20 16:25:10 +01:00
Johannes Rieken
bca16d831e better error message when trying to open huge files #43861 2018-02-28 14:42:23 +01:00
Benjamin Pasero
3a8d09ebec use Schemas.untitled everywhere 2018-02-09 12:35:31 +01:00
Alex Dima
f322baeb66 Use URI for ExtHostDocumentsShape methods 2018-02-08 16:18:47 +01:00
Alex Dima
5b1d34e435 Use URI for IDocumentsAndEditorsDelta.removedDocuments 2018-02-08 16:18:47 +01:00
Alex Dima
54e7055c12 Rename IModel to ITextModel 2018-01-04 16:44:40 +02:00
Alex Dima
0721df783d Extract model types out of editorCommon.ts 2018-01-04 16:27:58 +02:00
Alex Dima
b64355bf8d Remove usage of CustomMarshaller for MainThreadDocuments (#40169) 2017-12-13 17:08:36 +01:00
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +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
Alex Dima
c2e0b36d9b Implement extension host restarting 2017-08-17 15:43:35 +02:00
Alex Dima
c956a19fab Have MainThreadDocumentsAndEditors follow the lifecycle of the extension host 2017-08-16 11:28:26 +02:00
Alex Dima
2b3298af79 Use native proxies for renderer <-> ext host RPC communication 2017-08-16 10:26:25 +02:00
Johannes Rieken
35e8d509fd remove unused services 2017-08-16 10:18:19 +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
Felix Becker
dbe0f89264 Always reject Promises with Error instances 2017-06-26 15:24:41 +02:00
Johannes Rieken
337ded059a rename ITextModelResolverService to ITextModelService, #10547 2017-06-13 16:00:36 +02:00
Benjamin Pasero
ea1b253767 debt - improve usage of untitled editor service 2017-06-07 10:03:34 +02:00
Johannes Rieken
b2b81e4f3e fix #27231 2017-05-26 11:31:28 +02:00
Johannes Rieken
b548d2128d split things up into api/node and api/electron-browser 2017-05-12 11:24:22 +02:00