See https://github.com/microsoft/vscode/issues/119899
Backwards compatible, initially. The implementation should be
pretty unsurprising. Some churn from data wiring.
This does the bulk of the work. The only remaining item is caching
the last renderer used for notebooks in the workspace to avoid running
selection again if the user reopens/reloads the window.
* notebookDocumentsAndEditors -> owns the truth of the notebooks and editor that extensions know about
* notebookEditor -> everything about editors
* notebookDocuments -> everything about documents
* 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+
Note that this adds undefined as an option to TerminalOptions.env which could end up
causing compile errors, but they will be more correct and could reveal a bug in an
extension since some key could return undefined.
Fixes#119046
* get basics working in current dropdown
* filter profiles based on what we want in the dropdown and other info
* add copywright
* terminal.ts -> terminalProfile.ts
* seperate linux distro code
* improve terminalConfig setting description
* add passing tests and fix#79572
* add test for login args
* add wsl stuff
* fix#77652
* lengthen throttle time to 10s
* shell -> process and fire update profiles so dropdown is updated
* consolidate code in terminalProfile
* change profile selection logic
* change profile config structure
* use <ProfileName, IterminalProfileObject> and get wsl distro names to look normal
* provide terminalConfig to terminalProfiles
* move detection/validation to terminalProfiles
* isWorkspaceShellAllowed
* add quickPickOnly so Select Default Profiles returns all and otherwise filters based on config
* Add logs for errors within terminalProfiles
* change return type
* use sync
* fix bug, get custom generated to work
* workspace shell permissions
* add some comments and clean up
* when ext host ready update profiles
* improve terminalProfileObjectEqual check
* don't use windows powershell unless no other powershell
* 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