Commit Graph

1483 Commits

Author SHA1 Message Date
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
Johannes Rieken
addd44d6b8 simplified resolve rename location proposal, #7340 2018-03-26 12:45:40 +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
67d8eebaf4 Rename webview.show to webview.reveal
Make it more clear that this command only reveals an existing webview

Fixes #44580
2018-03-20 16:16:05 -07: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
Matt Bierner
27a17935b8 Move webview to use onDidChangeViewState event
After discussions, we settled on making the webview private unlike `TextEditors`. This means that webview events will live on the webview object itself

Fixes #44571
2018-03-20 14:30:39 -07:00
Dirk Baeumer
2f5061ff2d Implements #45664: Add API to query and execute tasks 2018-03-20 22:19:40 +01:00
Alex Dima
9077dd978d Remove not needed userExtensionsHome 2018-03-20 17:31:47 +01:00
Alex Dima
262134cfd8 Reduce extension host IInitData 2018-03-20 16:55:38 +01:00
isidor
f470ce19e7 textModel: add isForSimpleWidget property so these model are not synchronized 2018-03-20 16:25:10 +01:00
Johannes Rieken
ddf5ecd46c wire up progress/cancellation, #45000 2018-03-20 14:51:23 +01:00
Johannes Rieken
8d8c233261 honor that the internal search model is 0-offset based, #45000 2018-03-20 14:51:22 +01:00
Johannes Rieken
73e3488685 remote - move out search provider, #45000 2018-03-20 14:51:22 +01:00
Sandeep Somavarapu
edaa790a07 Implement createTreeView API 2018-03-20 17:50:47 +05:30
Johannes Rieken
5b8eea4b22 remote - also remove addWorkspaceFolder from protocol 2018-03-20 12:15:46 +01:00
Johannes Rieken
05abb6374e remove FileSystemProvider#root 2018-03-20 12:11:42 +01:00
Matt Bierner
c48acbb1c9 Move log level API to env
Moves the log level API to env
2018-03-19 12:52:55 -07:00
Johannes Rieken
a116e73a94 more renames, #7340 2018-03-19 16:33:43 +01:00
Alex Dima
1a249fc4ec Serialize vscode.DocumentSelector 2018-03-19 12:07:08 +01:00
Matt Bierner
e822e655b5 Move logDirectory to ExtensionContext (#45922)
* Move the logDirectory to extensionContext

Moves the proposed `logDirectory` to `ExtensionContext` and make it synchronous

* Use string for path instead of URI
2018-03-16 14:07:09 -07:00
André Weinand
f1404198c3 proposed logMessage API; fixes #45643 2018-03-16 17:08:46 +01:00
Johannes Rieken
67efbbf5ca remote - use posix.dirname of uri.path 2018-03-16 15:32:06 +01:00
Dirk Baeumer
fc7051a897 Cleaner API to query tasks 2018-03-16 11:55:18 +01:00
Matt Bierner
ab1669f898 Revert "Revert "Avoid using import x = require('...')""
This reverts commit 27256832f3 which turns out did not break the import of vs/nls
2018-03-15 10:17:18 -07:00
Dirk Baeumer
a4cf2abe7e First cut of #45664: Add API to query and execute tasks 2018-03-15 18:02:04 +01:00
Johannes Rieken
5685bcd524 try a different variant of getDiagnostics... #30075 2018-03-15 15:05:45 +01:00
Johannes Rieken
8d022273dd add DiagnosticRelatedInformation, #10271 2018-03-15 11:43:31 +01:00
Matt Bierner
27256832f3 Revert "Avoid using import x = require('...')"
This reverts commit 7de696a202.

Seems to have broken loading vs/nls in at least one case in insiders
2018-03-15 00:47:33 -07:00
Matt Bierner
7de696a202 Avoid using import x = require('...')
Don't use this import form in places where it is not needed. This prevents us from correctly detecting duplicate imports
2018-03-14 14:45:59 -07:00
Matt Bierner
81767beaca Make Event a named export
There are many places in the code that do `import Event, { ...} from '.../event'`.
2018-03-14 14:25:30 -07:00
Matt Bierner
f94cea3742 Mark private emitters as readonly 2018-03-14 13:57:38 -07:00
Matt Bierner
82084be1bc Switch to use vscode-resource scheme in webviews
Fixes #45784
2018-03-14 11:25:40 -07:00
Johannes Rieken
185630f925 add MarkerSeverity, #44141 2018-03-14 13:23:09 +01:00
Johannes Rieken
f4c997a5c9 back to simple getDiagnostics-function, #30075 2018-03-14 12:42:38 +01:00
Johannes Rieken
ec091c2c01 add DiagnosticChangeEvent #30075 2018-03-14 11:00:42 +01:00
Ramya Achutha Rao
366c8eb9c3 publisherDisplayName is PublicPersonalData 2018-03-13 19:18:09 -07:00
Matt Bierner
68c78176af Fixes unknown webview on postMessage
Fixes #45555. These errors will now show up in #45553
2018-03-13 14:24:56 -07: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
Martin Aeschlimann
c65b881d16 [folding] add maxRanges to folding provider request 2018-03-13 17:49:09 +01:00
Johannes Rieken
3aea86db79 proposed event for when diagnostics change, #30075 2018-03-13 17:48:54 +01:00
Johannes Rieken
362485e390 some early sketches of a read api #30075 2018-03-13 15:52:08 +01:00
Johannes Rieken
e9d92ca9a7 align names, add RenameContext-type #7340 2018-03-13 11:59:32 +01:00
Dirk Baeumer
ddd44e0ae9 Fixes #45576: Allow users to control quoting in tasks 2018-03-12 12:09:16 +01:00
Sandeep Somavarapu
24420491eb Fix #45340 2018-03-09 10:56:08 +01:00
Andre Weinand
9389389e42 add correct bp location; fixes #44433 2018-03-07 16:12:51 +01:00
Sandeep Somavarapu
81f1deec2f #39576 Use proxy only for extension calls 2018-03-06 16:21:47 +01:00