Commit graph

84108 commits

Author SHA1 Message Date
Johannes Rieken 24f9000e97
merge CompletionItemLabel into CompletionItem#label, https://github.com/microsoft/vscode/issues/39441 2021-06-22 14:35:31 +02:00
Daniel Imms 96e6d1c933 Add padding to edge of pointer hover to allow mouse to hover
Fixes #126888
2021-06-22 05:19:14 -07:00
Daniel Imms 4e28e2c6c5 Ignore pointer events on the hover pointer
This will make them pass through so the target/hover tracker works properly

Part of #126888
2021-06-22 05:19:14 -07:00
Johannes Rieken a2c4a0ca8c
use label, detail, and description for CompletionItemLabel, tweak rendering, https://github.com/microsoft/vscode/issues/39441 2021-06-22 13:59:42 +02:00
Dirk Baeumer 9cfc4bcb5c
Improve wording for failing test case 2021-06-22 13:30:29 +02:00
Benjamin Pasero e490174a3a
history - stop using heavy typed editor inputs for reopening closed editors (#126728) 2021-06-22 11:36:20 +02:00
Johannes Rieken a17d538206
rendering tweaks for complex completion labels, https://github.com/microsoft/vscode/issues/39441 2021-06-22 09:32:57 +02:00
Benjamin Pasero d54f7e1f6c
windows - do not break watcher loop (fix #126813) 2021-06-22 09:03:17 +02:00
Christof Marti cd191c292b Add cacheFrom (microsoft/vscode-remote-release#3245) 2021-06-22 08:45:18 +02:00
Benjamin Pasero a4af16ee04
api tests - do not kill process on load errors (fix #125733) 2021-06-22 08:16:07 +02:00
Benjamin Pasero 2a8674f8e8
Add support for transient property in workspaces and prevent window reloads (#119695) 2021-06-22 07:32:22 +02:00
Miguel Solorio f07184772a Remove useActiveIcons list option (Refs #126514) 2021-06-21 21:15:18 -07:00
meganrogge 59bf07c7a7
fix #126875 2021-06-21 21:02:46 -07:00
Rob Lourens ddb6a3fdc6 Split cell execution statusbar item contribs into individual contribs 2021-06-21 18:28:48 -07:00
Rob Lourens 487b51514c Fix possible cell execution statusbar item race 2021-06-21 18:28:48 -07:00
rebornix 71771bbb53
Revert "dispose restored editor input."
This reverts commit 4da8105965.
2021-06-21 18:11:45 -07:00
Jackson Kearl d301ca55b6
Move to "See More" model for category list growth management 2021-06-21 17:41:18 -07:00
rebornix f7f4189a35
disable contribs on interactive cell inputs. 2021-06-21 17:39:29 -07:00
rebornix 8883fbebe6
fix compile 2021-06-21 14:52:20 -07:00
rebornix c4f2b464bb
bump distro 2021-06-21 14:20:11 -07:00
Daniel Imms 1e69ffdc9e Support terminal editor -> panel dnd
Fixes #126633
2021-06-21 14:02:58 -07:00
Connor Peet d2452acfbd
Merge branch 'test-api-refactors' 2021-06-21 13:56:16 -07:00
rebornix 8e9f7cd65d
Merge branch 'notebook/dev' into main 2021-06-21 13:54:18 -07:00
rebornix 4da8105965
dispose restored editor input. 2021-06-21 13:52:53 -07:00
Daniel Imms ad6a61fe93 Refine move terminal command names 2021-06-21 13:52:36 -07:00
Daniel Imms 7049ac62b2 Remove log 2021-06-21 13:34:32 -07:00
Daniel Imms 1462afbfa6 Add move to editor instance command/ctx menu
Fixes #126255
2021-06-21 13:24:51 -07:00
Daniel Imms 6e0eb70595 View -> Panel
Part of #126255
2021-06-21 13:20:22 -07:00
Daniel Imms 6c8b777917 Add move to editor inline ctx menu entry
Part of #126255
2021-06-21 13:19:39 -07:00
Rob Lourens bffdb427c7 Dispose IMenus properly
Fix #126365
2021-06-21 13:04:12 -07:00
rebornix 79ab6d7988
proper lifecycle for interactive input 2021-06-21 12:47:15 -07: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
Jackson Kearl 6446b3a8e5
Fix spelling 2021-06-21 09:49:56 -07:00
Jackson Kearl 60ad49e4dc
Close #126816 Close #126820 2021-06-21 09:46:08 -07:00
Jackson Kearl dd250ada56
Update ordering of new items 2021-06-21 09:46:08 -07:00
Jackson Kearl 67f29eb369
Remove duplicate "new" 2021-06-21 09:46:07 -07:00
SteVen Batten 248e2e3265 fixes #126133 2021-06-21 09:40:16 -07:00
Ladislau Szomoru 4f253ab46c
Fix #126663 2021-06-21 18:08:22 +02:00
rebornix 2c43db93fc non file based hot reload 2021-06-21 08:28:28 -07:00
Logan Ramos 35e5edda77
Add untype editor support to findTargetGroup 2021-06-21 11:10:30 -04:00
Alex Dima 4f222a8730
Fixes #126808: Convert file: URIs to vscode-file: also in the web worker extension host when executing on the desktop. 2021-06-21 17:05:18 +02:00
Alex Dima e858514925
Use trusted types for nested web workers 2021-06-21 17:05:18 +02:00
Dirk Baeumer 260b0e119f
Make localization smoke test DOM independent. 2021-06-21 16:56:02 +02:00
Benjamin Pasero 994a6c197b
file watcher - have a interface for raw events (maybe #126813) 2021-06-21 16:52:11 +02:00
Ladislau Szomoru 56962a3fec
Uncomment empty workspace tests 2021-06-21 16:37:36 +02:00
Christof Marti 6ceb014b80 updateRemoteUserUID, overrideCommand (microsoft/vscode-remote-release#2228, microsoft/vscode-remote-release#1200) 2021-06-21 16:28:03 +02:00
Logan Ramos 9ce9871136
Get rid of unncessary cast 2021-06-21 10:10:51 -04:00
Logan Ramos 4c9f286f3e
Move DEFAULT_EDITOR_ASSOCIATION 2021-06-21 10:05:33 -04:00
Logan Ramos e79612d158
Move UntypedEditorInput 2021-06-21 09:59:17 -04:00
Daniel Imms 17b2d1c979 Fix terminal editor scroll bar styles
Fixes #126501
2021-06-21 06:54:37 -07:00