Commit Graph

6871 Commits

Author SHA1 Message Date
Connor Peet
e4ac0cd64c testing: complete test run experience update
Fixes https://github.com/microsoft/vscode/issues/127096
2021-07-13 18:20:48 -07: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
meganrogge
c1cfeed1a7 fix #128044 2021-07-12 08:42:03 -07:00
Connor Peet
9044b2c162 testing: fix duplicated test items if ext host restarts
Fixes #128341
2021-07-09 12:56:02 -07:00
Connor Peet
73f3a2726e debug: use icon for debug terminals
Fixes #128251
2021-07-09 12:56:02 -07:00
rebornix
9275d0fc5f fix #128312. 2021-07-09 09:22:56 -07:00
Eric Amodio
a6e6e1f70b Moves moveViews command - re: #110583 2021-07-08 19:42:33 -04:00
Eric Amodio
55868691ef Closes #128258: Adds ThemeIcon support 2021-07-08 18:56:30 -04:00
Eric Amodio
7b064adcd5 Preserve color from ThemeIcons in Timeline 2021-07-08 18:56:30 -04:00
Jackson Kearl
9006cc8268 Move to file/newFile... contribution point
Close #128136
2021-07-08 11:58:48 -07:00
Tyler Leonhardt
ba01bbac9c Remove deprecated auth API proposals. Fixes #127144 2021-07-08 10:38:23 -07:00
Martin Aeschlimann
c24621a3ce Finalize StatusBarItem.tooltip: MarkdownString. Fixes #128127 2021-07-08 09:57:00 +02:00
Raymond Zhao
be81d88a5e Add multiline text editors in settings editor (#127118)
Also adds an editPresentation prop with descriptions to the schema.
2021-07-07 14:35:16 -07:00
Henning Dieterichs
556f74ae55 Merge pull request #124996 from microsoft/hediet/isUndoRedo
Forwards the isUndoing/isRedoing flags to the extension host.
2021-07-07 17:57:24 +02:00
Logan Ramos
64081da3c8 Rename editorOverrideService closes #126603 2021-07-07 09:39:13 -04:00
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
rebornix
badabb990c freeze CommentController/Threadd through #value. 2021-07-05 16:09:17 -07:00
rebornix
92e91e9e47 re #115679. hide proxy from exthost comments. 2021-07-05 15:44:48 -07:00
rebornix
01759044cf re #115679. 2021-07-05 14:45:27 -07:00
Johannes Rieken
ee1e84d015 move open, open-diff to their places, https://github.com/microsoft/vscode/issues/110583 2021-07-05 10:12:30 +02:00
Johannes Rieken
3598075dd0 Merge branch 'joh/next' into main 2021-07-02 14:09:27 +02:00
Johannes Rieken
90197cbc94 use async-await in extHostLanguageFeatures, stop using asPromise 2021-07-02 12:18:48 +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
Eric Amodio
3cca828813 Fixes #127439: changes keys to a function 2021-06-30 18:02:11 -04:00
Alex Dima
7e05d8c9d9 Fixes #127626: Add try/catch around JSON.parse 2021-06-30 13:36:41 +02:00
Johannes Rieken
a17b649b05 fix getText(range) of concat document 2021-06-30 10:38:34 +02:00
rebornix
0ddca0a62b re #127539. restore iw input model on tab switching. 2021-06-29 23:26:25 -07:00
Alex Dima
cc52823098 Fix browser integration tests 2021-06-29 08:12:27 +02:00
Alex Dima
b1b44a3910 Acquire a lock before using a certain workspace storage directory and fall back to other directories if necessary 2021-06-29 00:27:04 +02:00
Johannes Rieken
ff8d58b524 use debounce emitter for extHostDiag, https://github.com/microsoft/vscode/issues/123487 2021-06-28 14:36:39 +02:00
rebornix
bfac07cd0e de-ref interactive input on interactive nb close. 2021-06-27 13:54:17 -07:00
Benjamin Pasero
4d814ae6f8 transient workspaces - add to schema 2021-06-26 10:12:52 +02: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
Johannes Rieken
b57065709d adopt allSettled in AsyncEmitter and move back into event.ts, https://github.com/microsoft/vscode/issues/121144 2021-06-25 14:24:12 +02:00
João Moreno
8d7db6955d remove proposal check
closes #124263
2021-06-25 11:49:37 +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
6a76c62232 testing: remove data from TestItems
Data was viral and spread generics all over the place. It was also
hard to type correctly and consistently, which ended up in the type
being `any` unless great care was taken.

This removes the `data`. Instead, consumers can use a `WeakMap<TestItem, T>`
to keep data associated with the test item. This is a similar pattern
to what is used to store data about documents and debug sessions, for
example. Here's an example of a migration:

8fdf822985 (diff-2fe3ad6ad19447c57c5db14c5a6ccb5544944494db6b909540d70ea499784b49R9)
2021-06-24 12:02:49 -07:00
Connor Peet
dd771de867 testing: update extHostTypeConverters 2021-06-23 12:53:08 -07:00
Connor Peet
df5cd47784 testing: update test item async resolving
See https://github.com/microsoft/vscode/issues/126987#issuecomment-867031454
This commit makes the following changes:

- Keep the `resolveChildrenHandler`, and remove the CancellationToken parameter
- Remove `TestITem.status` and instead have `TestItem.canResolveChildren?: boolean`
- Add `TestItem.busy?: boolean`. Note that the UI would implicitly show
  the item as busy while `resolve` is being called. (This is a new feature)

Upgrading to account for these changes should take around 10 to 20 minutes:

1. Where you previously set `item.status = vscode.TestItemStatus.Pending`,
   instead set `item.canResolveChildren = true`.
2. If you used the cancellation token in resolveChildrenHandler, you no
   longer need to do so. What you do here instead is up to you:

	 - If you set up global workspace watchers, add those to `context.subscriptions`
	 - You _probably_ don't need to set up watchers for "file" test items,
	   since you will receive updates via `vscode.workspace.onDidChangeTextDocument`
		 and/or any FileWatcher you have set up.

Example of an update: 7287c64bf7
2021-06-23 12:50:06 -07:00
Connor Peet
fc0ee4e4bc testing: pass test item in context menu actions
Fixes #126646
2021-06-22 18:47:25 -07:00
Connor Peet
751f8729dc protocol: refactor to use enum for marshalled object ids 2021-06-22 18:47:25 -07:00