Commit Graph

2838 Commits

Author SHA1 Message Date
Alex Ross
e37dfbde3c More tree dnd feedback 2022-01-19 13:27:15 +01:00
Johannes Rieken
8ef8933a1a incorporate API feedback, https://github.com/microsoft/vscode/issues/16221 2022-01-19 09:23:48 +01:00
Rob Lourens
07b7831746 NotebookExecutionStateService - createCellExecution returns an execution object. For #125668 2022-01-18 10:14:24 -08:00
Johannes Rieken
f30e6a710d make trace provider logging more minification friendly 2022-01-18 14:47:05 +01:00
Johannes Rieken
7718b8ef72 make token to race against mandatory optional, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:38:56 +01:00
Johannes Rieken
56a830bc68 on ext-host race selection ranges, workspace symbols, and document symbols against cancellation, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:33:07 +01:00
Johannes Rieken
57eaad7de3 on the ext-host, race call and type hierarchy against cancellation so save bandwidth, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:25:20 +01:00
Johannes Rieken
19e3ef41bd In the ext-host, race goto-symbol features against cancellation, https://github.com/microsoft/vscode/issues/140557 2022-01-18 13:08:25 +01:00
Johannes Rieken
dd9530515c fold createExtHostContextProxyIdentifier and createMainContextProxyIdentifier into one, fyi @alexdima 2022-01-18 08:49:21 +01:00
Johannes Rieken
393443eb40 Let IRPCProtocol#getProxy return Proxied<T> which enforces functions returning promises
fyi @sandy081 had to remove the overload of `MainThreadOutputServiceShape#$update` because I couldn't get this to work with mapped types

