Commit Graph

998 Commits

Author SHA1 Message Date
Logan Ramos
f932fd6ae4 Add isDirty 2022-02-16 15:35:49 -05:00
Alex Ross
e5f7dff1a7 Make tree dnd handleDrop optional 2022-02-16 09:19:09 +01:00
Alex Ross
a64e8e5673 Tree dnd feedback 2022-02-11 13:36:31 +01:00
Logan Ramos
ec9df1d972 Update tabs model to utilize the new API shape (#142668)
* Change shape of the tabs API

* Disable tab tests for now

* Add an onDidChangeTabGroup event

* Optimize for group activate

* Update events to no longer be an array

* Further tab optimization
2022-02-10 15:09:11 -05:00
Johannes Rieken
609eea3a30 add an API proposal for DocumentFilter#notebookType, https://github.com/microsoft/vscode/issues/141143 2022-02-10 17:03:16 +01:00
Sandeep Somavarapu
d20ffc5f82 cleabn up 2022-02-09 15:09:53 +01:00
Sandeep Somavarapu
c4e265c947 Merge branch 'main' into pr/gjsjohnmurray/140876 2022-02-09 13:45:28 +01:00
Johannes Rieken
d84b15dd8c dto-ify arguments of proxied types 2022-02-08 11:01:23 +01:00
Connor Peet
1e41d52904 testing: refactor to avoid complex object in ext host comms
For #140975
2022-02-07 15:37:02 -08:00
Tyler Leonhardt
757b70873e move Auth types to a better location 2022-02-04 16:53:37 -08:00
Tyler Leonhardt
6dcfe5c46e ensure interface in extHost doesn't have any functions 2022-02-04 16:08:03 -08:00
Alex Dima
6136c815bc Renames 2022-02-04 15:01:44 +01:00
Johannes Rieken
9c04bd5cc6 remove tangle between extHost.protocol and extHostTunnelService, fyi @roblourens 2022-02-04 09:53:50 +01:00
Megan Rogge
6b0442b315 finalize terminal disablePersistence API (#141898) 2022-02-04 00:06:48 -06:00
rebornix
5212a82cc8 re #141921. -workbench/api in notebookService. 2022-02-03 16:38:40 -08:00
Alex Ross
2c3d342cf7 Add cancellation token to tree dnd 2022-02-02 15:02:20 +01:00
Alex Ross
7047c7590e Add dragMimeTypes to tree dnd 2022-02-02 14:59:47 +01:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
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
John Murray
de98d7574c Merge branch 'main' into output-channel-language 2022-01-17 21:44:38 +00:00
gjsjohnmurray
1ecb5f53a7 Add optional languageId to window.createOutputChannel API (#19561) 2022-01-17 21:29:04 +00: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