Commit Graph

619 Commits

Author SHA1 Message Date
Sandeep Somavarapu
d9e9be8b0d Implement #30288 2018-02-23 18:04:35 +01:00
Alex Dima
8bfa7ffd2e Move IExtensionService up to /workbench/ (fixes #44281) 2018-02-23 17:38:24 +01:00
Julien Roncaglia
03caa411b5 Allow extensions to specify custom tree view resoure type
The FileKind was previously guessed from the collapsability of the item,
extensions now have the capability to set it manually.

Fixes #43216
2018-02-23 13:38:37 +01:00
Martin Aeschlimann
0faa5d117c folding provider: first version 2018-02-22 14:13:22 +01:00
Andre Weinand
5d65365136 make breakpoints API final; fixes #43492 2018-02-20 16:40:45 +01:00
Matt Bierner
e1f33fbb07 Rename ext host / main thread editor to textEditor
Rename to make it more clear that these APIs are for `vscode.TextEditor`
2018-02-15 15:32:16 -08:00
Matt Bierner
3412eab2ec Webview Api Prototype (#42690)
* Webview api

* Cleaning up markdown webview

* Hooking up dispose

* Fix some merge errors

* Use custom context key to show markdown title bar contributions

* Add basic on focus and on blur events

* Fixing find widget in webview

* Hookup _isDisposed

* Use new extension resource scheme to load markdown extension resources

* Documenting keep alive
2018-02-14 18:52:26 -08:00
Joao Moreno
b543a60cff Merge branch 'scm-input-validation-provider' 2018-01-30 19:37:49 +01:00
Andre Weinand
81142e2cb5 support for debugAdapterExecutable; fixes #33801 2018-01-29 14:27:48 +01:00
Johannes Rieken
609bcbf2b4 make resolveInitialRenameValue be proposed api 2018-01-26 18:02:27 +01:00
Joao Moreno
888f74495d lineWarningLength -> validationProvider 2018-01-26 16:43:53 +01:00
Benjamin Pasero
36ff08f1ec more fixes for multi root API 2018-01-26 15:09:04 +01:00
Benjamin Pasero
7b29aa6a1d Merge branch 'master' into ben/workspace-api 2018-01-26 08:09:31 +01:00
Andre Weinand
eba681fed8 debug API to create/remove breakpoints; fixes #42173 2018-01-26 01:09:30 +01:00
Benjamin Pasero
d35e6e3f49 Merge branch 'master' into ben/workspace-api 2018-01-24 13:25:06 +01:00
Sandeep Somavarapu
c9b291978c #39574 Implement log level transmission to extension host 2018-01-23 19:31:12 +01:00
Benjamin Pasero
3660fb83e8 address some feedback 2018-01-23 16:27:59 +01:00
Benjamin Pasero
c9cc93cbc1 Merge branch 'master' into ben/workspace-api 2018-01-23 11:00:47 +01: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
Benjamin Pasero
f963973eef first cut of proposed updateWorkspaceFolders API 2018-01-22 12:45:11 +01:00
Johannes Rieken
c0278341ed link detection for remote file systems, #41482 2018-01-15 17:36:00 -08:00
Johannes Rieken
97a199d02c wire up types, #36946 2018-01-15 11:12:00 -08:00
Johannes Rieken
4df995c240 remote - manage some todos 2018-01-12 16:46:41 -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
Alex Dima
07ac57204a Adopt new TestRPCProtocol; renames 2017-12-18 12:23:48 +01:00
Rob Lourens
aa6e38762d Fix #40275 - check enableProposedApi flag for logger API 2017-12-15 11:01:31 -08:00
Rob Lourens
f877135846 Merge branch 'master' into roblou/extHostLogger2 2017-12-13 14:21:08 -08:00
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +01:00
Alex Dima
0abd821277 Further simplifications (#36972) 2017-12-13 15:36:47 +01:00
Alex Dima
252d49c65b Simplify AbstractThreadService usage (#36972) 2017-12-13 15:21:33 +01:00
Rob Lourens
b3fde70cb4 Move extension logger to extension context 2017-12-12 19:23:24 -08:00
Rob Lourens
daa3a0ec2e Add ExtHostLogService with logger and lazily created log folder per extension 2017-12-12 19:07:41 -08:00
Johannes Rieken
eef38a2e15 log failures of on-will-save-listener, #40030 2017-12-12 10:28:55 +01:00
Johannes Rieken
43f2e0706c know the extension id when calling on-will-save, #40030 2017-12-11 17:55:42 +01:00
Alex Dima
dc6451db42 Fixes #40024 2017-12-11 15:50:43 +01:00
Andre Weinand
c70c818503 use classes for breakpoints API; fixes #39639 2017-12-07 00:31:06 +01:00
Joao Moreno
4ecad4714f fixes #39806 2017-12-06 17:34:11 +01:00
Joao Moreno
857ab9d59d use global log service 2017-12-04 12:08:04 +01:00
Andre Weinand
f07f5d3873 add first cut of proposed breakpoints API; fixes #23188 2017-12-02 00:24:59 +01:00
Johannes Rieken
a47be8c8c1 enable proposed api usage via product.json 2017-12-01 10:35:58 +01:00
Alex Dima
4178699625 Merge remote-tracking branch 'origin/master' into runtime-extensions 2017-11-30 16:13:53 +01:00
Alex Dima
e05a406722 Only warn once about workspace.rootPath 2017-11-30 10:08:14 +01:00
Joao Moreno
4e78a42abf log ext host commands, ext hsot scm 2017-11-29 15:38:01 +01:00
Alex Dima
e0f7df5cfa Render messages 2017-11-28 17:53:18 +01:00
Alex Dima
93469a7941 Have an activation reason 2017-11-28 17:05:35 +01:00
Benjamin Pasero
6ba17b2e50 findFiles broken in Insiders? (fixes #39158) 2017-11-27 11:41:43 +01:00
Andre Weinand
0688b0543e rename console to activeDebugConsole; fixes #37279 2017-11-21 18:13:22 +01:00
Benjamin Pasero
a8769e7835 debt - change glob to not require paths.relative anymore 2017-11-21 15:58:31 +01:00
Matt Bierner
be88547c66 Prototyping new CodeAction API (#36316)
* Add CodeAction Type

Adds skeleton on a new CodeActionType and allows codeActionProvider to return either `Command`s or `CodeAction`s

Move proposed CodeAction API to proposed and try using it in TS

Split CodeAction into quickfix and refactoring classes

Update proposed interface

Update for new API

Adding basic docs

* Support workspace edits and text edits in codeactions

* Remove placeholders

* Resolving conflicts and making PR suggested changes

* Fix quick fix test

* Revert change to only use `CodeAction` instead of `CodeAction | Command` in modes since this will break `vscode.executeCodeActionProvider`
2017-11-08 16:07:34 -08:00