Benjamin Pasero
75aa22e7d9
editors - fix cyclic dependency
2021-07-07 13:22:38 +02:00
Megan Rogge
364ba12a4c
fix #126691 ( #128067 )
2021-07-06 10:14:47 -07:00
Sandeep Somavarapu
b38186b046
Fix #126953
2021-07-06 11:57:34 +02:00
SteVen Batten
9f7309348f
workpace
2021-07-01 10:45:28 -07:00
rebornix
46b96bb29e
fix #125275 .
2021-06-30 23:04:11 -07:00
rebornix
0ddca0a62b
re #127539 . restore iw input model on tab switching.
2021-06-29 23:26:25 -07:00
rebornix
bfac07cd0e
de-ref interactive input on interactive nb close.
2021-06-27 13:54:17 -07:00
rebornix
b17fa9dcf5
add notebook to the text document of the input box in iw.
2021-06-25 15:18:04 -07:00
Daniel Imms
848d4b6c85
Update instance created event name
...
Part of #127158
2021-06-25 13:22:55 -07:00
Daniel Imms
855d764df5
Implement contributed profiles in terminal editors
...
Fixes #127158
2021-06-25 13:19:20 -07:00
Connor Peet
45eea1f87b
testing: initial api side of test coverage
...
For https://github.com/microsoft/vscode/issues/123713
2021-06-25 12:58:04 -07:00
Alex Ross
48d81c8754
Better maintain original tunnel source
2021-06-25 14:43:24 +02:00
Alex Ross
20099087a0
Simplify port forward parameters
2021-06-25 14:43:23 +02:00
Megan Rogge
fc9962bc88
move find out of terminal service and get find to work in terminal editors ( #127100 )
2021-06-24 22:10:26 +00:00
Connor Peet
751f8729dc
protocol: refactor to use enum for marshalled object ids
2021-06-22 18:47:25 -07:00
Johannes Rieken
24f9000e97
merge CompletionItemLabel into CompletionItem#label, https://github.com/microsoft/vscode/issues/39441
2021-06-22 14:35:31 +02:00
Connor Peet
186e565ec0
refactor: update to new testing API
...
Previously in the testing API, you called `registerTestProvider` with
your own instance of a TestController, and VS Code would request
workspace or document tests. This has been changed: now, you call
`createTestController`, which returns an object, and call
`createTestItem` to insert test nodes under the `controller.root`.
Extensions should generally decide themselves when to publish tests. For
example, when a file is opened in an editor, test extensions will want
to make sure tests for that file are available so that inline
decorations can be shown. This is pretty similar to what the editor
API does in diagnostics.
There is still a `resolveChildrenHandler` on the controller (rather than
the TestItem directly), which you should _set_ if the test extension
supports lazy discovery. Additionally, if you support running tests,
you'll also want a `runHandler` (migrating from the old `runTests` method).
Some of the existing test providers have been updated, you can check
them out here:
- https://github.com/microsoft/vscode-extension-samples/tree/main/test-provider-sample
- https://github.com/microsoft/vscode-selfhost-test-provider
In summary, to update to the new API:
- Call `vscode.test.createTestController` instead of `registerTestController`
- Move the contents of your `runTests` method to `controller.runHandler`
- Move your `TestItem.resolveHandler` to `controller.resolveChildrenHandler`,
which may involve adding some `instanceof` checks.
- If you lazily discovered tests in `createDocumentTestRoot`, you'll want
to trigger that logic based on `vscode.workspace.onDidOpenTextDocument`.
- If your test runner can deal with showing locations of unsaved changes,
listen for `vscode.workspace.onDidChangeTextDocument` to trigger those
changes in the tree.
2021-06-21 12:14:24 -07:00
Benjamin Pasero
994a6c197b
file watcher - have a interface for raw events (maybe #126813 )
2021-06-21 16:52:11 +02:00
Benjamin Pasero
a102b4478e
file watcher - provide an event for raw changes access
2021-06-21 07:38:43 +02:00
Daniel Imms
fabd4da160
Merge pull request #126674 from microsoft/tyriar/126243_group_service
...
Create terminal group service
2021-06-18 14:40:35 -07:00
Daniel Imms
f97906dfb1
Disallow setting active instance to undefined outside services
2021-06-18 13:38:15 -07:00
Logan Ramos
db5a22630b
Revert exclusive only for openTextDocument
2021-06-18 13:38:19 -04:00
Daniel Imms
7fbfe75eb2
Merge remote-tracking branch 'origin/main' into tyriar/126243_group_service
2021-06-18 10:07:51 -07:00
Logan Ramos
9d20e9ff56
Fix #123270
2021-06-18 11:16:28 -04:00
Daniel Imms
74243095bf
Make set active instance a setter
2021-06-18 08:09:08 -07:00
Daniel Imms
1c55ecdcc9
Introduce term instance host interface
2021-06-18 06:58:00 -07:00
Alex Ross
a414bf2973
Add protocol to tunnel API
...
Part of #124816
2021-06-17 16:13:54 +02:00
Johannes Rieken
c24879b45a
Revert "When having details for non modal, show more which shows modal... https://github.com/microsoft/vscode/issues/125750 "
...
This reverts commit fbe6292824 .
2021-06-17 11:20:12 +02:00
Johannes Rieken
4b537c8a0f
Revert "keep promise alive when continuing in modal dialog, https://github.com/microsoft/vscode/issues/125750 "
...
This reverts commit 99a2f34ed9 .
2021-06-17 11:19:45 +02:00
Johannes Rieken
99a2f34ed9
keep promise alive when continuing in modal dialog, https://github.com/microsoft/vscode/issues/125750
2021-06-16 15:16:54 +02:00
Johannes Rieken
fbe6292824
When having details for non modal, show more which shows modal... https://github.com/microsoft/vscode/issues/125750
2021-06-16 15:09:30 +02:00
Daniel Imms
d21b9b8e6d
Merge pull request #126407 from microsoft/merogge/terminal-editor
...
Terminal editors
2021-06-15 17:34:09 -07:00
Matt Bierner
cd08aa0081
Initial work adding NotebookCellData.mime
...
For #126280
For #126417
2021-06-15 15:16:58 -07:00
meganrogge
377131da05
migrate createTerminal to use CreateTerminalOptions everywhere
2021-06-15 13:26:00 -07:00
Martin Aeschlimann
6c4230e86c
MarkdownString for StatusBarItem.tooltip. For #126258
2021-06-15 15:35:01 +02:00
Alex Ross
fe8bb48c19
Fix timing issue where port detection can fail to start
2021-06-15 14:09:31 +02:00
Johannes Rieken
505dfc7a06
support detail for modal messages, https://github.com/microsoft/vscode/issues/125750
2021-06-15 11:40:55 +02:00
Johannes Rieken
bb4a81d452
Merge pull request #126272 from DonJayamanne/issue126271
...
Pass cell metadata and execution summary
2021-06-15 10:38:48 +02:00
Connor Peet
ec65867a75
testing: improve cancellation, and allow test runs to be individually cancelled
...
Fixes #125712
2021-06-14 16:46:03 -07:00
Don Jayamanne
72316e67b1
Pass cell metadata and execution summary
2021-06-14 10:29:14 -07:00
rebornix
75484f617b
Merge remote-tracking branch 'origin/main' into notebook/dev
2021-06-14 08:12:21 -07:00
Tyler Leonhardt
66ecd8f6a8
make state of trusted extensions correct in storage. Fixes #118486
2021-06-11 17:21:37 -07:00
Matt Bierner
5b639e8b22
Also log viewType
...
This is needed for extensions that contribute multiple types of webviews
2021-06-11 16:22:43 -07:00
rebornix
938afec432
use vm from test helper.
2021-06-11 16:22:01 -07:00
rebornix
d26f97a0a2
📓 use viewmodel from test helper directly
2021-06-11 15:13:42 -07:00
Daniel Imms
ae1f358300
Merge pull request #125849 from microsoft/tyriar/120369
...
Finalize terminal profile contributions
2021-06-11 07:00:57 -07:00
Daniel Imms
465759bc58
Prevent other extensions registering terminal profiles
2021-06-11 06:45:36 -07:00
rebornix
7adcbfdd68
Merge branch 'notebook/dev' into main
2021-06-10 14:36:16 -07:00
Benjamin Pasero
a0a9141869
file watcher - avoid array creation when iterating over events ( #124723 )
...
//cc @isidorn
2021-06-10 14:13:49 +02:00
Johannes Rieken
3c9e29fa75
move INotebookKernel type into kernel service file
2021-06-10 12:42:05 +02:00