fyi @Tyriar this fixed an actual issue with terminals
2022-01-17 18:10:20 +01:00
Benjamin Pasero
579e0a39c2 Cleanup GlobPattern handling in extension host (#140689)
* rewrite `NotebookExclusiveDocumentPattern` handling (#140491)

* 💄

* also fix #140707

* address feedback
2022-01-17 14:21:10 +01:00
Johannes Rieken
ad5dd4e736 add trace logging for inlay hint adapter, ignore out of range hint silently 2022-01-14 16:05:27 +01:00
Johannes Rieken
fde8aca38e workaround GlobPattern#from issue, fyi @bpasero 2022-01-14 14:59:01 +01:00
Joao Moreno
8a928f98ea ipc api: MessagePort.start() needs to be called, so events start flowing 2022-01-14 14:09:21 +01:00
Daniel Imms
5f5f01bcd1 Merge pull request #140635 from microsoft/tyriar/capabilities_cleanup
Terminal capabilities cleanup
2022-01-13 10:51:41 -08:00
Alex Dima
43f35c10ab Add logging to troubleshoot remote integration tests hangs (#140572) 2022-01-13 17:31:00 +01:00
Alex Ross
047901a24a More tree dnd renameing 2022-01-13 17:16:57 +01:00
Daniel Imms
7f2580fa2e Remove ProcessCapability 2022-01-13 07:36:11 -08:00
Benjamin Pasero
e3cf7e5e1b API: Allow to use the file watcher for aribitrary folders (#3025) (#139881)
* API: Allow to use the file watcher for aribitrary folders (#3025)

* fix tests

* update `createFileSystemWatcher` docs

* refuse to watch resources that are watched in workspace already

* properly check proposed API

* make it work via `createFileSystemWacher` (first cut)

* more docs

* cleanup

* enable recursive watching based on pattern

* add tests

* drop out-of-workspace events when using simple patterns

* do not apply excludes when watchig files

* log extension watch requests

* also log unwatch

* improved exclude handling

* more docs

* drop proposed api needs

* remove `suite.only`

* cannot watch inside workspace more than once

* do not send extension decriptor over

* adopt latest changes

* add `baseUri` to relative pattern

* backwards compat
2022-01-13 13:32:03 +01:00
Alex Ross
c393048b98 Move tunnel features (#140620) 2022-01-13 12:13:40 +01:00
Alex Ross
adb8450420 Add timestamps to comments proposal (#139849)
Part of #139524
2022-01-13 11:33:43 +01:00
Connor Peet
3d1576a655 exthost: allow aliasing required modules for back compat
Fixes #140585
2022-01-12 12:10:07 -08:00
Johannes Rieken
e5703c8405 allow to race against cancellation when invoking _withAdapter, never log cancellation errors, https://github.com/microsoft/vscode/issues/140557 2022-01-12 16:17:39 +01:00
Alex Ross
4d1d73f6ef Revert "Add timestamps to comments proposal (#139849)"
This reverts commit b978d7150c.
2022-01-12 15:51:57 +01:00
Alex Ross
96b6511b5d Tree dnd proposal renames 2022-01-12 15:51:40 +01:00
Alex Ross
b978d7150c Add timestamps to comments proposal (#139849) 2022-01-12 14:41:23 +01:00
Johannes Rieken
1ab07c536a rename isPromiseCanceledError to isCancellationError, nudge folks towards CancellationError instead of canceled-function 2022-01-12 14:22:36 +01:00
Johannes Rieken
1a18335429 💄 simpliy typings around adapter logic 2022-01-12 09:46:52 +01:00
Johannes Rieken
8f8d0a9cc4 make sure inlay hints are within range asked for, https://github.com/microsoft/vscode/issues/16221 2022-01-12 09:20:08 +01:00
Johannes Rieken
d528769c4d don't send full ExtensionDescription when using message API 2022-01-11 13:57:30 +01:00
Benjamin Pasero
913952ac2e progress - do not send entire IExtensionDescription around 2022-01-11 12:59:56 +01:00
Johannes Rieken
1cfc360e4b drop and warn when inlay hint has empty label, https://github.com/microsoft/vscode/issues/16221 2022-01-11 09:36:29 +01:00
Connor Peet
fe0e9a96d3 testing: allow canceling test refresh 2022-01-10 15:09:08 -08:00
Sandeep Somavarapu
375506823f Merge branch 'main' into sandy081/fix140120 2022-01-08 00:37:53 +01:00
Sandeep Somavarapu
2766a74d2a - move migration into a util function
- extract extension storage methods to a separate service
2022-01-08 00:36:52 +01:00
Johannes Rieken
2586299c42 experiment with InlayHintLabelPart and source location as "anchor action",
https://github.com/microsoft/vscode/issues/129528
2022-01-07 20:47:33 +01:00
Connor Peet
a87cdeaec7 testing: add refresh action
For #139737
2022-01-06 13:02:51 -08:00
Johannes Rieken
3677cc48a8 support to resolve inlay hints for hover and for future display parts, https://github.com/microsoft/vscode/issues/129528 2022-01-06 16:30:04 +01:00
Johannes Rieken
0c933120f6 add InlayHint#tooltip and wire it up with hover participant, https://github.com/microsoft/vscode/issues/129528 2022-01-06 14:39:21 +01:00
João Moreno
5e630c145f Enable IPC API for web (#138054)
* wip: ipc api

* wip: send message ports upfront

* address both inside and outside iframe

* fix build

* relay MessagePort to worker

* address api discussion feedback

* check for proposed api

* fix layer breakage

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-01-05 02:11:12 -08:00
Sam Estep
faaeb6be41 Add option to not pass --no-ignore-parent to rg 2022-01-02 23:11:16 -05:00
Rob Lourens
a2655c2e5f prefer-const in notebooks 2021-12-30 14:25:09 -08:00
Alex Dima
973684056e Rename modes to languages 2021-12-30 18:52:15 +01:00
Benjamin Pasero
4cd3294855 rename mode => language in many places (#139920) 2021-12-30 12:40:30 +01:00
Rob Lourens
6ef8167fa8 Merge branch 'roblou/executionService' 2021-12-29 17:11:42 -08:00
Rob Lourens
f944a56538 Remove runState from cell internalMetadata. Expose execution state data from service.
For #125668
2021-12-29 15:46:36 -08:00
Connor Peet
90b1267d89 tests: fix not exiting if tests rejected with undefined
Fixes https://github.com/microsoft/vscode-test/issues/119
2021-12-29 09:09:39 -08:00
Rob Lourens
25d41d15f9 Split Execution and ExecutionState services 2021-12-28 13:44:18 -08:00
Rob Lourens
33d81fdc8c Improve NotebookExecutionService and cancel executions when closing the notebook, deleting cells, and changing the kernel 2021-12-28 13:42:01 -08:00
Alex Dima
365a3c23be Rename mode to language 2021-12-28 10:51:35 +01:00