Commit Graph

13 Commits

Author SHA1 Message Date
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Matt Bierner
6902a65a76 Align ext host name with internal name 2021-11-09 16:47:00 -08:00
Benjamin Pasero
75aa22e7d9 editors - fix cyclic dependency 2021-07-07 13:22:38 +02:00
Matt Bierner
3499f63dc1 Exploration: Better transferring of TypedArrays used in Webview.postMessage (#115664)
* Improve passing of ArrayBuffers to and from webviews

Fixes #115807

* Serialize and restore typed arrays too

This also makes it so that if you pass the same ArrayBuffer twice in an object, we use a single object on the receiver side too

* Fix spelling

* Require VS Code 1.56+
2021-03-30 06:49:34 +00:00
Logan Ramos
c72d7612b4 Add an untitled document data property (#115790)
* Add an untitled document data property

* Dispose of the model passed back

* Fix layer problem

* Add untitledDocumentData to untitled notebooks

* Fix compilation errors

* Switch to using VS Buffer

* Fix threading the untitled document data back through

* Prevent save dialog on untitled reopen with

* Change ignore save setting

* Change setting name and abide by preserve focus

* Add unit test

* Switch to js doc comments

* Consolidate calculating the untitled value, and added test
2021-03-10 19:54:18 +00:00
Matt Bierner
ea5f05a435 Trying to clairify how webview options are used and passed around
- Move protocol types into protocol
- Hold off on combining the options objects until serialization
- Add explicit converstions instead of using `...`
- Make a few methods take property bags to help avoid passing arguments in wrong order
2021-03-05 18:49:17 -08:00
Matt Bierner
72cf134322 Don't transform viewColumn used when creating extHostWebviewPanel programatically
Fixes #111980

We should take the vscode.ViewColumn here, not the internal view column type
2020-12-18 13:57:37 -08:00
Matt Bierner
32d935ebf4 Extract type guard 2020-12-18 13:57:37 -08:00
Benjamin Pasero
630e706ad2 Add open context to certain commands (#110475)
* editor commands - move API commands to workbench core

* rename EditorViewColumn => EditorGroupColumn

* mixin context to open commands

* address some feedback

* add comment
2020-11-12 17:01:13 +01:00
Matt Bierner
23fe7a39de Split extHost webview panels to own file 2020-08-26 16:46:26 -07:00
Matt Bierner
7e4ccf1676 Rename WebviewPanelHandle -> WebviewHandle 2020-08-26 16:46:25 -07:00
Matt Bierner
4d88b39b7d Split up main thread webview services 2020-08-26 16:46:25 -07:00
Matt Bierner
6db81f6ab2 Move custom editors into own ext host services 2020-08-20 16:45:45 -07:00