Benjamin Pasero
2ec2cf597a
API tweaks for grid editor ( #51876 )
...
* fix #51001
* add onDidChangeTextEditorViewColumn test that validates moving editor group
* adopt vscode.ViewColumn.Beside
* add vscode.setEditorLayout command
2018-06-14 17:17:39 +02:00
Johannes Rieken
cecfdcde22
update proposed API to DocumentSymbol-type, #34968
2018-06-12 12:47:27 +02:00
Johannes Rieken
7fa40d8a12
internally talk about DocumentSymbols and WorkspaceSymbols. #34968
2018-06-12 12:47:26 +02:00
Dirk Baeumer
86feb84737
Make variable resolving for tasks async
2018-05-28 08:57:13 +02:00
Johannes Rieken
4e46d2a1bb
type converters, use namespace for DocumentHighlight
2018-05-04 18:49:40 +02:00
Johannes Rieken
781520cbe1
type converters, use namespace for Hover
2018-05-04 18:49:40 +02:00
Johannes Rieken
9f6053242f
type converters, use namespace for Position
2018-05-04 18:49:39 +02:00
Johannes Rieken
dfb070c277
type converter, use namespace for Range
2018-05-04 18:49:39 +02:00
Johannes Rieken
6b4f88991b
experiment with internal hierarchical model, #34968
2018-05-04 18:49:39 +02:00
Alex Dima
97f7c24b2e
Debt: Reduce implicit any
2018-05-02 12:44:19 +02:00
Alex Dima
d5297fcad4
Fixes #47490 : Maintain compatibility for API commands that can be serialized as markdown links
2018-04-23 15:52:37 +02:00
Dirk Baeumer
bcfb7d4f16
Fixes 47563: Provide an API to fetch running task executions
2018-04-20 11:53:41 +02:00
Johannes Rieken
a8839f858e
add an arg to resolve code lenses, #44846
2018-04-19 16:30:36 +02:00
Johannes Rieken
8973bea2ed
allow to resolve completion items via an argument, #44846
2018-04-13 14:52:23 +02:00
Greg Van Liew
7a4769ae94
Fix typos in vscode.previewHtml
2018-04-11 21:32:18 -07:00
Martin Aeschlimann
84318e5892
There should be an API command to execute the color provider like we have for code complete and others. Fixes #45867
2018-03-26 23:30:36 +02:00
Alex Dima
99b5cb6c9c
Avoid registering api commands on the renderer
2018-03-21 12:26:00 +01:00
Dirk Baeumer
2f5061ff2d
Implements #45664 : Add API to query and execute tasks
2018-03-20 22:19:40 +01:00
Dirk Baeumer
fc7051a897
Cleaner API to query tasks
2018-03-16 11:55:18 +01:00
Dirk Baeumer
a4cf2abe7e
First cut of #45664 : Add API to query and execute tasks
2018-03-15 18:02:04 +01:00
Matt Bierner
1ec4b811be
Adding vscode.executeTypeDefinitionProvider command
...
Fixes #45652
2018-03-13 10:39:44 -07:00
Matt Bierner
834e14309e
Extract duplicated mapping code
2018-03-13 10:39:44 -07:00
Johannes Rieken
18b94d09a6
fix #45124
2018-03-06 11:39:27 +01:00
Benjamin Pasero
648c46deee
API: clarify that vscode.openFolder also works with workspace files
2018-01-31 10:53:00 +01:00
Johannes Rieken
0f2cc682a0
Merge branch 'master' into rename-workspaceedit-proto
2018-01-23 17:19:06 +01:00
Matt Bierner
6316a4d0c8
Take kind instead of edit in CodeAction ctor
...
Changes the `CodeAction` constructor to take a kind instead of an edit. This makes the API more consistent IMO, as now both `edit` and `command` are set the same way
2018-01-22 11:59:17 -08:00
Matt Bierner
eccf728e64
CodeActionScope ( #41782 )
...
* Add CodeActionScope
* Replace matches with contains, try using in ts extension
* Move filtering to getCodeActions
* Basic test
* Docs
* Fix tests
* Hooking up requested scope
* Add basic test for requestedScope
* Added auto apply logic
* Gate refactor provider to only compute refactorings when requested
* Making suggested renames
* Clean up code action trigger impl to use single Trrigger info object
* Rename codeActionScope file and internal CodeActionScope class
* Add quick fix base type
* Make keybinding API more similar to insertSnippet
Take args as an object instead of as an array of values
* Clean up docs
* scope -> kind
* Fixing examples to match Refactor kind
2018-01-22 11:45:22 -08:00
Johannes Rieken
abb5354943
Merge branch 'master' into rename-workspaceedit-proto
2018-01-22 10:35:30 +01:00
Johannes Rieken
dc31fa213b
support interleaving file and text changes, basically rewrite bulk edit...
2018-01-19 17:54:54 +01:00
Benjamin Pasero
3b4fa88743
add vscode.removeFromRecentlyOpened command ( fixes #41391 )
2018-01-12 10:47:58 +01:00
Matt Bierner
e8c76c4617
Fix inconsistent code action edit property names
...
**Bug**
We were using `edits` in some places and `edit` in others. This broke some use patterns for code actions
2018-01-04 11:46:52 -08:00
Alex Dima
54e7055c12
Rename IModel to ITextModel
2018-01-04 16:44:40 +02:00
Alex Dima
0721df783d
Extract model types out of editorCommon.ts
2018-01-04 16:27:58 +02:00
Johannes Rieken
5f51de4851
Let the internal API only talk CodeAction, #34664
2017-11-24 10:51:27 +01:00
Joao Moreno
d2016c4ad0
Merge branch 'master' into fix/33739
2017-11-08 12:27:48 +01:00
isidor
409d89c60b
remove vscode.startDebug
2017-10-02 16:59:28 +02:00
Benjamin Pasero
2a936541cb
Can no longer open image files from the git viewlet ( fixes #33739 )
2017-09-05 18:18:49 +02:00
Andre Weinand
56cfb2754a
promote 'startDebugging' and remove 'startDebugSession' from debug API
2017-07-25 21:52:42 +02:00
Benjamin Pasero
955e4b8c06
Add showTextDocument(uri|file)
2017-07-17 07:54:23 +02:00
Johannes Rieken
38f0dea2b6
fix #29469 , remove unsued code
2017-07-11 17:54:42 +02:00
Benjamin Pasero
f381ce961d
Add API to open a file or diff editor on a specific selection range ( fixes #30241 )
2017-07-07 12:20:34 +02:00
Eric Amodio
4f50b29e92
Addresses #26184 - use configuration for pinned default ( #27357 )
...
* Addresses #26184 - use configuration for pinned default
* Honors the preview editor setting above all
* Removes passing undefined to pinned internally
re: requested code review changes
* Removes unnecessary undefined
* feedback
2017-07-06 08:12:39 +02:00
Felix Becker
dbe0f89264
Always reject Promises with Error instances
2017-06-26 15:24:41 +02:00
Matt Bierner
d21dd1269e
Adding options to disable svgs in webviews
2017-06-25 17:09:55 -07:00
Benjamin Pasero
27f6898c26
renames
2017-06-20 09:24:18 +02:00
Alex Dima
b3c009ba19
More layering clean-up
2017-06-19 12:10:43 +02:00
Johannes Rieken
b3f9d8a283
move codelense to /browser/-layer
2017-06-16 16:23:31 +02:00
Johannes Rieken
936104d88a
rename TextDocumentShowOptions#column to TextDocumentShowOptions#viewColumn
2017-04-25 17:28:32 +02:00
Johannes Rieken
9f01642853
align vscode.diff options with API
2017-04-25 17:26:12 +02:00
Matt Bierner
6147b54439
Fix TS 2.3.1 Compiler Errors in VSCode src/workbench ( #25249 )
...
TS 2.3.1 introduced a breaking change by [switching to covariant types for callbacks](https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#covariance-in-callback-parameters ). This change tries to fix these compiler errors in the workbench codebase
2017-04-25 08:20:25 -07:00