Commit Graph

430 Commits

Author SHA1 Message Date
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
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