Commit Graph

22 Commits

Author SHA1 Message Date
Johannes Rieken
85a0a67ce5 fix integration tests 2017-06-07 16:13:06 +02:00
Alex Dima
974f8aca31 Fixes #20757: Detect overlapping ranges in the extension host, no need to call into renderer process to find out the edits are illegal 2017-04-27 12:48:58 +02:00
Johannes Rieken
17d85451f1 fix #24457 2017-04-18 14:24:32 +02:00
Johannes Rieken
c354922c33 fix #24457 2017-04-13 15:15:17 +02:00
Benjamin Pasero
5ecf0cda9a Clean up some editor input debt and lifecycle issues (#24439) 2017-04-10 19:37:42 +02:00
Johannes Rieken
1239cebb70 Merge branch 'joh/editors' 2017-03-06 12:40:47 +01:00
Johannes Rieken
a2a077b088 optionally allow to specify selection at which to insert a snippet, #19116 2017-01-25 15:56:08 +01:00
Johannes Rieken
211d9ccdd8 explicit insertSnippet function instead of edit overload, #19116 2017-01-25 14:06:39 +01:00
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
713aaff9d8 Fix test selection range. 2017-01-17 22:42:25 -08:00
Joel Day
3c817c7fe2 Insert snippet API changes. 2017-01-17 16:09:15 -08: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
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
196c630451 tsfmt - extensions/vscode-api-tests 2016-10-08 09:41:37 +02:00
Alex Dima
e1b98c60f6 Fixes #11145: Write integration test for new option bag in TextEditor.edit 2016-08-30 17:37:25 +02:00
Benjamin Pasero
7c483ab854 polish 2016-06-06 07:32:06 +02:00
Alex Dima
8cd47bb55e Fixes #6281: Do not truncate line number, column in position 2016-05-13 15:09:57 +02:00
Benjamin Pasero
052a1dc8a0 api tests - more use of promises in mocha 2015-11-25 12:04:21 +01:00
Benjamin Pasero
e5d7c7a919 api tests: cleanup after test run 2015-11-25 10:29:02 +01:00
Benjamin Pasero
4ea2714df8 add more meaningful api tests 2015-11-25 08:44:13 +01:00