Commit Graph

56 Commits

Author SHA1 Message Date
Matt Bierner
d40fa4a27e Review uses of Promise.resolve(null)
Many `Promise.resolve(null)` should actually be `Promise.resolve(void 0)`. In other cases, we were missing a null return annotation.
2018-12-13 15:41:13 -08:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Joao Moreno
a8b004a30e fixes #62629 2018-12-03 15:15:37 +01:00
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
Joao Moreno
4e3f58f2f4 git: handle deleted conflicts
fixes #52787
2018-09-19 15:48:28 +02:00
Joao Moreno
68446d13d0 fixes #42909 2018-09-18 17:45:14 +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
Alex Dima
8b6281e362 Ensure unique decoration keys 2018-06-20 12:40:54 +02:00
Benjamin Pasero
2ec2cf597a API tweaks for grid editor (#51876)
* fix #51001

* add onDidChangeTextEditorViewColumn test that validates moving editor group

* adopt vscode.ViewColumn.Beside

* add vscode.setEditorLayout command
2018-06-14 17:17:39 +02:00
Benjamin Pasero
799f31b5ff fix #51358 2018-06-11 11:46:05 +02:00
Johannes Rieken
4e01f6daca workaround #51358 2018-06-07 18:07:41 +02:00
Benjamin Pasero
db3acf9e92 grid - add and use editorGroupToViewColumn 2018-05-22 11:07:08 +02:00
Benjamin Pasero
dbcf54ccb4 grid - enable smoke and integration tests again 2018-05-22 09:10:43 +02:00
Benjamin Pasero
2bfb2763fd grid - 💄 for viewcolumn conversion 2018-05-22 08:53:28 +02:00
Benjamin Pasero
249da81b04 grid - move EditorPosition to exthost 2018-05-20 14:09:00 +02:00
Benjamin Pasero
41d65ec213 grid - more rename of nexteditor => editor 2018-05-20 13:35:34 +02:00
Benjamin Pasero
743cf48bf6 grid - rename nexteditor => editor for imports 2018-05-20 13:25:17 +02:00
Benjamin Pasero
abe0207f0a grid - maintain ViewColumn API compatibility (webview) 2018-05-20 13:13:59 +02:00
Benjamin Pasero
dd5afa5bcc grid - maintain ViewColumn API compatibility 2018-05-20 12:04:53 +02:00
Benjamin Pasero
d2baa66bd9 grid - let IEditor.group be INextEditorGroup 2018-05-18 08:55:57 +02:00
Benjamin Pasero
01bf9616e4 grid - towards GroupIdentifier over Position in IEditor 2018-05-13 08:21:30 +02:00
Johannes Rieken
727774d6bc debt - make bulkEdit a service so that we can add create/delete/rename file to it 2018-04-30 12:30:24 +02:00
Alex Dima
6aadb1ad40 Send text editor properties updates in a single event 2018-02-26 16:51:57 +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
Matt Bierner
ae15d09cbc Mark injected service properties as readonly 2018-02-15 10:38:37 -08:00
Johannes Rieken
dc31fa213b support interleaving file and text changes, basically rewrite bulk edit... 2018-01-19 17:54:54 +01:00
Matt Bierner
e932b8ad9c Add rename/create/delete file to workspaced edit
Fixes #10659

Allows workspace edits to also change files in the workspace
2018-01-12 14:07:24 -08: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
Johannes Rieken
cd4b141302 debt - less TPromise<any> in extHost.protocol 2017-12-15 12:10:23 +01:00
Alex Dima
7f71248784 Fix integration tests 2017-12-13 17:51:10 +01:00
Alex Dima
1ec2438d57 Remove usage of CustomMarshaller for MainThreadEditors (#40169) 2017-12-13 17:01:24 +01:00
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +01:00
Johannes Rieken
56992696b1 debt - remove unused telemetry 2017-11-23 18:09:01 +01:00
Alex Dima
139a4a237c Reduce usage of ICommonCodeEditor (#37834) 2017-11-10 20:47:29 +01:00
Alex Dima
e499dc62b5 Reduce usages of ICommonCodeEditor (#37834) 2017-11-10 10:08:39 +01:00
Alex Dima
aa14fc5914 Bring ICodeEditorService to /browser/ (#37834) 2017-11-09 12:29:14 +01:00
Benjamin Pasero
02b9fb1fd9 onEditorsMoved => onEditorGroupMoved 2017-10-24 15:38:18 +02:00
Alex Dima
324650128e Add fast path for vscode.TextEditor.setDecorations 2017-10-16 22:48:45 +02:00
Johannes Rieken
12439dfbb6 debt - remove obsolete URI casts 2017-10-11 13:01:10 +02:00
kieferrm
08d8f0f9f6 indentation changes 2017-09-25 18:36:43 -07:00
kieferrm
fbb3e25987 omit endPoint where it defaults to none 2017-09-25 18:36:43 -07:00
kieferrm
ff3c64855c more GDPR classification 2017-09-25 18:36:43 -07:00
Alex Dima
683a46efba Fixes #34004: Remove decoration types registered by the extension host when it is terminated 2017-09-25 18:23:29 +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
Johannes Rieken
b8e8c435cc ignore dispose-errors, fixes #30578 2017-08-16 12:00:51 +02:00
Johannes Rieken
96419c25c2 Revert "Reduce logging (fixes #30578)"
This reverts commit a6927d6020.
2017-08-16 11:29:06 +02:00