Commit Graph

115 Commits

Author SHA1 Message Date
Matt Bierner
8dad2594ce Remove a few more extension d.ts files that are not needed 2017-02-01 17:53:47 -08:00
Matt Bierner
cda3584a99 Use @types/node in extensions (#19692)
Switches builtin extensions to use @types/node for node definitions. Fixes a few errors that show up as a result of updating to a more modern version of node.d.ts
2017-02-01 15:20:17 -08:00
Matt Bierner
7c633148b3 Remove unneeded d.ts files from extensions (#19653)
* Remove unneeded d.ts files from extensions

Moves most extensions to use the lib files for the standard library that typescript provides.

* Remove a few more node.d.ts references
2017-02-01 12:34:50 -08: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
Johannes Rieken
b4817e5884 Merge pull request #17628 from joelday/master
Adding an overload to TextEditor.edit for insertion of a SnippetString
2017-01-20 10:52:33 +01:00
Johannes Rieken
133db393db don't double install vscode.d.ts 2017-01-20 10:50:18 +01:00
Johannes Rieken
c8adfcc3f9 api tests should require vscode.d.ts from source 2017-01-20 09:53:51 +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
Benjamin Pasero
8b7756063b Open new file buffer via API 2017-01-18 19:13:26 +01: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
8a3039245e Merge master. 2017-01-17 13:18:41 -08:00
Benjamin Pasero
f9ce2e16fc fix compile errors 2017-01-09 18:13:23 +01:00
Joel Day
a41b017b28 Temporarily referencing vscode.proposed.d.ts for API tests. 2016-12-20 15:40:07 -08:00
Joel Day
9c42a68dc0 Merge branch 'master' of https://github.com/Microsoft/vscode 2016-12-20 14:35:38 -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
Benjamin Pasero
3cefffccfc Get rid of IEventService in favour of real events (#17515) 2016-12-19 09:37:10 +01:00
Alex Dima
19291ef2c1 Fixes #16573: Ensure textEditor.options always contains all properties 2016-12-07 14:16:08 +01:00
Johannes Rieken
7b12aeb422 config-editing, api-test use strictNull-checks, #6907 2016-11-23 12:12:31 +01:00
Daniel Imms
c8fc3e418e Clean up terminal api tests 2016-10-22 04:40:16 -07:00
Daniel Imms
611ed75a9b Remove wait loop in extHostTerminalService
Fixes #12434
2016-10-22 04:30:45 -07:00
Johannes Rieken
093cd8b2a3 enable integration tests again, cleanup a little of the ///-reference mess, #14059 2016-10-20 12:04:01 +02:00
Johannes Rieken
404effdd98 don't use engine-vscode: * with an old version of vscode-module, fixes #14059 2016-10-20 11:18:10 +02: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
c18db474ba clean-up util using new event, #643 2016-10-13 10:29:03 +02:00
Johannes Rieken
5f0ba23b69 add simple test for onDidChangeVisibleTextEditors, #643 2016-10-13 10:29:03 +02:00
Johannes Rieken
196c630451 tsfmt - extensions/vscode-api-tests 2016-10-08 09:41:37 +02:00
Johannes Rieken
3650ea4238 register/execute, #12337 2016-09-21 10:14:58 +02:00
Johannes Rieken
203055c6da make sure to return initial value, #11503 2016-09-19 16:28:15 +02:00
Daniel Imms
5094cf079e Add test for onDidCloseTerminal
Part of #10925
2016-09-15 12:17:39 -07:00
Johannes Rieken
f5a0ea60c8 WinJS.Promise#as is not what you think it is, use wrap instead - fixes #11754 2016-09-09 16:30:50 +02:00
Daniel Imms
b1174ea3d4 Fix tests from terminal API revert 2016-09-01 14:25:07 -07:00
Daniel Imms
d0ec4e6a6a Fix terminal API tests 2016-08-31 12:42:32 -07:00
Johannes Rieken
182764c361 disconnect token on promise resolve/reject, cancel picker on next picker, fixes #11172 2016-08-31 09:12:28 +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
Daniel Imms
1e151dd85c Add some terminal API tests
Fixes #11132
2016-08-29 14:57:34 -07:00
Johannes Rieken
e3219411b7 don't test for the number of methods... 2016-08-29 11:30:18 +02:00
Johannes Rieken
45f1593479 adjust test for new member, #1396 2016-08-25 15:36:56 +02:00
Johannes Rieken
e3c810ec52 test for index-access style, make object immutable, #1396 2016-08-25 12:11:27 +02:00
Johannes Rieken
9cb04a03c8 tests for undefined vs '', #10640 2016-08-18 21:57:26 +02:00
Johannes Rieken
a8a920e2fc don't push code without tests... #8093 2016-08-12 12:32:15 +02:00
Johannes Rieken
ff061902a7 add cancellation support for showInput and showQuickPick, #9377 2016-08-08 15:51:06 +02:00
Johannes Rieken
903ee61b39 debt - move diagnostics tests 2016-08-02 10:47:36 +02:00
Alex Dima
5d218261e8 Fixes #8379: validate column argument of vscode.previewHtml 2016-06-28 16:21:30 +02:00
Johannes Rieken
a941b59fe9 add 'vscode.open' API command, fixes #566 2016-06-27 15:33:17 +02:00
Johannes Rieken
d681654ac9 more test to cement current behaviour, #1396 2016-06-08 13:38:07 +02:00
Johannes Rieken
e8ddfed2cc getConfiguration should not crash when section denotes a value, #1396 2016-06-08 11:56:30 +02:00
Benjamin Pasero
dcd7c87af5 improve revert logic for untitled (also dispose untitled input after save) 2016-06-06 16:20:16 +02:00