Joel Day
c21734fd30
Snippet insertion extension API changes
...
- Basing snippet insertion failure on a new `_codeEditor` null-check.
- Now returns `Thenable<boolean>`.
- Removed vscode.proposed.d.ts copy of the `TextEditor` change.
- Removing empty options interface.
2017-01-18 10:13:56 -08:00
Joel Day
95fc03271c
TextEditor.edit snippet overload now returns void. No longer preventing when already in snippet mode.
2017-01-17 23:25:40 -08:00
Joel Day
3c817c7fe2
Insert snippet API changes.
2017-01-17 16:09:15 -08:00
Joel Day
8a3039245e
Merge master.
2017-01-17 13:18:41 -08:00
Johannes Rieken
118b3e0d5a
debt - use Map instead of object
2016-12-30 15:37:12 +01:00
Joel Day
40522e28f8
TextEditor.insertSnippet extension API.
...
More robust type validation on ext side of insertSnippet.
Position/range check for snippet insertion was inverted.
Adding insertSnippet to vscode.d.ts. (Should it be in vscode.proposed.d.ts?)
Adding extension API tests for insertSnippet.
2016-12-20 14:33:37 -08:00
Joel Day
75840d1f74
Fix hygiene error.
2016-12-16 00:52:18 -08:00
Joel Day
38a3a1a239
Adding insertSnippet to TextEditor extension API.
2016-12-16 00:50:35 -08:00
Alex Dima
19291ef2c1
Fixes #16573 : Ensure textEditor.options always contains all properties
2016-12-07 14:16:08 +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
3ac84ba23e
add new event onDidChangeVisibleTextEditors, #643
2016-10-13 10:29:03 +02:00
Johannes Rieken
6681a2a7d6
tsfmt - src
2016-10-08 09:53:13 +02:00
Johannes Rieken
35540a82a4
simpler, but less clean fix for #12111
2016-09-29 16:07:38 +02:00
Johannes Rieken
2a388da352
Revert "gutterIconPath is string or Uri, #12111 "
...
This reverts commit 2d1c94ab08 .
2016-09-29 16:07:38 +02:00
Johannes Rieken
2d1c94ab08
gutterIconPath is string or Uri, #12111
2016-09-29 09:56:17 +02:00
Johannes Rieken
c4f793759a
baby steps, #12111
2016-09-29 09:56:17 +02:00
Alex Dima
55741c8c6e
Fix TS adoption issues
2016-09-23 15:53:56 +03:00
Dirk Baeumer
963d1a5c94
First set of TS 2.0 adoption work
2016-09-21 15:21:05 +02:00
Alex Dima
05e9b96033
Fixes #8096 : Add options to TextEditor.edit that allows to control the undo/redo behaviour around the edit
2016-08-26 17:03:05 +02:00
Johannes Rieken
ed26ad524e
add TextEditorSelectionChangeKind when emitting selection change event, #8093
2016-08-12 12:23:46 +02:00
Johannes Rieken
16926be391
mirror 'source' when cursor changes, #8093
2016-07-14 12:34:51 +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
Martin Aeschlimann
1a1c98141c
Merge branch 'master' into aeschli/decoration-attachments
2016-06-03 11:41:07 +02:00
Benjamin Pasero
26caa26382
move editor events over to group service
2016-06-03 09:55:22 +02:00
Benjamin Pasero
f2987ae9fc
move editor moved event to group service
2016-06-03 09:41:49 +02:00
Martin Aeschlimann
c989011128
Add befor/after decorations
2016-06-03 08:48:28 +02:00
Benjamin Pasero
7658d10631
introduce and use editor move event
2016-06-01 15:51:12 +02:00
Benjamin Pasero
e231f3fa2f
real event for editor change in part
2016-06-01 13:01:08 +02:00
Benjamin Pasero
9d34e3bf05
Merge branch 'master' into ben/stacks
2016-05-23 19:14:36 +02:00
Johannes Rieken
8a5a178530
remove duplicated error utils
2016-05-23 15:50:46 +02:00
Johannes Rieken
4b999b2e87
💄 use id generator
2016-05-23 15:50:46 +02:00
Benjamin Pasero
6b0f18a91f
Merge branch 'master' into ben/stacks
2016-05-21 08:06:12 +02:00
Alex Dima
e9b3e0ae92
Rename model.getAssociatedResource() to model.uri
2016-05-20 12:18:10 +02:00
Benjamin Pasero
f4546f48b1
IEditorService.closeEditor(position, input)
2016-05-12 15:22:11 +02:00
Johannes Rieken
78dcfe10d8
make sure that the falsy value for the activeTextEditor is undefined, #5022
2016-04-06 17:43:07 +02:00
Joao Moreno
3040249c7c
Merge branch 'lifecycle'
2016-03-31 09:30:23 +02:00
Johannes Rieken
0edca427db
fwd error when document cannot be opened, fixes #4577
2016-03-24 12:09:58 +01:00
Joao Moreno
68f4d1eb60
streamline lifecycle methods
2016-03-23 10:06:12 +00:00
Alex Dima
45906d91e4
Add ability to change a document's EOL
2016-03-09 10:50:18 +01:00
Alex Dima
1236d844fd
First cut at indentation options living in the model
2016-03-08 21:28:56 +01:00
Alex Dima
a3bdfe7ede
More plugin -> extension
2016-03-01 18:54:44 +01:00
Alex Dima
533844ab8d
More plugin -> extension
2016-03-01 18:54:42 +01:00
Alex Dima
2a15ad9dfb
Further clarification in TextEditorOptions #2797
2016-02-19 17:34:53 +01:00
Johannes Rieken
ef6641c09b
wait for 1sec for editors to be synchronized, #2217
2016-01-25 11:09:34 +01:00