Commit Graph

36 Commits

Author SHA1 Message Date
Johannes Rieken
c92ce4014f move extHost.protocol to common, #70319 2019-03-19 15:46:01 +01:00
Alex Ross
8f16a02e66 Move remote agent environment out of node (#70568) 2019-03-15 17:00:57 +01:00
Matt Bierner
52556f9742 Auto converting let -> const where possible in mainthread and extHost
Const provides better type guards and can make logic clearer
2019-03-05 16:53:41 -08:00
Matt Bierner
b6087b2021 Fixing more strict null errros in extHost and related files 2019-02-05 15:59:38 -08:00
Matt Bierner
986f924ad5 Prefer using Array<T> for complex array types
Use `Array<T | U>` when dealing with union types instead of  `(T | U)[]`
2018-12-13 16:40:44 -08:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Matt Bierner
e2cf8ebc5d Enable strictBindCallApply for VS Code
Fixes #64633
2018-12-07 14:25:14 -08: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
8ba421c56a debt - remove TPromise from ExtHostFileSystemEventServiceShape#$onWillRename 2018-09-06 12:44:00 +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
e522018d26 avoid async and winjs.promise, #53442 2018-07-02 14:47:43 +02:00
Johannes Rieken
dfb98d6d6f first cut of FileWillRenameEvent with support for workspace edit, #43768 2018-06-22 12:22:28 +02:00
Johannes Rieken
6dcfa8fbfe add proposed onWillRenameFile event, #43768 2018-06-19 16:13:14 +02:00
Johannes Rieken
2579a13724 add (internal) api for onWillSave #43768 2018-06-19 15:54:45 +02:00
Johannes Rieken
10192366eb move onDidRename to filesystem-events things, #43768 2018-06-19 15:17:54 +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
Johannes Rieken
d7bb4b5a6c more native json, #40169 2017-12-13 18:24:30 +01:00
Benjamin Pasero
3e9fa59616 Introduce GlobPattern and adopt in DocumentFilter/FileWatcher/FileSearch (#34695)
* introduce IRelativePattern and use in extension API

* 💄

* docs

* introduce RelativePattern

* support RelativePattern also for file watcher

* also make findFiles support RelativePattern

* less type conversion

* add GlobPattern type and remove readonly

* make base a string

* fix setter access to RelativePattern

* fix npe when exclude is undefined

* fix findFiles: pattern seems to be matched against workspace always

* 💄

* clarify glob pattern matching
2017-09-22 13:52:23 +02:00
Benjamin Pasero
46189edc74 💄 2017-09-15 11:19:55 +02:00
Benjamin Pasero
655527d156 parse pattern for file watching 2017-09-15 10:59:39 +02:00
Alex Dima
2b3298af79 Use native proxies for renderer <-> ext host RPC communication 2017-08-16 10:26:25 +02:00
Johannes Rieken
bcfedfd596 fix #26851 2017-05-22 12:05:27 +02:00
Johannes Rieken
2caf36fdf5 don't debounce FS events 2017-01-17 16:42:58 +01:00
Johannes Rieken
6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00
Alex Dima
24feea5a75 Fix another TS rename fail 2016-07-14 13:09:16 +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
c63203bf80 Adopt IEventEmitter.addListener2 2016-05-21 11:29:45 +02:00
Alex Dima
533844ab8d More plugin -> extension 2016-03-01 18:54:42 +01:00
Martin Aeschlimann
675317b6b8 Fixes #3171: [debt] Actions should be allowed to be created with no service dependency 2016-02-29 23:04:52 +01:00
Johannes Rieken
b3f65f6182 💄 tslint /api 2016-02-04 17:26:04 +01:00
Johannes Rieken
81456a7212 move api/common to api/browser 2016-01-11 14:44:13 +01:00