Commit Graph

700 Commits

Author SHA1 Message Date
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
Benjamin Pasero 7c483ab854 polish 2016-06-06 07:32:06 +02:00
Johannes Rieken 3d5e058652 support only custom title of preview pane, #2351 2016-06-03 10:44:31 +02:00
Johannes Rieken 68d19ce0ab use title in API test, #2351 2016-06-03 08:58:13 +02:00
Johannes Rieken 45a797bec1 check for input box options, fixes #7013 2016-05-30 10:54:15 +02:00
Benjamin Pasero 6b0f18a91f Merge branch 'master' into ben/stacks 2016-05-21 08:06:12 +02:00
Benjamin Pasero d8412d0a5a fix tests? 2016-05-19 16:33:48 +02:00
Johannes Rieken d37a76dc92 allow empty string as valid document content, fixes #6526 2016-05-19 12:45:42 +02:00
Johannes Rieken d8f6ac3501 add new api command to compare two resources, fixes #1865 2016-05-17 16:22:05 +02:00
Johannes Rieken 4458bdf5c0 merge tuples of equal Uri, #6373 2016-05-17 11:22:28 +02:00
Alex Dima 8cd47bb55e Fixes #6281: Do not truncate line number, column in position 2016-05-13 15:09:57 +02:00
Alex Dima b02c4facaf Fixes #5362: MainThreadTextEditor: disassociate code editor as soon as code editor's model changes 2016-04-28 17:15:09 +02:00
Johannes Rieken c0b4331de1 use untitled scheme without the risk of a long authority, #5949 2016-04-28 16:42:01 +02:00
Johannes Rieken 5e7f6d8c92 expose appName in env, fixes #5297 2016-04-25 12:03:50 +02:00
Benjamin Pasero 8e0ebc3a21 fix test for #5649 2016-04-24 10:24:29 +02:00
Johannes Rieken 3fc5204134 ops, bad json 2016-04-23 19:17:13 +02:00