Commit Graph

818 Commits

Author SHA1 Message Date
Megan Rogge
29cad8fb5e Merge pull request #124754 from microsoft/tyriar/profile_api
Terminal profile contributions
2021-05-27 19:01:23 -05:00
Alex Dima
f523f65f39 Add a description field to decorations to be able to find leaks 2021-05-27 15:50:04 +02:00
Daniel Imms
5eddbd9d20 Properly support splitting ext profiles 2021-05-26 11:48:32 -07:00
Daniel Imms
bf5f7dd5ec Get split terminals working 2021-05-26 11:34:11 -07: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
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
Daniel Imms
43b7187c3d Force inheritEnv in ext debug terminals
Fixes #124041
2021-05-25 04:55:02 -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
85f518b255 Add RemoteAuthorityResolver.getCanonicalURI 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
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
Connor Peet
59abb887f6 notebook: address messaging api changes 2021-05-20 10:54:52 -07: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
Johannes Rieken
9716c27e06 slightly better uri for untitled notebooks, https://github.com/microsoft/vscode/issues/121974 2021-05-19 18:44:01 +02: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
Connor Peet
e657d42281 debug: expose parent session on DebugSessions
For https://github.com/microsoft/vscode/issues/123403
2021-05-18 11:56:09 -07:00
Alex Dima
32db232a53 Scaffold ghost text 2021-05-17 15:39:26 +02:00
Barbara Valdez
1a78b7359e Add drag and drop controller (#123542) 2021-05-14 02:09:04 -07:00
Daniel Imms
5d95c01ec1 Remove getDefaultShellAndArgs from tasks
Fixes #123732
2021-05-13 06:36:08 -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
Daniel Imms
84abba8754 Clean up 2021-05-12 05:37:21 -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
Johannes Rieken
7ea5b137ea rename cell kind Markdown to Markup, https://github.com/microsoft/vscode/issues/105933 2021-05-10 10:56:13 +02:00
Rob Lourens
4a76f0b19a registerNotebookCellStatusBarItemProvider should use viewType instead of NotebookSelector
Fix #122347
2021-05-07 15:23:19 -07:00
Johannes Rieken
f9b5f8f624 💄 2021-05-07 14:16:00 +02: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
23a6935a25 slim-down NotebookProviderInfo 2021-05-05 11:55:30 +02:00
rebornix
d631beda22 Merge branch 'notebook/dev' into main 2021-05-04 15:31:11 -07:00
Connor Peet
d639345791 notebooks: improve renderer message passing
Fixes https://github.com/microsoft/vscode/issues/122944
2021-05-04 12:35:06 -07:00
Barbara Valdez
39d180d662 Initial implementation of drag and drop api (#122239) 2021-05-04 05:01:46 -07:00
Daniel Imms
c2f8abb4d2 Remove onRequestDefaultShellAndArgs 2021-05-03 23:01:16 -07:00
Matt Bierner
18a986bef5 Fixing array buffer serialization
Fixes #115807
2021-04-30 17:05:07 -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
Ladislau Szomoru
480f3c0b35 Return undefined if dialog is cancelled (#122234) 2021-04-26 15:28:25 -07:00
Alexandru Dima
e1845803d3 Add telemetry event for failed extension activation 2021-04-26 23:36:36 +02:00
Benjamin Pasero
05e0899ffd working copy - more readonly arrays 2021-04-23 10:59:39 +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
rebornix
264ccd16d4 Merge branch 'notebook/dev' into main 2021-04-21 15:15:59 -07:00
SteVen Batten
a9f70f7919 finalize basic workspace trust api 2021-04-21 09:56:35 -07:00
Johannes Rieken
4f9ac638ff extension contributed kernels fall back to all languages when supportedLanguages isn't set, https://github.com/microsoft/vscode/issues/121329 2021-04-21 11:34:48 +02:00
rebornix
e986377a62 move NotebookRange. 2021-04-20 17:11:07 -07:00
Johannes Rieken
b2b45e1005 execute by cell-handle, kernel manager has only execute/cancel cells, also "fix" isNotebookCellData fyi @rebornix 2021-04-20 14:39:19 +02:00
Johannes Rieken
b06388f501 Merge branch 'joh/clean-kernel' into notebook/dev 2021-04-20 11:33:41 +02:00
rebornix
d415fc0d0e adopt notebookSelector in status bar API. 2021-04-19 10:15:26 -07:00