Commit Graph

978 Commits

Author SHA1 Message Date
Rob Lourens
14290dc9d4 Remove import from workbench/contrib/debug/ to workbench/api
See #141921
2022-02-01 18:36:07 -08:00
Alex Dima
d6eb7e40e5 Get the proxy to the extension host via IExtHostContext to avoid depending on extHost.protocol.ts (#141003) 2022-01-31 23:53:26 +01:00
Alex Dima
e2541e9263 Move extHostCustomers.ts to workbench/services (#141003) 2022-01-31 19:57:21 +01:00
Alex Dima
04cc454cf5 Move extension host IInitData to /workbench/services (#141003) 2022-01-31 17:22:03 +01:00
Alex Dima
fec88d2ccd Move ExtensionActivationReason to `workbench/services' (#141003) 2022-01-31 17:11:31 +01:00
Alex Dima
24569c613e Rearrange files to better separate between workbench/api and workbench/services (#141003) 2022-01-31 16:14:21 +01:00
Alex Dima
24081690c2 Use interface instead of implementation for the proxy identifier 2022-01-31 15:44:06 +01:00
Johannes Rieken
ffdeff7b55 show error when inlay hints command fails, annotate error with source (e.g extension name), fixes https://github.com/microsoft/vscode/issues/141588 2022-01-27 10:47:15 +01:00
Alex Dima
d8ca757f2b Move ISingleEditOperation to /core/ (#141174) 2022-01-21 20:35:35 +01:00
Alex Dima
df551b856e Move change interfaces to diffComputer (#141174) 2022-01-21 19:58:00 +01:00
Alex Dima
8f185676b7 Move tunnel service to its own folder (#141154) 2022-01-21 17:05:51 +01:00
Ladislau Szomoru
ab914793d5 SCMActionButton overflow improvements 2022-01-21 16:16:08 +01:00
Alex Ross
454dce4c53 Fix string comment body displayed as markdown
Fixes #140967
2022-01-21 14:14:20 +01:00
Alex Ross
8b27820fb2 Comment detail should be timestamp
Part of #139524
2022-01-21 13:21:17 +01:00
Logan Ramos
4475ae1240 More granular telemetry API (#141086)
* Initial implementation of proposed telemetry API

* TelemetryDetails -> TelemetryConfiguration + proposed guards
2022-01-20 13:34:03 -05:00
Johannes Rieken
15db136c3c use Dto<T> util in more places, some clean-up/alignment of caching logic 2022-01-19 15:12:22 +01:00
Johannes Rieken
1a4e88be88 Merge pull request #140927 from microsoft/joh/dtooooo 2022-01-19 13:59:23 +01:00
Johannes Rieken
31ad3f54ff Revert enforcing argument dto'ing because it seems buggy with the compiler 2022-01-19 10:55:39 +01:00
Johannes Rieken
367f9f6ea2 make Proxied-type also enforce dto'ed arguments 2022-01-19 10:00:33 +01:00
Rob Lourens
07b7831746 NotebookExecutionStateService - createCellExecution returns an execution object. For #125668 2022-01-18 10:14:24 -08:00
Johannes Rieken
18ea5bd715 have one Dto-type, drop functions, move into proxyIdentifier-file 2022-01-18 18:24:05 +01:00
Johannes Rieken
3932b0118c make sure that proxied functions return dto'ed types 2022-01-18 18:07:08 +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
Joao Moreno
8a928f98ea ipc api: MessagePort.start() needs to be called, so events start flowing 2022-01-14 14:09:21 +01: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
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
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
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
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
Alex Dima
973684056e Rename modes to languages 2021-12-30 18:52:15 +01: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
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
Alex Ross
30e8da8a0f Enable tree drag and drop across trees (#139567) 2021-12-21 11:25:10 +01:00
Matt Bierner
12ff67ad9d Use SerializableObjectWithBuffers instead of spread
Fixes #137757
2021-12-10 17:20:44 -08:00
Megan Rogge
e1c0b0dd25 allow extension terminals to opt-out of persistence #118726 (#138884) 2021-12-10 14:53:06 -08:00
Johannes Rieken
84fce54d28 send file system info with dummy uri, https://github.com/microsoft/vscode-remote-release/issues/5714
this ensures uris undergo transformation and therefore file and vscode-remotes are handled correctlly
2021-12-06 10:35:48 +01:00