Commit Graph

1020 Commits

Author SHA1 Message Date
Connor Peet
03504d625a testing: support for test tags in search
This also involves creating a suggest enabled input with history, which
I modelled off the previous plain text input with history.
2021-08-12 17:16:32 -07:00
Daniel Imms
241a07d412 Add test, finish piping through interaction event
Part of #127717
2021-08-12 15:33:25 -07:00
Rob Lourens
01643e514e Better cell execution lifecycle 2021-08-11 15:38:08 -07:00
Connor Peet
fa8ccff4d8 testing: initial output correlation 2021-08-11 13:08:58 -07:00
Rob Lourens
99104943f5 Add NotebookExecutionService
Towards #125668
2021-08-11 12:50:30 -07:00
Tyler James Leonhardt
4191923874 initial support of QuickPickItemButton API (#130519) 2021-08-11 08:42:29 -07:00
Connor Peet
9125758184 testing: add support for test tags
For #129456
2021-08-09 16:31:23 -07:00
Logan Ramos
d18e54f820 Implements #129053 (#130103) 2021-08-05 09:58:03 -04:00
Eric Amodio
a4e75b4ec1 Adds MarkdownString support to SCM validations 2021-08-04 18:40:44 -04:00
Tyler Leonhardt
c935e2292f rename forceRecreate to forceNewSession and allow it to take in a detail 2021-08-03 16:21:04 -07:00
Connor Peet
38e09192c0 testing: api feedback 2021-07-21 15:20:12 -07:00
Connor Peet
90aa979bb7 notebooks: renderer messaging feedback 2021-07-21 10:12:13 -07:00
Johannes Rieken
e30d70f9f5 turn language status API proposal into push model, https://github.com/microsoft/vscode/issues/129037 2021-07-21 12:51:14 +02:00
Johannes Rieken
4508c29d35 first cut for language status API proposal, https://github.com/microsoft/vscode/issues/129037 2021-07-21 10:22:36 +02:00
Tyler Leonhardt
37687f06b6 add proposed forceRecreate option on getSession. Related to #129064 2021-07-20 16:09:36 -07:00
Connor Peet
cfc48e81aa testing: update api from feedback 2021-07-20 15:02:21 -07:00
Connor Peet
4482677442 notebooks: update renderer messaging api to feedback 2021-07-20 09:53:04 -07:00
Andre Weinand
67b4efe22c new DebugSessionOption 'lifecycleManagedByParent'; fixes #128058 2021-07-20 17:24:05 +02:00
Rob Lourens
247e62d79a Add flag for "simple" debug UI (#128801)
* Implement simple debug UI mode

* Don't show debug viewlet on step

* Move flag to proposed

* Pass around full debugUI options object

* Implement isSimpleUI in mock
2021-07-19 17:49:17 -07:00
Connor Peet
42c268a626 testing: clean up nits
- rename TestController.createRunConfiguration to .createRunProfile, and associated types
- rename TestItemCollection.remove to TestItemCollection.delete
2021-07-16 12:46:59 -07:00
Megan Rogge
ad5970666d Support setting color in TerminalOptions/ExtensionTerminalOptions (#128856) 2021-07-16 11:23:36 -07:00
Alex Ross
8f774f132e Tree data transfer dnd (#128666) 2021-07-16 14:22:54 +02:00
Johannes Rieken
1ba9d7be42 Merge pull request #128667 from Eskibear/type-hierarchy-provider
add type hierarchy provider
2021-07-15 12:29:29 +02:00
Yan Zhang
8135848f77 add type hierarchy provider
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2021-07-15 11:48:28 +08:00
Alex Dima
69e8f8ea0c Fixes #128528: Skip acquiring workspace storage locks on the local nodejs extension host 2021-07-14 10:58:15 +02:00
Connor Peet
fa9255c0de almost complete update for run configurations 2021-07-12 17:28:01 -07:00
Connor Peet
9a09d4817d testing: add test configurations api 2021-07-12 09:45:21 -07:00
Eric Amodio
55868691ef Closes #128258: Adds ThemeIcon support 2021-07-08 18:56:30 -04:00
Tyler Leonhardt
ba01bbac9c Remove deprecated auth API proposals. Fixes #127144 2021-07-08 10:38:23 -07:00
Benjamin Pasero
75aa22e7d9 editors - fix cyclic dependency 2021-07-07 13:22:38 +02:00
Sandeep Somavarapu
b38186b046 Fix #126953 2021-07-06 11:57:34 +02: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
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
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
Matt Bierner
cd08aa0081 Initial work adding NotebookCellData.mime
For #126280
For #126417
2021-06-15 15:16:58 -07:00
Martin Aeschlimann
6c4230e86c MarkdownString for StatusBarItem.tooltip. For #126258 2021-06-15 15:35:01 +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
Connor Peet
ec65867a75 testing: improve cancellation, and allow test runs to be individually cancelled
Fixes #125712
2021-06-14 16:46:03 -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
Johannes Rieken
d0cc52143b change IOutputItemDto to use real bytes, add many dedicated dto-types for transporting output (which cannot be bytes), remove metadata2 from renderer 2021-06-10 11:18:46 +02:00
Johannes Rieken
bb86598b97 use notebookCommon import to see where notebook "leaks" into IPC/protocol 2021-06-09 12:27:38 +02:00
Johannes Rieken
5cd7916219 towards https://github.com/microsoft/vscode/issues/125668 2021-06-09 11:36:49 +02:00
Johannes Rieken
a31c6c3550 extract ExtHostNotebookDocumentsShape into its own thing 2021-06-07 17:41:12 +02:00
Johannes Rieken
76fe0c90b0 make NotebookEditor#selections writeable, https://github.com/microsoft/vscode/issues/125275 2021-06-07 17:07:46 +02:00
Johannes Rieken
cec19dcfdc remove unused types 2021-06-07 16:50:56 +02:00
Johannes Rieken
10442e00b4 extract ExtHostNotebookEditorShape into its own thing 2021-06-07 16:25:03 +02:00