Commit Graph

93 Commits

Author SHA1 Message Date
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
Eric Amodio
f47a862c1c Adds editor options overload to vscode.diff 2017-04-25 08:45:47 -04:00
Greg Van Liew
2a46891ce7 Porting a couple of community complex command fixes 2017-04-10 18:10:25 -07:00
Johannes Rieken
2d05792d35 also add EnumMember and Struct to SymbolKind, #2628 2017-03-23 13:10:34 +01:00
Matt Bierner
c08ed01dc7 Move html preview commands docs to vscode docs repo
Follow up on: https://github.com/Microsoft/vscode-docs/pull/896

Removes the extended documentation for the html preview since this now lives in the vscode docs
2017-03-21 18:33:34 -07:00
Matt Bierner
406014ae97 Adding explicit returns 2017-02-01 17:06:13 -08:00
Matt Bierner
57e77e4171 rename (#19282) 2017-01-24 13:32:35 -08:00
Matt Bierner
20f3a9f11b Rename TypeDefinitionProvider to TypeImplementationProvider (#19101)
* Rename TypeDefinitionProvider to TypeImeplementationProvider

**bug**
In #18346, I originally called the new go to implementation provider api `ImplementationProvider` which we then decided to rename to `TypeDefinitionProvider`. At the time, I didn't realize that a type definition was actually its own, unrelated concept.

**Fix**
Rename `TypeDefinitionProvider` to `TypeImplementationProvider` to make it clear what the purpose and use of this api is.

* Fix a few names in comments
2017-01-23 16:25:37 -08:00
Matt Bierner
9d611d4dfd Add Go To Implementation Api (#18346)
* Add Go To Implementation Api

For #10806

Adds a new API for supporting  `go to implementation` command for languages. Implements an example for TS

* Rename

* Cleanup
2017-01-12 12:16:48 -08:00
Joao Moreno
ae63b19547 ipc: remove vscode:windowOpen, _workbench.ipc
#10587
2016-11-03 11:18:33 +01:00
Joao Moreno
954b1aa4bc add _files.openFolderPicker command 2016-11-02 12:36:57 +01:00
Johannes Rieken
fbacd65e2a debt - no guessing-caching, better use of gc-signals, command converter using gc-signals, main side heap service 2016-10-21 18:54:48 +02:00