Commit Graph

432 Commits

Author SHA1 Message Date
João Moreno 1268f86ac7 add common.platformDetail in telemetry (#121264) 2021-04-19 11:51:44 +02:00
Martin Aeschlimann 1f385f70e6 reduce usage of extensionDevelopmentLocationURI 2021-04-16 11:30:39 +02:00
Benjamin Pasero 1968bda7e6 platform#IProcessEnvironment is badly typed (fix #119046) 2021-03-30 19:05:44 +02:00
Benjamin Pasero 3a2a24e452 cli - set VSCODE_CLI earlier (#119660) 2021-03-29 14:20:45 +02:00
Sandeep Somavarapu d96f34c867 Fix #38607 2021-03-19 09:46:55 +01:00
Benjamin Pasero 68a252ea77 environment - depend on product service 2021-03-15 11:56:03 +01:00
Benjamin Pasero 1441ba91f0 environment - consistently handle VSCODE_CWD in all our node.js processes 2021-03-15 11:22:42 +01:00
Benjamin Pasero 640fa1af29 debt - use product service in more places 2021-03-15 09:49:11 +01:00
Benjamin Pasero 5a8936ae63 Lift native text file service to electron-sandbox (#118815)
* sandbox - lift native text file service to electron-sandbox

* polish docs and ensure tests actually run

* add write unlock capability

* do not use fs constants (fix tests)
2021-03-12 13:52:00 +01:00
Benjamin Pasero 0ef6619a3e services - use refineServiceDecorator for environment (#117881) 2021-03-04 17:12:44 +01:00
Benjamin Pasero f0d62c6ec2 💄 more main.ts cleanup 2021-02-12 08:30:21 +01:00
Benjamin Pasero f82462ba7c debt - move shellEnv to platform 2021-02-10 07:49:11 +01:00
Sandeep Somavarapu 2baf63ad00 use logger service for output appenders 2021-02-07 13:10:15 +01:00
Sandeep Somavarapu cdc8628d55 rename log service to logger 2021-02-05 11:38:39 +01:00
Benjamin Pasero a17c656c33 fs - some polish around file services 2021-02-03 10:32:30 +01:00
Benjamin Pasero a0d76bb983 fs - drop pfs.mkdirp in favor of node.js 2021-02-02 15:04:36 +01:00
Benjamin Pasero bf93e45b9c files - document file modes we use 2021-01-25 17:16:32 +01:00
Benjamin Pasero bd929b33de logging - put storage tracing behind a flag to reduce spam 2021-01-22 17:32:39 +01:00
Sandeep Somavarapu e7d3eb87cb 💄 2021-01-21 17:11:24 +01:00
Benjamin Pasero 6c4203f748 Modernize CLI main (#114623)
* code catchup

* state service - actually implement interface

* refactor cli main to follow our patterns

* 💄
2021-01-20 16:07:21 +01:00
Benjamin Pasero 9deba1b10a code catchup 2021-01-20 10:35:19 +01:00
Martin Aeschlimann bf90bd1518 cliProgressMain: add LocalizationsService to ServiceCollection 2021-01-18 15:09:10 +01:00
Martin Aeschlimann 84865c05ec Merge branch 'master' into aeschli/remoteCLIExtensionsManagement 2021-01-18 11:30:21 +01:00
Martin Aeschlimann 22e02e0080 use URI for VSIX paths 2021-01-18 11:16:53 +01:00
Benjamin Pasero ff9fbcb077 telemetry - lift some helpers to electron-sandbox 2021-01-18 08:48:10 +01:00
Martin Aeschlimann c198925570 extensionsManagement for remote CLI 2021-01-15 15:39:13 +01:00
Tyler James Leonhardt 732d4ff89e Make PowerShell 7 default if available and show in choose shell menu (#112768)
* make PowerShell 7 default if available and show in choose shell menu

* misc feedback

* better handle ARM and use pfs everywhere also update pfs to handle AppExecLinks

* fix test

* move to async

* add logging

* powershell global tool is in the image apparently

* have path test be the same

* try/catch the readlink

* await exists

* fix test

* check what arch node is

* fix indexes

* address daniel's feedback

* have getProgramFilesPath return null instead
2021-01-11 15:38:03 -08:00
Rob Lourens dce22cf74b Fall back on node API when $SHELL is not set, for
user shell and shell environment discovery
See github/codespaces#1639
2020-12-14 09:36:00 -08:00
Sandeep Somavarapu 5c2127ec74 Fix #110964 2020-11-26 19:49:39 +01:00
Benjamin Pasero 96b2c670d7 debt - extensions path is always defined 2020-11-25 09:59:55 +01:00
Benjamin Pasero 52098eaeb0 env - tweak shell resolve experience on startup 2020-11-22 09:44:22 +01:00
Benjamin Pasero ff1887be3e Preserve per-window environment variables between workspace changes (fix #108571) 2020-11-20 16:08:50 +01:00
Benjamin Pasero fb277edc0f env - take window configuration into account when resolving shellEnv 2020-11-20 15:21:59 +01:00
Benjamin Pasero 6fdc79d81a env - set timeout back to 10s but show warning when it takes long 2020-11-20 09:59:29 +01:00
Sandeep Somavarapu 145c6e5beb #110905 also optimise for builtin extensions arg 2020-11-19 18:31:53 +01:00
Sandeep Somavarapu b0d577c1b7 update doc 2020-11-19 13:04:21 +01:00
Sandeep Somavarapu 22895e9856 Introduce a server method to check if extensions are ready on server 2020-11-19 12:54:31 +01:00
Sandeep Somavarapu a36c68b9ec Fix #110905 2020-11-19 03:23:22 +01:00
Sandeep Somavarapu d3057c54c8 remove console.time 2020-11-17 16:21:33 +01:00
Sandeep Somavarapu 7bf226cf50 add console log service to cli 2020-11-17 16:07:48 +01:00
Benjamin Pasero b25867b709 Support --diff parameter with reading from stdin (fix #110426) 2020-11-17 08:27:31 +01:00
Sandeep Somavarapu 0ec4ce387d Fix #110574 2020-11-13 15:31:27 +01:00
Sandeep Somavarapu 88144f6d31 Fix #80698
- Inline semver
2020-10-26 12:12:07 +01:00
Sandeep Somavarapu b813399093 - use --install-builtin-extension arg instaed of --builtin flag to install builtin extension
- speed up installing extensions in cli
2020-10-22 22:31:52 +02:00
Sandeep Somavarapu 03912754be support user built in extensions 2020-10-09 17:08:38 +02:00
Sandeep Somavarapu 847f289f36 use async await 2020-10-09 09:08:49 +02:00
Sandeep Somavarapu 13b3a9f5c8 Revert "remove support for disabling syncing extension from cli"
This reverts commit 219a470363.
2020-10-09 09:08:49 +02:00
Sandeep Somavarapu 312a812441 Fix #108250 2020-10-07 19:10:55 +02:00
Benjamin Pasero 38a3d69caf code 💄 2020-10-05 08:06:13 +02:00
Sandeep Somavarapu 219a470363 remove support for disabling syncing extension from cli 2020-09-29 00:13:11 +02:00