Commit Graph

216 Commits

Author SHA1 Message Date
rebornix
0dea13a46a Notebook document events. 2020-05-19 12:05:21 -07: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
rebornix
b9c163faee asWebUri. 2020-05-14 17:53:33 -07:00
isidor
6e50f24e64 vscode api: introduce accessibilityInformation 2020-05-14 17:25:46 +02:00
Rachel Macfarlane
1154dcc38e Fix options type in getSession 2020-05-13 17:27:33 -07:00
rebornix
a15661000f adopt notebook kernel 2020-05-13 11:31:06 -07:00
Johannes Rieken
dc950c0080 fix vscode.appRoot for worker 2020-05-13 18:18:43 +02:00
Rachel Macfarlane
4a875e0d7c Add getSession and hasSessions to authentication namespace 2020-05-11 18:32:36 -07:00
rebornix
6ff9361158 Merge remote-tracking branch 'origin/master' into rebornix/hotexit 2020-05-06 12:43:00 -07:00
Connor Peet
773c398dfc api: implement extension mode api (#95926) (#97081) 2020-05-06 11:36:04 -07:00
rebornix
cb7ea6e166 Remove notebook content provider 2020-05-05 18:43:25 -07:00
rebornix
e092295dc6 onDidCloseNotebookDocument 2020-05-05 11:29:35 -07:00
Johannes Rieken
59a5aa197c add trace logging to extHostDiagnostics, #96837 2020-05-05 11:51:56 +02:00
rebornix
0d445385ea Re #93265. 2020-05-04 18:27:47 -07:00
Rachel Macfarlane
cfc6a123e7 Add logout method to auth provider API 2020-04-28 17:33:35 -07:00
Andre Weinand
8ec6ec7dc1 rename "Trigger" to "TriggerKind"; see #88230 2020-04-27 16:07:26 +02:00
Andre Weinand
78b071d803 proposed dynamic launch config API: rename 'scope' to 'trigger' 2020-04-26 19:00:47 +02:00
Daniel Imms
7f5bada046 Move EnvironmentVariableCollection API into ExtensionContext (#96061)
* Move env var collection to ext context

* Remove dispose, fix persistent passing

* Fire collection change on persistence change

* Fix tests by forcing activation and getting ctx

* chore: bump js-debug

Co-authored-by: Connor Peet <connor@peet.io>
2020-04-24 16:45:30 -07:00
Matt Bierner
4862602c4c Align custom editor API proposal with notebook API
Fixes #95854
Fixes #95849
For #77131

- Move all editing functionality back onto the provider. This better matches the notebook API.

- Rename `CustomEditorProvider` to `CustomReadonlyEditorProvider`.  `CustomEditorProvider` is now how editable custom editors are implemented

- Give extension a full suggested backup path instead of just a folder
2020-04-24 14:47:08 -07:00
Matt Bierner
f35758ab21 Rename supportsMultipleEditorsPerResource -> supportsMultipleEditorsPerDocument
For #77131
2020-04-23 17:33:06 -07:00
Matt Bierner
e0a4eec778 Rename some custom editor types/functions and introduce backup context
Fixes #95846
Fixes #95851
For #77131

- Rename `EditableCustomDocument` to `CustomEditableDocument`
- Rename `CustomDocumentBackup.dispose` to `CustomDocumentBackup.delete` to make it clearer how this is supposed to be used
- Rename `OpenCustomDocumentContext` to `CustomDocumentOpenContext`
- Add a context to backup. Pass in `workspaceStorageUri`
2020-04-23 16:32:56 -07:00
Johannes Rieken
4bef71262f expose vscode.notebook.onDidChangeNotebookDocument-event 2020-04-23 15:55:07 +02:00
rebornix
dbfe5613ca notebook.activeNotebookEditor 2020-04-22 11:32:57 -07:00
Martin Aeschlimann
687131cb88 Merge pull request #95778 from microsoft/aeschli/themeApiFinal
make API to access theme kind final
2020-04-22 17:14:28 +02:00
Peng Lyu
5ce07638a9 Merge pull request #95732 from microsoft/rebornix/hidecelloutput
Hide cell output in webview when fold
2020-04-21 12:18:16 -07:00
rebornix
fe395be069 protect from proposed 2020-04-21 08:05:57 -07:00
Martin Aeschlimann
af44ead34c make theme API final 2020-04-21 16:39:06 +02:00
Johannes Rieken
a14593c842 add vscode.notebook.createConcatTextDocument proposal 2020-04-21 12:31:15 +02:00
Daniel Imms
5578eadf86 Move link handlers back to proposed
Part of #91606
2020-04-20 06:25:29 -07:00
Andre Weinand
5c7b6f5a32 fix for crashing eh 2020-04-20 15:17:25 +02:00
Andre Weinand
be994e14c6 workaround for crashing eh 2020-04-20 15:04:11 +02:00
Andre Weinand
1451fab698 add dynamic debug config API 2020-04-20 13:26:20 +02:00
Matt Bierner
5913061e1b Allow a custom editor to opt out of supporting multiple instances for a single resource
#77131
2020-04-16 17:40:20 -07:00
Rob Lourens
989bbcc97e Implement notebook cell status bar 2020-04-15 12:28:09 -05:00
Johannes Rieken
c139d3bf1e remove old proposal for https://github.com/microsoft/vscode/issues/90208 2020-04-15 10:04:56 +02:00
Daniel Imms
74ea30b46e Finalize registerTerminalLinkHandler API
Fixes #91606
2020-04-09 06:01:04 -07:00
Matt Bierner
d4ce7148dd New custom editor API proposal
For #77131

Fixes #93963
Fixes #94515
Fixes #94517
Fixes #94527
Fixes #94509
Fixes #94514
Fixes #93996
Fixes #93913

This removes explicit edits from the API and reshapes the API to more closely match VS Code's internal API. The change also tries to better express the lifecycle of backups
2020-04-08 17:53:39 -07:00
Rachel Macfarlane
ace72b77c5 Update trusted extensions flow again 2020-04-05 15:03:17 -07:00
Matt Bierner
2e4d797e51 Add registerCustomEditorProvider2
Create a temporary overload for testing `CustomEditor`. In finalization, we'd update `registerCustomEditorProvider` to take both types of custom editor instead
2020-04-02 15:43:13 -07:00
Rachel Macfarlane
917c420302 Improvements to 'manage trusted extensions' flow 2020-04-01 23:13:50 -07:00
Matt Bierner
d05e41bef8 Move the custom editor api out of proposed
For #77131
2020-03-30 17:05:35 -07:00
Rachel Macfarlane
852df3025d Revert "Issue distinct sessions per extension, remove session when extension is removed from trusted list"
This reverts commit 85119afc7b.
2020-03-30 17:03:29 -07:00
Rachel Macfarlane
85119afc7b Issue distinct sessions per extension, remove session when extension is removed from trusted list 2020-03-30 14:34:42 -07:00
Rob Lourens
9f56adcf08 Revert "Fix build"
This reverts commit d97dca4d2b.
2020-03-30 16:25:44 -05:00
Rob Lourens
d97dca4d2b Fix build
#85992
2020-03-30 14:49:02 -05:00
Alex Dima
21293c4266 Fixes #86415: Finalize semantic tokens API 2020-03-30 17:34:57 +02:00
Daniel Imms
0b68e23c7f Merge remote-tracking branch 'origin/master' into tyriar/46696_terminal_env 2020-03-27 05:45:27 -07:00