Johannes Rieken
83d5e2bda0
rename namespace to notebooks, https://github.com/microsoft/vscode/issues/122922
2021-05-31 13:06:14 +02:00
Megan Rogge
29cad8fb5e
Merge pull request #124754 from microsoft/tyriar/profile_api
...
Terminal profile contributions
2021-05-27 19:01:23 -05:00
rebornix
866ecdd45a
Merge branch 'notebook/dev' into main
2021-05-27 14:04:55 -07:00
Connor Peet
902bb43b3b
testing: move back to proposed
...
Deferring finalization for an iteration.
This reverts commit df3c2c4875 .
2021-05-27 12:52:29 -07:00
Alex Dima
f523f65f39
Add a description field to decorations to be able to find leaks
2021-05-27 15:50:04 +02:00
Johannes Rieken
4c5a061df6
rename NotebookKernelPreload to NotebookRendererScript
2021-05-27 15:21:48 +02:00
Alexandru Dima
641c2b175c
Merge pull request #124707 from microsoft/alex/ghost-text
...
ghost text updates
2021-05-26 23:14:24 +02:00
Henning Dieterichs
d1ed9c8bf3
Adds proposed API for window.getInlineCompletionItemController(...).onDidShowCompletionItem.
2021-05-26 20:34:04 +02:00
Daniel Imms
3ff91e7621
Merge remote-tracking branch 'origin/main' into tyriar/profile_api
2021-05-26 11:09:35 -07:00
Daniel Imms
e29194ad0d
Activation event, register api
2021-05-26 07:41:16 -07:00
João Moreno
14f61093f4
fixes #124507
2021-05-26 10:03:25 +02:00
João Moreno
44b470c99f
fixes #124576
2021-05-26 09:41:59 +02:00
Matt Bierner
24a23a8ea0
Mark array params in vscode.d.ts readonly ( #124599 )
...
I recently ran into an issue where I was trying to call showQuickPick with a readonly array. This is currently not allowed, even though `showQuickPick` never mutates the input
This change marks a few places in `vscode.d.ts` where we take arrays as parameters as `readonly []`. It also caught a potential bug with`getSession` modifying the input array
2021-05-25 18:18:47 -07:00
Connor Peet
df3c2c4875
testing: move apis to stable
...
Closes #122208 🎉
2021-05-24 10:22:53 -07:00
Alex Dima
91fdd52d17
Merge remote-tracking branch 'origin/main' into alex/ghost-text
2021-05-21 19:57:53 +02:00
Alex Dima
c650993dd3
Add ResolvedOptions.isTrusted
2021-05-21 16:48:14 +02:00
Henning Dieterichs
9086ecd9f0
Renames Suggestion to Completion and cleans up API
2021-05-21 11:29:08 +02:00
João Moreno
a6f7aa5e4c
handle workspace uris
...
related to #124263
2021-05-21 11:26:09 +02:00
rebornix
894b7782cc
Merge branch 'notebook/dev' into main
2021-05-20 14:17:28 -07:00
Megan Rogge
6f2381e33d
Terminal tab icon API ( #124004 )
2021-05-20 18:17:33 +00:00
rebornix
f583b4b336
Merge branch 'main' into notebook/dev
2021-05-19 19:02:13 -07:00
Matt Bierner
1ddc623e58
Simplify logic for webview resource uris ( #123740 )
...
* Simplify logic for webview resource uris
This change attempts to simplify the logic around webview resource uris by doing the following:
- Hard code the resource origin. We always will be hitting a service worker for these paths so they don't need to be dynamic (although in the future we may want to pull them from `product.json`)
This lets us remove these properties from the environment service
- Move remote handling from the resource loader in `asWebviewUri`.
- Remove the handling of http and https paths from the resource loader.
I don't think these cases can be hit any longer (although I need to confirm this with more testing for the web case). Instead I added a check to `asWebviewUri` so that we return the original uri if a http(s) uri is passed in
* Restore normalizeResourcePath
We still need to convert between a remote uri and one that our remote file system can read
* Fix test
* Restore passing in remote on extension side
* Remove only
2021-05-19 17:26:51 -07:00
Connor Peet
46a1ca7824
notebook: initial renderer communication
2021-05-19 17:08:13 -07:00
rebornix
5b3cf7cc2a
Merge branch 'notebook/dev' into main
2021-05-19 14:12:17 -07:00
Henning Dieterichs
09ab8ad202
wip
2021-05-19 17:05:31 +02:00
Johannes Rieken
53352a2954
add API to open an untitled notebook, https://github.com/microsoft/vscode/issues/121974
2021-05-19 15:27:23 +02:00
Benjamin Pasero
159479eb5a
Allow to show status bar entries with an id and name ( fix #74972 )
2021-05-19 14:03:37 +02:00
Alex Dima
32db232a53
Scaffold ghost text
2021-05-17 15:39:26 +02:00
Benjamin Pasero
7320c8514c
status bar - fix compile errors
2021-05-17 08:54:51 +02:00
Daniel Imms
e1dba2ac02
Merge remote-tracking branch 'origin/main' into tyriar/getprofilesexthost
2021-05-13 05:16:55 -07:00
Daniel Imms
6d70e727d0
Set default profile in exthost from renderer
...
Fixes #121760
Related microsoft/vscode-python#16175
2021-05-12 17:14:18 -07:00
rebornix
a37ee2baf1
Merge branch 'notebook/dev' into main
2021-05-12 14:37:05 -07:00
Johannes Rieken
2f282bbefb
Log which extension creates what controller when, https://github.com/microsoft/vscode/issues/122409#issuecomment-833448914
2021-05-12 19:28:19 +02:00
John Murray
793a123a81
Allow FileSystemProvider to stat a file as readonly ( #73122 ) ( #111237 )
...
* fix #73122 allow FSP to stat a file as readonly
* add enableProposedApi check
* omit existing members of FileStat
* dispose _enableProposedApi
* implement feedback from @bpasero
* add onDidChangeReadonly event so tab title gets '(read-only)' suffix immediately
* push missing changes
* adopt latest API proposal
* fix missing property in mtfs
* tests - add fileservice test for readonly
* more tests
* wire into notebooks
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com >
2021-05-12 09:17:34 +02:00
Matt Bierner
b847eb35e7
Add remote-authority to webview uri
2021-05-11 18:14:13 -07:00
Alex Ross
f41b6e6d81
Add active editor to editor tabs and use in variable resolver ( #123450 )
2021-05-11 01:47:28 -07:00
Matt Bierner
4177014a1c
Revert "Put authority into webview resource uri"
...
This reverts commit 3d978d4dde .
2021-05-10 23:01:26 -07:00
Matt Bierner
3d978d4dde
Put authority into webview resource uri
...
This lets us handle the case where a webview needs to load both local and remote resources
2021-05-10 20:40:07 -07:00
Peng Lyu
ae998a9261
Merge remote-tracking branch 'origin/notebook/dev' into main
2021-05-10 23:44:32 +00:00
Alex Ross
fbe3d1eeb9
Make PortAttributes API a class
...
Part of #115616
2021-05-10 15:47:36 +02:00
Rob Lourens
b987317d1a
Rename onDidChangeNotebookCellExecutionState
2021-05-07 17:00:09 -07:00
Rob Lourens
4a76f0b19a
registerNotebookCellStatusBarItemProvider should use viewType instead of NotebookSelector
...
Fix #122347
2021-05-07 15:23:19 -07:00
Johannes Rieken
f5b2c93911
Allow to pass NotebookRegistrationData when registering serializer or content provider, https://github.com/microsoft/vscode/issues/122733
2021-05-06 16:26:57 +02:00
Johannes Rieken
d930085326
remove vscode.notebook.createNotebookCellExecutionTask
2021-05-05 09:28:49 +02:00
Daniel Imms
69373b7833
Finalize TerminalOptions.message API
...
Fixes #120368
2021-05-04 06:34:46 -07:00
Connor Peet
514871273b
notebook: convert NotebookKernelPreload to a class
2021-05-03 10:21:47 -07:00
Johannes Rieken
a1e69b746f
rename InlineHint to InlayHint, make it InlayHint only and keep OverlayHint as a future, separate feature, remove hover message
2021-04-30 14:51:40 +02:00
Connor Peet
37d967e30d
testing: rename testRunTask to testRun
2021-04-26 10:24:19 -07:00
Johannes Rieken
97344537a5
Use affinity over priority
2021-04-22 16:43:36 +02:00
Johannes Rieken
5390ec0e7c
remove isPreferred as instance property, replace selector with only viewType, allow controller to set a notebook priority instead
2021-04-22 16:13:42 +02:00