Commit Graph

38 Commits

Author SHA1 Message Date
Johannes Rieken
5ee85420d2 less todos, more logging 2018-06-05 10:48:34 +02:00
Johannes Rieken
dfb070c277 type converter, use namespace for Range 2018-05-04 18:49:39 +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
8bfa7ffd2e Move IExtensionService up to /workbench/ (fixes #44281) 2018-02-23 17:38:24 +01:00
Matt Bierner
e1f33fbb07 Rename ext host / main thread editor to textEditor
Rename to make it more clear that these APIs are for `vscode.TextEditor`
2018-02-15 15:32:16 -08:00
Johannes Rieken
dc31fa213b support interleaving file and text changes, basically rewrite bulk edit... 2018-01-19 17:54:54 +01:00
Johannes Rieken
d7bb4b5a6c more native json, #40169 2017-12-13 18:24:30 +01:00
Johannes Rieken
eef38a2e15 log failures of on-will-save-listener, #40030 2017-12-12 10:28:55 +01:00
Johannes Rieken
43f2e0706c know the extension id when calling on-will-save, #40030 2017-12-11 17:55:42 +01:00
Johannes Rieken
5e840a6de2 eng - no TPromise in save participants 2017-12-11 14:34:10 +01:00
Johannes Rieken
ade608336c bloat - remove unused code 2017-11-17 14:58:57 +01:00
Johannes Rieken
12439dfbb6 debt - remove obsolete URI casts 2017-10-11 13:01:10 +02:00
Johannes Rieken
a60a65d804 Revert "Revert "allow to reuse the same function/context when listening to events""
This reverts commit 4a3dbb6c44.
2017-09-25 14:25:25 +02:00
Johannes Rieken
4a3dbb6c44 Revert "allow to reuse the same function/context when listening to events"
This reverts commit 7cb8ac43e6.
2017-09-25 14:11:32 +02:00
Johannes Rieken
7cb8ac43e6 allow to reuse the same function/context when listening to events 2017-09-25 12:40:49 +02:00
Alex Dima
02ee356269 Have workspace.applyEdit correctly account for model version changes and reply with false if a model was loaded and changed in the meantime 2017-09-18 16:56:03 +02:00
Alex Dima
2b3298af79 Use native proxies for renderer <-> ext host RPC communication 2017-08-16 10:26:25 +02:00
hikerpig
b104c7d0f8 fix spelling of 'iff' and 'idenifier' (#32401)
* fix spelling of 'iff' and 'idenifier'

* Keep 'iff' in comment if it means *if and only if*
2017-08-15 15:23:29 +02:00
Johannes Rieken
1849ad23a7 add TextEdit#newEol, adopt for workspace edit and onWillSave-event 2017-03-24 16:13:58 +01:00
Johannes Rieken
8516b9a6ed no EOLEdit for now, no replacement yet 2017-03-21 16:08:49 +01:00
Johannes Rieken
57bb940794 add EndOfLineEdit and allow it to be returned from onWillSave 2017-03-21 09:48:37 +01:00
Johannes Rieken
ac0e3c615b allow bulk edit to change EOL sequences 2017-03-21 09:48:37 +01:00
Matt Bierner
2a40036dbb Adding explicit returns for remaining instances 2017-02-01 18:36:55 -08:00
Johannes Rieken
3fde440262 remove custom declares of ES6'ish types 2016-12-28 16:08:39 +01:00
Johannes Rieken
dc7402b978 make vscode.d.ts use a declare module, #13990
* a declared module allows to have a sibling module containing experimental API
* this change also cleans up some bogous type pollution that happened because vscode used to be both, a declare module and a global namespace
2016-10-19 11:43:56 +02:00
Johannes Rieken
6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00
Benjamin Pasero
96f11177eb push ITextFileService to be a workbench service (fixes #6429) 2016-10-05 15:19:18 +02:00
Johannes Rieken
e986a2b093 add TextDocumentWillSaveEvent#reason, #239 2016-09-26 17:33:41 +02:00
Johannes Rieken
9f75564814 add an overall timeout to onWillSaveTextDocument, #239 2016-09-26 09:56:49 +02:00
Johannes Rieken
94d8b210e4 ignore listeners that failed (error, timeout) more than n times, #239 2016-09-23 12:22:09 +02:00
Johannes Rieken
cb19176a04 add watch dog, bubble errors a little, #239 2016-09-22 17:56:05 +02:00
Johannes Rieken
53ff2cf41d fire up extHostDocumentParticipant and vscode.d.ts, #239 2016-09-22 11:32:56 +02:00
Johannes Rieken
08b23250e1 wire ext host save participant to main thread save participant 2016-09-21 11:13:26 +02:00
Johannes Rieken
a4c9fed946 test for bad concurrent edits, test for subsequent good edits 2016-09-21 10:45:41 +02:00
Johannes Rieken
bb6556257f merge waitUntil and pushEdits 2016-09-21 09:59:20 +02:00
Johannes Rieken
ab64f8252d pushEdits and wire up workspace#applyEdits 2016-09-20 19:25:44 +02:00
Johannes Rieken
23fef6b12f add document to event 2016-09-20 16:46:41 +02:00
Johannes Rieken
13b1a8758d First cut of an ext host onWillSaveTextDocumentEvent 2016-09-20 16:32:37 +02:00