Commit graph

139 commits

Author SHA1 Message Date
Johannes Rieken
350be19085 enable valid test, #25539 2017-04-27 14:24:21 +02:00
Johannes Rieken
13b11919c6 use correct uri manipulation, #25539 2017-04-27 14:17:12 +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
45378eb8d8 Merge pull request #22303 from Microsoft/joh/eol
TextDocument#eol
2017-03-27 12:08:42 +02:00
Daniel Imms
dad0c821d4 Don't run 'test' in the terminal integration test 2017-03-24 14:59:48 -07:00
Daniel Imms
1fa2d91f8c Add integration test 2017-03-24 14:56:49 -07:00
Johannes Rieken
1849ad23a7 add TextEdit#newEol, adopt for workspace edit and onWillSave-event 2017-03-24 16:13:58 +01:00
Johannes Rieken
7d0805e00f Revert "adding TextDocument#isVisible and internals for a visbility change event, #15723"
This reverts commit a6a41fd6c3.
2017-03-24 12:26:51 +01:00
Johannes Rieken
a6a41fd6c3 adding TextDocument#isVisible and internals for a visbility change event, #15723 2017-03-23 11:21:16 +01:00
Johannes Rieken
e0bbbb8653 add some tests 2017-03-21 09:48:37 +01:00
Johannes Rieken
cb7e5a2703 tslint 2017-03-13 13:49:45 +01:00
Johannes Rieken
b86a54e757 fix #22453 2017-03-13 13:49:22 +01:00
Cody Hoover
ee4473f1ef Follow up to PR #22021 to respond to feedback 2017-03-07 21:36:15 +01:00
Johannes Rieken
890ffa4072 adopt api-tests to new match logic, #21886 2017-03-07 17:29:21 +01:00
Cody Hoover
503f8f516e Add ability to open untitled document with initial content (#22021) 2017-03-07 07:43:21 +01:00
Johannes Rieken
1239cebb70 Merge branch 'joh/editors' 2017-03-06 12:40:47 +01:00
Sandeep Somavarapu
b68f3b2f38 #19733 Default configurations
- Define a new extension point `configurationDefaults` for contributing default language specific editor settings
2017-02-09 00:23:00 +01:00
Matt Bierner
7f8173680f Use @types a few more places (#20159) 2017-02-07 18:16:19 -08:00
Matt Bierner
42335c57f5 Revert "Use types tsconfig option where possible"
This reverts commit 38fbba35ff.
2017-02-07 16:31:50 -08:00
Matt Bierner
38fbba35ff Use types tsconfig option where possible 2017-02-07 15:57:22 -08:00
Matt Bierner
1a024c1b19 Use reference @types/node in extensions 2017-02-07 15:38:04 -08:00
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