Commit Graph

3236 Commits

Author SHA1 Message Date
Alex Dima
a045f3f48a Send all extension descriptions to all extension hosts (#145307) 2022-04-20 15:06:31 +03:00
Connor Peet
0de44f9786 variables: allow resolving extensionDir (#146274)
* variables: allow resolving `extensionDir`

This allows us to fix https://github.com/microsoft/vscode-remote-release/issues/5516#issuecomment-911597917

It enables a new replacement in the format `${extensionDir:<id>}` which
will expand to the filesystem path where the extension is stored. This
involved churn, since now resolution is always synchronous (where before
the terminal took a synchronous-only path.)

Additionally, changes were needed to inject this information in the
variable resolver. As part of this I made the extension host resolver
(used by debug and tasks) its own extension host service.

* fixup! preserve object key order in resolution, add extensionDir support

* fixup! address pr comments

* fixup! address pr comments

* fixup! address pr comments

* config: fix config replacement only working for first variable per line

* fixup! fix unit tests
2022-04-07 08:06:31 -07:00
Martin Aeschlimann
14d04974ae Error when invoking the open external command: Error in response: Unable to parse response as JSON. Fixes microsoft/vscode-remote-release#6412 2022-03-23 17:56:27 +01:00
Benjamin Pasero
aa4765b0ac history - fix settings to appear in timeline 2022-03-17 07:19:12 +01:00
Benjamin Pasero
ef70f99af7 tangle - extract common window (#141154) 2022-02-14 08:30:18 +01:00
Martin Aeschlimann
6fc45ef5c7 Latest update breaks due to proxy requirement. Fixes #142201 2022-02-07 21:04:24 +01:00
Benjamin Pasero
bf1c9e9391 debt - untangle workspace <=> workspaces (part 1, #141154) 2022-02-07 17:30:09 +01:00
Bruce Hopkins
1a17c0f2ef Add user home variable (#141902) 2022-02-07 16:21:39 +01:00
Logan Ramos
7cde1becc6 Huge telemetry reduction 🎉 2022-02-04 14:34:09 -05:00
Alex Dima
ed54b04b4f Simplify uri transformer creation 2022-02-04 16:22:18 +01:00
Johannes Rieken
9c04bd5cc6 remove tangle between extHost.protocol and extHostTunnelService, fyi @roblourens 2022-02-04 09:53:50 +01:00
Alex Dima
3c9a85367b Merge extensionHostProcessSetup.ts into extensionHostProcess.ts 2022-02-03 22:48:22 +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
Martin Aeschlimann
5abc4e0071 remote cli: improve error handling over the pipe 2022-02-02 14:22:01 +01:00
Rob Lourens
6820250dd8 Avoid import from workbench/contrib/debug to api
See #141921
2022-02-01 18:41:07 -08:00
Alex Dima
04cc454cf5 Move extension host IInitData to /workbench/services (#141003) 2022-01-31 17:22:03 +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
87140b9f95 Move extensionHostProcess.ts to /workbench/api/ (#141003) 2022-01-31 15:58:39 +01:00
Alex Dima
8f185676b7 Move tunnel service to its own folder (#141154) 2022-01-21 17:05:51 +01:00
Alex Dima
3b5afe84e8 Fixes #140997: Move server entry points to src/ 2022-01-20 09:31:00 +01:00
Alex Ross
c393048b98 Move tunnel features (#140620) 2022-01-13 12:13:40 +01:00
Connor Peet
3d1576a655 exthost: allow aliasing required modules for back compat
Fixes #140585
2022-01-12 12:10:07 -08:00
Martin Aeschlimann
d3aabc5449 remoteCli: support opening new windows, including other remotes and locals. Fixes #137529 2021-11-19 22:06:53 +01:00
Sandeep Somavarapu
af67d7303c add note why spdlog is used in ext host 2021-11-17 11:00:09 +01:00
Sandeep Somavarapu
37acec6394 - clear formatters while creating the spdlog logger
- fix name of the logger
2021-11-10 10:26:16 +01:00
Sandeep Somavarapu
ecf994ecfa - Use logger service to create output appender
- Unify output channels and services in ext host
- remove unused main output service methods
2021-11-08 21:15:31 +01:00
Sandeep Somavarapu
a1de3ce2a5 introduce logger service in ext host and use it to create log service 2021-11-08 17:46:50 +01:00
Sandeep Somavarapu
10c3fec7fb #132183 clean up
- Use FileOutputChannelModel for OutputChannelBackedByFile
- Rename replaceAll to replace
- simplify exthost output service and channel impl
- enhance update api
2021-11-08 14:47:27 +01:00
Sandeep Somavarapu
3afa5c6420 - Do not send replace content from ext host
- implement replaceAll in the model
- cancel all model update operations on replace request
- queue append operation after replace
- clean ups
2021-11-06 13:46:18 +01:00
Simon McEnlly
1cd23628b3 Address some feedback from pull request: https://github.com/microsoft/vscode/pull/136402 2021-11-05 13:20:49 +10:00
Simon McEnlly
0603dcd867 Add replaceAll method to OutputChannel to improve render flickering for extensions with minimal output contents; associated with https://github.com/microsoft/vscode/issues/132183 2021-11-03 15:35:53 +10:00
Alex Dima
a30ea744d0 Improve logging 2021-10-22 14:45:20 +02:00
Benjamin Pasero
d5ecf7e9d8 fs - some 💄 and enabling of graceful-fs centrally 2021-10-21 07:17:37 +02:00
Matt Bierner
bc76074ada Revert "Improve logging"
This reverts commit 4bba4f2554.
2021-10-14 17:02:58 -07:00
Alex Dima
4bba4f2554 Improve logging 2021-10-14 22:47:48 +02:00
Benjamin Pasero
80ca5cfdba debt - do not directly use node.js path module 2021-10-04 14:13:30 +02:00
Alex Ross
a15378a9db Allow tunnel providers to define port privacy options (#133677) 2021-09-23 16:24:51 +02:00
Jean Pierre
ae0ec56d90 Fixes #133044 (#133046) 2021-09-14 08:24:39 -07:00
Rob Lourens
55a5583236 Fix #131632 2021-08-31 08:19:20 -07:00
meganrogge
f810da250e Fix build 2021-08-23 12:35:30 -07:00
meganrogge
1c324f820b move splitActiveTerminal into location 2021-08-23 09:50:20 -07:00
meganrogge
c1427cc329 fix #131263 2021-08-20 15:57:04 -07:00
Megan Rogge
d3db2d1062 Add terminal location API (#131028) 2021-08-19 19:08:06 -07:00
Rob Lourens
18f1c7c180 Fix text search type telemetry 2021-08-19 08:03:58 -07:00
Rob Lourens
76f99cdd6a Fix file search type telemetry in EH 2021-08-19 08:03:58 -07:00
Rob Lourens
188c29a419 Change forceExtensionHostSearch strategy for easier testing 2021-08-19 08:03:57 -07:00
Rob Lourens
9ef2f07234 Add a setting forcing search to run in EH 2021-08-19 08:03:57 -07:00
Alex Ross
bedf59228c Fix user tasks in single file mode 2021-07-28 14:41:45 +02:00
Alex Dima
69e8f8ea0c Fixes #128528: Skip acquiring workspace storage locks on the local nodejs extension host 2021-07-14 10:58:15 +02:00
Connor Peet
73f3a2726e debug: use icon for debug terminals
Fixes #128251
2021-07-09 12:56:02 -07:00