Matt Bierner
6db81f6ab2
Move custom editors into own ext host services
2020-08-20 16:45:45 -07:00
Matt Bierner
4fd7f660a4
Move webview views into own ext host class
...
Also fixes message passing for webview views
2020-08-20 16:45:45 -07:00
Matt Bierner
61f799f53b
Add proposed webview view API ( #104601 )
...
Add proposed webview view API
For #46585
This adds a new `WebviewView` proposed api to VS Code that lets webview be used inside views. Webview views can be contributed using a contribution point such as :
```json
"views": {
"explorer": [
{
"type": "webview",
"id": "cats.cat",
"name": "Cats",
"visibility": "visible"
}
]
},
```
* Use proper activation event
* Transparent background
* Fix resize observer
* Adding documentation
* Move webview view to new directory under workbench
* Remove resolver
By moving the webviews view into their own fodler, I was able to avoid the cycle the resolver was originally introduced for
* Use enum in more places
* Hook up title and visible properties for webview views
* Remove test view
* Prefer Thenable
* Add unknown view type error to collector
2020-08-20 13:59:22 -07:00
Alex Ross
640caaef05
Finalize task custom execution variable resolving
...
Fixes #81007
2020-08-20 13:49:20 +02:00
Connor Peet
24b712d7c2
notebooks: remove impure renderer API
...
This removes the initial notebook renderer API and keeps the 'pure'
renderer API described in #102644 and hacked-in previously.
Remaining work in this area, in no particular order:
- Add messaging context to postMessage as requested by Don (API proposal TBA)
- Cleanups around how state is managed internally in the backLayerWebView
- Deprecate the renderer `viewType` in favor of calling it the `id` or `rendererId`
Q: I kept around some of the "transform" functions since the mime type
picking happens there, not sure if there's a better place for this
to happen now, or whether these methods should simply be renamed.
2020-08-19 15:47:02 -07:00
Andre Weinand
36969b3cf9
Merge branch 'master' into add-debug-adapter-named-pipe-server
2020-08-19 11:41:18 +02:00
Johannes Rieken
442e27637d
clean up for https://github.com/microsoft/vscode/issues/101282
2020-08-17 10:54:04 +02:00
Eric Amodio
1fc60f8b96
Adds ExtensionContext.extensionRuntime - #104436
2020-08-11 15:12:26 -04:00
rebornix
03467e96ff
re #104262 . Add logging for notebook.
2020-08-10 14:30:58 -07:00
Daniel Imms
2b353aac93
Remove terminal link handlers
...
Fixes #91606
2020-08-10 14:19:55 -07:00
Daniel Imms
6ad637946b
Finalize terminal link providers
...
Fixes #91290
2020-08-10 10:23:07 -07:00
Andre Weinand
95dcdf2c58
make session arg optional; fixes #103934
2020-08-06 14:01:54 +02:00
Rachel Macfarlane
7a4509a6ca
Allow passing empty options to getSession, fixes #104078
2020-08-05 10:48:20 -07:00
rebornix
ccb2e9621f
re #102503 . onDidSaveNotebookDocument
2020-08-03 15:12:25 -07:00
Rob Lourens
eb05e94d5e
Send cell metadata changes to EH, add onDidChangeCellMetadata event
2020-08-01 10:25:12 -07:00
Rachel Macfarlane
bb9c167ef2
Fix authentication sessions change event type
2020-07-28 11:30:19 -07:00
Tyler Leonhardt
10a5d09ed5
Add DebugAdapterNamedPipeServer
2020-07-23 15:40:13 -07:00
Rob Lourens
90363c2f9d
Change cell execution/cancel API
...
Fix #99203
2020-07-20 14:43:20 -07:00
rebornix
f475511726
kernel change event.
2020-07-17 12:02:08 -07:00
rebornix
847a98f34c
Merge remote-tracking branch 'origin' into rebornix/multi-kernel
2020-07-16 17:26:00 -07:00
Rachel Macfarlane
a155fcf762
Address feedback on auth provider API
2020-07-16 16:03:17 -07:00
rebornix
4fc84b3a11
sketch for notebook kernel
2020-07-15 16:18:17 -07:00
Johannes Rieken
732d68f8c0
env.appRoot is empty string when not having an application root, https://github.com/microsoft/vscode/issues/101857
2020-07-13 13:03:04 +02:00
Rachel Macfarlane
40324ee577
Auth provider tweaks, change types of change events
2020-07-10 10:49:10 -07:00
Johannes Rieken
43184b2bed
add storageUri and globalStorageUri to ExtensionContext, https://github.com/microsoft/vscode/issues/101857
2020-07-09 12:48:03 +02:00
Andre Weinand
673e35d278
new proposed API stopDebugging; see #101883
2020-07-09 10:49:22 +02:00
Johannes Rieken
f08ce02836
debt - remove unused userHome from extHost env, also some todos
2020-07-07 16:01:50 +02:00
Sandeep Somavarapu
6bdb7e921e
do not use extensionStoragePaths in web @rebornix FYI
2020-06-29 15:21:55 +02:00
Rachel Macfarlane
629e1d7e16
Remove old getSessions and login methods from auth provider API
2020-06-24 15:33:09 -07:00
Daniel Imms
395b228387
Merge remote-tracking branch 'origin/master' into tyriar/link_providers
2020-06-19 05:26:26 -07:00
Johannes Rieken
9683615c00
make ExtHostWindow a service so that it can be consumed in terminal world, fyi @Tyriar
2020-06-18 15:07:06 +02:00
Daniel Imms
16466627c1
Scaffold out link provider proposed API
...
Part of #91290
2020-06-16 11:47:48 -07:00
rebornix
98c3065160
Fix #96840 . Support backup/revert from notebook content provider.
2020-06-12 18:00:15 -07:00
Johannes Rieken
00637c1c42
remove obsolete APIs, https://github.com/microsoft/vscode/issues/93265
2020-06-12 09:57:10 +02:00
Johannes Rieken
17a3e673db
better error message when editor has changed in-flight, https://github.com/microsoft/vscode/issues/98871
2020-06-10 09:04:24 +02:00
Johannes Rieken
aef90f8fda
add vscode.notebooks.notebookDocuments-api, https://github.com/microsoft/vscode/issues/93265
2020-06-09 16:23:22 +02:00
Matt Bierner
eb09996238
Move custom editor provider out of proposed to main api
...
For #77131
2020-06-01 14:45:05 -07:00
Johannes Rieken
b0d056202b
Use canonical uri for openTextDocument api, #93368
2020-05-29 18:16:31 +02:00
rebornix
d321061c8c
merge moveEvent into CellsChangeEvent.
2020-05-20 11:03:30 -07:00
rebornix
979ca623f1
onDidActiveNotebookEditorChange
2020-05-20 10:32:26 -07:00
Rachel Macfarlane
4f46398b7e
Send auth provider API calls through renderer when on remote
2020-05-19 17:46:36 -07:00
Rachel Macfarlane
d1a59226f2
Fix build
2020-05-19 16:58:38 -07:00
Peng Lyu
536078737f
Merge pull request #98126 from microsoft/rebornix/documentNEditors
...
Separate notebook document and editor events.
2020-05-19 15:09:52 -07:00
rebornix
cc151dd103
notebook tests for notebook content change events.
2020-05-19 14:46:14 -07:00
rebornix
0dea13a46a
Notebook document events.
2020-05-19 12:05:21 -07:00
Johannes Rieken
7ab052aec4
first cut of token_at_position api, https://github.com/microsoft/vscode/issues/91555
2020-05-19 16:23:08 +02:00
rebornix
b5831f5be7
notebook content change events.
2020-05-18 19:05:18 -07:00
rebornix
a14736ca5e
introduce visible notebook editors
2020-05-18 15:45:32 -07:00
Rachel Macfarlane
87b0c54586
Make AuthenticationSession a class and remove getAccessToken method, fixes #91554
2020-05-15 14:34:04 -07:00
Isidor Nikolic
33187ab34e
Merge pull request #97825 from microsoft/isidorn/accessibilityInformation
...
vscode api: introduce accessibilityInformation
2020-05-15 16:41:34 +02:00