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
Johannes Rieken
1b33eb37d5
make readDirectory return string/stat-tuples, #47475
2018-04-11 12:38:39 +02:00
Dirk Baeumer
825d5f3f66
Fixes #47465 : Provide a method of matching TaskExecution objects
2018-04-10 12:58:00 +02:00
Johannes Rieken
7ac4385c1d
enums starting at 1, add more xyz2-types, #35449 #47475
2018-04-10 11:09:23 +02:00
Johannes Rieken
847f159b2a
naming, add cancellation tokens, #47475
2018-04-10 10:05:02 +02:00
Daniel Imms
e1b6a8c11f
Fix terminals showing up twice in new API
2018-04-09 11:41:05 -07:00
Daniel Imms
b1435c13f6
Add terminals
2018-04-09 10:28:38 -07:00
Daniel Imms
5d9d2d127f
Work in progress for exposing all terminals via API
2018-04-09 07:38:08 -07:00
Johannes Rieken
733f8f6c15
move -> rename, #47475
2018-04-09 13:55:23 +02:00
Johannes Rieken
2afd736754
more cancellation token, #47475
2018-04-09 12:28:26 +02:00
Johannes Rieken
efcca1c0d9
files,remote - more utimes removal
2018-04-09 12:28:26 +02:00
Johannes Rieken
534d10d37d
add FileSystemProvider2 for rapid changes, add readFile/writeFile, simplify delete, #47475
2018-04-09 11:35:32 +02:00
André Weinand
317bf2e647
fold path hooks into debugAdapter
2018-04-09 11:32:15 +02:00
André Weinand
95feda25ad
rename v8Protocol.ts to debugAdapter.ts
2018-04-09 11:27:26 +02:00
Johannes Rieken
3117f1b450
fix #47388
2018-04-09 09:47:46 +02:00
Johannes Rieken
61246f972c
fix #47363
2018-04-09 09:40:51 +02:00
Matt Bierner
52c293a050
Fix webview type name casing
2018-04-06 17:09:41 -07:00
Matt Bierner
d855ec8060
Reduce duplicate state for active webviews
2018-04-06 16:06:44 -07:00
André Weinand
4cd09ff11e
reify the DebugAdapter; fixes #45129
2018-04-06 16:42:11 +02:00
Alex Dima
8e5a374372
Fixes #44956 : Propagate extension activation errors in the activate() calls
2018-04-06 11:55:46 +02:00
Johannes Rieken
8b470712c9
make diagnostics read api public, #30075
2018-04-06 11:08:12 +02:00