Commit Graph

1577 Commits

Author SHA1 Message Date
Andre Weinand
d907469a09 export ExtHostVariableResolverService 2018-04-19 18:39:42 +02:00
Andre Weinand
8574a05e0f support configResolver in EH 2018-04-19 18:29:51 +02:00
Johannes Rieken
a8839f858e add an arg to resolve code lenses, #44846 2018-04-19 16:30:36 +02:00
Johannes Rieken
1fdf60b882 add DeprecatedXYZ-aliases, #47475 2018-04-19 15:15:19 +02:00
Johannes Rieken
433006eb79 add (empty) option bags to provider function to be save for the future, #47475 2018-04-19 12:28:25 +02:00
Sandeep Somavarapu
c436e7735b Compute 'enableProposedApi' property on main 2018-04-19 11:46:25 +02:00
Johannes Rieken
3500eb8731 back to FileError, #47475 2018-04-19 11:41:14 +02:00
Matt Bierner
52a75ecf23 Use correct $name for onDidDisposeWebviewPanel event
Fixes #48127
2018-04-18 11:32:29 -07:00
Daniel Imms
1ffe882f1d Add proposed API checks for new terminal APIs 2018-04-18 11:29:18 -07:00
Matt Bierner
2fadb90198 Move TS/JS to use organize imports codeAction instead of command (#47850)
* Move TS/JS to use organize imports code action

Fixes #47845
Fixes #46647

- Defines a new standard `SourceOrganizeImports` `CodeActionKind` to be used to implement organize imports in a consistent way.
- Add a new `Organize imports` command and keybinding that executes these actions.
- Move over the existing js/ts organize imports command to use the new code action kind

* Use supportedCodeActions context key

* Document code action kind values

* Fix regular expression

Make sure we only match whole scopes and not `unicorn.source.organizeImports`
2018-04-18 10:51:33 -07:00
Martin Aeschlimann
45e859bfdc monaco folding api (for #47808) 2018-04-18 17:48:26 +02:00
Martin Aeschlimann
53dd6b096b make folding api public (for #47808) 2018-04-18 17:30:24 +02:00
Martin Aeschlimann
61591c8585 Merge pull request #48128 from Microsoft/aeschli/foldingAPI
incorperate folding api feedback
2018-04-18 17:16:35 +02:00
Johannes Rieken
5292f76fcd add (optional) copy function #47475 2018-04-18 16:23:40 +02:00
Martin Aeschlimann
a1bb202eb6 incorperate folding api feedback 2018-04-18 15:26:43 +02:00
Johannes Rieken
28d06555e8 be more strict when registering a provider, #47475 2018-04-18 12:22:18 +02:00
Alex Dima
101c8ed9e3 Add scheme transformer 2018-04-18 12:13:27 +02:00
Johannes Rieken
034b377306 first cut of explict watch, #47475 2018-04-18 12:06:16 +02:00
Johannes Rieken
c72b5532e2 add explicit function to register v1 file system provider, #47475 2018-04-18 12:06:16 +02:00
Matt Bierner
cdd9a731f9 Use standard 'postMessage' name 2018-04-17 16:22:44 -07:00
Matt Bierner
fbd3a08369 Pass Webview into ExtHostWebviewPanel instead of creating it inside the ctor 2018-04-17 16:20:27 -07:00
Matt Bierner
ea680fae1c Update to use more consistent WebviewPanel naming 2018-04-17 10:36:56 -07:00
Johannes Rieken
c8b4f0d05d move proposed search api logic into its own world, #47058 2018-04-17 18:38:26 +02:00
Johannes Rieken
7ba3b0cd2f add fwd link to doc-page, #21886 2018-04-17 14:24:11 +02:00
Johannes Rieken
6428c00286 move api to stable, #7340 2018-04-17 11:54:45 +02:00
Johannes Rieken
8c1e3a7b3c allow to return range or range and placeholder, #7340 2018-04-17 11:40:25 +02:00
Johannes Rieken
98c8026784 just have createDirectory, #47475 2018-04-17 11:07:53 +02:00
Matt Bierner
e4c975592b Webview panels start out as visible 2018-04-16 11:50:51 -07:00
Matt Bierner
71c09a6c4c weview -> webview 2018-04-16 11:50:51 -07:00
Matt Bierner
06c070690e Also fire webview dispose event when dispose is called 2018-04-16 11:50:51 -07:00
Andre Weinand
dfeffb55b6 properly register debug types 2018-04-15 22:40:01 +02:00
Johannes Rieken
8973bea2ed allow to resolve completion items via an argument, #44846 2018-04-13 14:52:23 +02:00
Johannes Rieken
d4bed9b32e add open flags to rename, #47475 2018-04-13 12:52:26 +02:00
Johannes Rieken
e7e88126ad add FileOpenFlags, FileErrors, and a bit of polish, #47475 2018-04-13 10:17:20 +02:00
Matt Bierner
4f880aaf59 Rename webview.viewColumn to the more generic webview.position 2018-04-12 14:25:55 -07:00
Matt Bierner
e16ec3c1ff Tweak WebviewPanelOnDidChangeViewStateEvent to only provide a webview panel
Expose a webview panel's view state as properties. Make WebviewPanelOnDidChangeViewStateEvent only fire an event with the webview who's state changed
2018-04-12 14:22:42 -07:00
Matt Bierner
23113a4443 Using consistent internal name 2018-04-12 14:22:42 -07:00
Greg Van Liew
c17139f9a1 Merge pull request #47714 from gregvanl/master
Update settings descriptions to match vscode-docs PR#1530
2018-04-12 14:16:30 -07:00
Matt Bierner
a2346c606d Rename WebviewEditor to WebviewPanel 2018-04-12 12:06:07 -07:00
Matt Bierner
5ff2ccfc28 CodeActionProvider.providedKinds (#47702)
Adds a new optional  `CodeActionProviderMetadata`.  This is passed in`registerCodeActionProvider` and contains a list of`CodeActionKinds` that the provider may return. The list is used for deciding when to show the `refactor` and `source action` context menus. It is not used for filtering the returned code actions

Possibly helps address #45383
2018-04-12 11:50:21 -07:00
Daniel Imms
52267c0ba3 Merge pull request #47678 from Microsoft/tyriar/api_terminals
Allow extensions to access all terminals
2018-04-12 09:25:40 -07:00
Johannes Rieken
3ed73f3363 print an info message when the extension your are developing is using a 'generic' document selector, #21886 2018-04-12 17:46:09 +02:00
Dirk Baeumer
2e9910fee0 Wrap task API into proposedApiFunction 2018-04-12 16:15:56 +02:00
Greg Van Liew
7a4769ae94 Fix typos in vscode.previewHtml 2018-04-11 21:32:18 -07:00
André Weinand
b578dc2bd1 support to launch debuggee from EH 2018-04-12 00:56:15 +02:00
Matt Bierner
556fa03cf3 Add source code action kind
Fixes #47621

Adds the concept of a source code action that applies to an entire file. Does not show these actions in the lightbulb menu by default
2018-04-11 15:34:33 -07:00
Matt Bierner
8cb7e80544 Split out Webview from WebviewEditor in proposed API (#47370)
* Split out `Webview` from `WebviewEditor` in API

**Problem**
The current proposed `Webview` interface has a few methods and properties that are very editor specific, such as `.reveal` and `.onDidChangeViewState`. These properies will not make sense if we ever allow webview to be displayed in other locations, such as in widgets

**Proposal**
Split the concepts of a `Webview` and of a `WebveiwEditor`. A webview is the html content itself. A `WebviewEditor` is an editor that displays a `Webview`

This would allow us to easily add other types of `Webview` owning objects in the future without having to document that some methods only apply when a webview is used as an editor vs as a widget
2018-04-11 11:49:02 -07:00
Daniel Imms
4f626cf21c Remove obsolete TODOs 2018-04-11 10:23:29 -07:00
Daniel Imms
27cd6f537e Allow processId and name access on disposed API Terminals 2018-04-11 10:21:32 -07:00
Johannes Rieken
5b003aeaee tweak file change event, #47475 2018-04-11 13:45:55 +02:00