Commit Graph

443 Commits

Author SHA1 Message Date
Johannes Rieken
fb590e6516 have a FileType and make readDirectory slimmer, #48527 2018-04-25 16:37:39 +02:00
Matt Bierner
3936999a16 onDidChangeDiagnostics is now stable, don't check proposed
Fixes  #48591
2018-04-24 13:47:26 -07:00
Johannes Rieken
e56acedabe allow resolve for all, not just for proposed-api-users, #7340 2018-04-24 08:55:44 +02:00
Johannes Rieken
dc0be2064c move filesystem provider api to stable, #47475 2018-04-23 17:48:22 +02:00
Johannes Rieken
0f1c97b151 rename FileSystemProvider2 to FileSystemProvider and the whole ripple.
keep the old proposed api as DeprecatedXYZ

#47475
2018-04-23 16:36:25 +02:00
Johannes Rieken
73f64b9312 first cut of _proposed_ api for hierarchy of document symbols, #34968 2018-04-23 12:59:40 +02:00
Joao Moreno
e2b07d79da ProtocolHandler 2018-04-22 23:58:37 +02:00
Joao Moreno
9c4ad2db68 rename uri api 2018-04-20 19:00:40 +02:00
Johannes Rieken
4a27ac8498 inlineFileType2 as booleans into IStat, #47475 2018-04-20 14:11:34 +02:00
Joao Moreno
d6b38359e6 proposed open url api 2018-04-20 13:43:08 +02:00
Johannes Rieken
a877d74d3e fix compile error 2018-04-20 12:36:19 +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
b0ede6c91b allow file system providers to express that they are case-sensitive 2018-04-20 09:45:41 +02:00
Johannes Rieken
45b1679035 rename FileError to FileSystemError, #47475 2018-04-20 08:36:13 +02:00
Daniel Imms
d788efec4d Merge pull request #48226 from Microsoft/tyriar/terminal_process
Refactor terminal processes
2018-04-19 11:40:48 -07:00
Matt Bierner
91191fb866 Promote webview Api to stable (#47989)
* Promote webview Api to stable

Fixes #43713
Fixes #28263

* Rename position back to viewColumn and mark viewColumn as deprecated

This allows us to more easily re-introduce a `position` property once we have gridlayout

* Move dispose methods onto webview itself

Also better hide a few 'internal' methods / properties on the panel / webview

* Revert "Move dispose methods onto webview itself"

This reverts commit 8fab6cc1a1.

* Move title onto webview panel

* Use _ names for private setters

* Remove unused emitter and dispose onMessageEmitter

* Preview internal emitters with _
2018-04-19 10:55:49 -07:00
Andre Weinand
8574a05e0f support configResolver in EH 2018-04-19 18:29:51 +02:00
Johannes Rieken
1fdf60b882 add DeprecatedXYZ-aliases, #47475 2018-04-19 15:15:19 +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
Daniel Imms
1ffe882f1d Add proposed API checks for new terminal APIs 2018-04-18 11:29:18 -07:00
Martin Aeschlimann
53dd6b096b make folding api public (for #47808) 2018-04-18 17:30:24 +02:00
Daniel Imms
7f043c268e Pass terminal shell launch config through 2018-04-18 07:48:07 -07:00
Martin Aeschlimann
a1bb202eb6 incorperate folding api feedback 2018-04-18 15:26:43 +02:00
Alex Dima
101c8ed9e3 Add scheme transformer 2018-04-18 12:13:27 +02:00
Johannes Rieken
c72b5532e2 add explicit function to register v1 file system provider, #47475 2018-04-18 12:06:16 +02: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
e7e88126ad add FileOpenFlags, FileErrors, and a bit of polish, #47475 2018-04-13 10:17:20 +02: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
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
Johannes Rieken
7ac4385c1d enums starting at 1, add more xyz2-types, #35449 #47475 2018-04-10 11:09:23 +02: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
534d10d37d add FileSystemProvider2 for rapid changes, add readFile/writeFile, simplify delete, #47475 2018-04-09 11:35:32 +02: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
Matt Bierner
dd21d3520a Add webview restoration api proposal (#46380)
Adds a proposed webiew serialization api that allows webviews to be restored automatically when vscode restarts
2018-04-03 18:25:22 -07:00
Christof Marti
ea1e57b3ab Multi-select list (#45589) 2018-03-26 22:46:02 +02:00
Alex Dima
a9704b5c56 Fixes #46568: Graduate visible ranges API out of proposed 2018-03-26 17:55:17 +02:00
Dirk Baeumer
6577bde536 Task query and execution polish 2018-03-26 17:04:55 +02:00
Benjamin Pasero
3d81ac21ca Leverage notification progress support for progress API (#45958)
* Leverage notification progress support for progress API

fixes #44090

* only allow positive total/worked values

* drop total/worked in favour of percentage

* make sure to dispose CancellationTokenSource after use

* make the cancellation button optional
2018-03-21 18:06:41 +01:00
Alex Dima
99b5cb6c9c Avoid registering api commands on the renderer 2018-03-21 12:26:00 +01:00
Johannes Rieken
91b949634d Merge pull request #46177 from Microsoft/sandy081/treeViewAPI
API - Expose TreeView in API
2018-03-21 10:16:58 +01:00
Matt Bierner
ea1fed9616 Use viewType instead of uri for webviews
As discussed in #45994, move from using a uri to using a viewType. The view type is shared among all webviews of a given type, such as all markdown previews

Fixes #44575
2018-03-20 14:44:10 -07:00