text:
Error received from starting extension host when BackgroundShortcutRunner is in $TMPDIR

Issue Type: Bug
Overview
Upon opening of subsequent windows, VSCode fails to load/start the extension host.
Expected vs Actual
Expected:
Open VSCode
Open subsequent VSCode windows
VSCode runs
Actual:
Open VSCode
Open subsequent VSCode windows
VSCode runs, but without any extensions - thus, it is unusable
Reproduction Steps
For reproduction, it most reliably happens in this order:

Restart machine
Open a project in vscode
a. At this point it's worth noting that generally there are no problems at this point. But it has happened where even the first window exhibits the problem.
Open another project in vscode
At this point - generally - vscode is unusable as the extension host failed to start.

All subsequent windows fail to function, but the original window can still function as normal.
Up to now, the only way I have seen to resolve this issue is to restart my machine. And the other aspect is that it doesn't always happen with the reproduction steps. Sometimes it will run as normal. But it does seem to have started happening in the past month or so - sorry but I don't know what release it started after.
Stack Trace
With a clean slate, this was the output when running Restart Extension Host:
[2021-12-21 10:37:52.334] [renderer1] [error] Error received from starting extension host (kind: LocalProcess)
[2021-12-21 10:37:52.335] [renderer1] [error] Error: listen EADDRINUSE: address already in use /var/folders/hl/0bhmctbx6_qdyg701bqz4wfh0000gn/T/com.apple.WorkflowKit.BackgroundShortcutRunner/vscode-ipc-5ab648a9-d244-4c6d-9a80-7f2accc14d8d.sock
    at Server.setupListenHandle [as _listen2] (net.js:1301:21)
    at listenInCluster (net.js:1366:12)
    at Server.listen (net.js:1463:5)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2984:27713
    at new Promise (<anonymous>)
    at q._tryListenOnPipe (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2984:27554)
    at q.start (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2984:23414)
    at new es (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1557:5175)
    at y._createInstance (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:574:1354)
    at y.createInstance (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:574:773)
    at d (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1557:4437)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2982:31830
    at Array.forEach (<anonymous>)
    at jl._startExtensionHosts (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2982:31778)
    at jl.startExtensionHosts (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2982:32726)
    at async jl.restartExtensionHost (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2982:32939)

VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:37:28.172Z)
OS version: Darwin x64 21.2.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz (8 x 2000)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (1.02GB free)

Process Argv
. --crash-reporter-id 3bd0b795-da19-4cd2-95f1-3fc581bf676d

Screen Reader
no

VM
0%

Extensions (27)

Extension
Author (truncated)
Version

alpine-js-intellisense
adr
1.2.0

language-antlers
ahd
0.1.0

laravel-extra-intellisense
ami
0.6.1

laravel-blade-spacer
aus
2.1.3

vscode-intelephense-client
bme
1.8.0

vscode-tailwindcss
bra
0.7.4

path-intellisense
chr
2.6.0

livewire-vscode
cie
0.2.8

xml
Dot
2.5.1

vscode-great-icons
emm
2.1.79

json-tools
eri
1.0.2

php-debug
fel
1.22.0

php-pack
fel
1.0.2

beautify
Hoo
1.5.0

better-pest
m1g
0.1.0

php-namespace-resolver
Meh
1.1.8

dotenv
mik
1.0.1

python
ms-
2021.12.1559732655

vscode-pylance
ms-
2021.12.2

jupyter
ms-
2021.11.1001550889

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.4

test-adapter-converter
ms-
0.1.5

laravel-blade
one
1.28.0

markdown-preview-enhanced
shd
0.6.1

swdc-vscode
sof
2.6.19

vscodeintellicode
Vis
1.2.15

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstes627:30244334
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30384386
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vscop804:30404766
vs360cf:30404996
vsrem710cf:30416617
vscexrecpromp3c:30407761

It looks like the issue is caused by one of your installed extensions. All extensions execute together on a single nodejs process, so in order to narrow down the possible problematic extension, please try the following:

run F1 > Help: Start Extension Bisect
(this will restart VS Code with half of your extensions disabled)
try to do the steps which reproduce the problem
if the problem reproduces, click "This is bad" (this narrows down the problematic extension to the half which was enabled)
if the problem does not reproduce, click "Good now" (this narrows down the problematic extension to the half which was disabled)
these steps will repeat until the problematic extension is found

initial
step
final

Excellent. Thank you so much for the swift response and assistance. As is always the case, I can't currently reproduce the issue ha! But I will perform these steps the next time I can. If I can't resolve I will reopen this issue, but I will close this issue as I'm happy you have helped me out with what I need.
Thanks again 😃

I run into this constantly (when using multiple windows of VSCode) since upgrading to macOS Monterey, did the bisect and I don't think it's an extension:
[2021-12-22 09:53:52.950] [renderer6] [error] Error received from starting extension host (kind: LocalProcess)
[2021-12-22 09:53:52.951] [renderer6] [error] Error: listen EADDRINUSE: address already in use /var/folders/67/80ks66rx657977773c64v7mc0000gn/T/com.apple.WorkflowKit.BackgroundShortcutRunner/vscode-ipc-f55d407f-0628-4134-96ba-55bb4a92b0be.sock

This has to be related to com.apple.WorkflowKit.BackgroundShortcutRunner which I assume was introduced in macOS Monterey.

I run into this constantly (when using multiple windows of VSCode) since upgrading to macOS Monterey, did the bisect and I don't think it's an extension:
[2021-12-22 09:53:52.950] [renderer6] [error] Error received from starting extension host (kind: LocalProcess)
[2021-12-22 09:53:52.951] [renderer6] [error] Error: listen EADDRINUSE: address already in use /var/folders/67/80ks66rx657977773c64v7mc0000gn/T/com.apple.WorkflowKit.BackgroundShortcutRunner/vscode-ipc-f55d407f-0628-4134-96ba-55bb4a92b0be.sock

This has to be related to com.apple.WorkflowKit.BackgroundShortcutRunner which I assume was introduced in macOS Monterey.

Interesting. Stupidly I'd not really made the connection but yes, I've definitely seen it only since upgrading to Monterey. Good to know you've managed to run a bisect. And our error messages match, the 'Runner'...

@nedwors When creating the extension host process, we set up a domain socket for communication. The error you run into is Error: listen EADDRINUSE: address already in use /var/folders/67/80ks66rx657977773c64v7mc0000gn/T/com.apple.WorkflowKit.BackgroundShortcutRunner/vscode-ipc-f55d407f-0628-4134-96ba-55bb4a92b0be.sock
We create the socket in the $TMPDIR that is passed to vscode. On my machine, that looks like /var/folders/2_/8w0mdncx09n3mgprh3f3krjc0000gn/T/, but on your machine that contains the com.apple.WorkflowKit.BackgroundShortcutRunner segment too.
Can you please check:

that the $TMPDIR that is passed in to vscode is writable and does not have special permissions set
(optional) investigate why is vscode getting the segment com.apple.WorkflowKit.BackgroundShortcutRunner in the $TMPDIR

Hi,
So it just happened again. I ran the bisect but no joy, not related to any extensions (I ran it twice).
I checked the T folder and it had no special permissions etc.
I open code by either 1) running code . or 2) through file > new window/open etc. I open using code . more than through vscode.
It's really not anything I'm au fait with, but is it that the new Monterey Shortcuts (with their listeners etc) are conflicting? I often run a shortcut when starting my machine - but this shortcut does not open vscode. It opens my terminal from which I open using code . But I'm sure even if I haven't ran a Shortcut it can still bomb out.
As it's broken now, I'm going to restart and not run the shortcut upon start up to see if that changes anything.
(Also, I uninstalled and reinstalled the code . SHELL command using the command palette)

@nedwors Can you try echo $TMPDIR in your terminal? For me, it looks like this:
/var/folders/2_/8w0mdncx09n3mgprh3f3krjc0000gn/T/

My speculation is that for you that is:
/var/folders/67/80ks66rx657977773c64v7mc0000gn/T/com.apple.WorkflowKit.BackgroundShortcutRunner/

And that directory has an attribute that prevents creating domain sockets in it.

@alexdima

Do you by any chance have $XDG_RUNTIME_DIR set?
Here is the code on our side: https://github.com/microsoft/vscode/blob/030637f96ee808e816c299fceb4ce93c0d782462/src/vs/base/parts/ipc/node/ipc.net.ts#L712-L717 so we either use $XDG_RUNTIME_DIR or otherwise os.tmpdir(). So somehow, in your environment, one of those returns com.apple.WorkflowKit.BackgroundShortcutRunner as a segment.

Sorry for the ignorance, how would I determine if that was the case? I have never consciously edited anything for that, but more than happy to check if I know how to...

(optional) investigate why is vscode getting the segment com.apple.WorkflowKit.BackgroundShortcutRunner in the $TMPDIR. Maybe you are launching vscode in a very special way?

Oooohhh! I start all my essential applications via a Shortcut from the menu bar 🤦🏻♂
And that's how the com.apple.WorkflowKit.BackgroundShortcutRunner segment is getting into the path.
If I quit VSCode completely, everything works normally.

@iwittkau - so if you quit vscode and then reopen you see it work again? I've never been able to resolve it without restarting my mac...

@nedwors yes, I can even reproduce it now:
This is how it won't work:

This however works:

VSCode should not be running before you run the Shortcut.

@iwittkau Ok. For myself, I don't open vscode via the shortcut. And also, even if I open vscode after a shortcut, I still see the issue.
But good to narrow it down some more.
Cool it's working for you 👍

I can confirm that echo $TMPDIR returns com.apple.WorkflowKit.BackgroundShortcutRunner as the last path segment if you start VSCode via a Shortcut.
@nedwors are you using any other 3rd party tools or does starting your computer involve anything with Shortcuts?

I don't and it doesn't.
But now I know what to look out for I will. Next time I get the error I will echo $TMPDIR too.

@iwittkau Could you please create some simple steps that I could follow to reproduce the failure? (I'm personally not super familiar with Shortcuts).

I just noticed that using the command line tool code also adds the com.apple.WorkflowKit.BackgroundShortcutRunner to $TMPDIR.
Version info:
$ code -v
1.63.2
899d46d82c4c95423fb7e10e68eba52050e30ba3
x64

Creating a shortcut:

Open Shortcuts.app on macOS Monetery
Hit ⌘+N to create a new Shortcut
Add the "Open App" action from the library on the left
Select VSCode by clicking on "App" of the action
Hit ⌘+R or press the play button to run the Shortcut

I should look like this:

@alexdima

Adding you, there seems to be something problematic with the $TMPDIR when launching vscode via macOS Shorcuts (not sure how to set those up).

🤷 , node.js implements os.tmpdir like this:
https://github.dev/nodejs/node/blob/e0233fc7dc90bad14f7a38c2f2cf7e7a46a21e9c/lib/os.js#L183-L186
path = safeGetenv('TMPDIR') ||
        safeGetenv('TMP') ||
        safeGetenv('TEMP') ||
        '/tmp';

I don't see how we could address this on our end if whoever launches VS Code is changing environment variables?

I've just seen the error again for the first time since this thread after bearing in mind the points raised here.
I said I would echo $TMPDIR, which I did - but it doesn't contain com.apple.WorkflowKit.BackgroundShortcutRunner...:

I ran a Shortcut to open my apps - but it doesn't open vscode.
Via Warp terminal, I opened my first vscode instance with code . - no issue
Again via Warp, I then opened another instance with code . - this one fails.
The first editor continues to function until I attempt to switch projects. At that point it becomes unusable.

Re @bpasero's comment about modifying variables - as far as I'm aware I haven't done this?

Man alive, I'm very pleased to find this thread finally. This error is also affecting me, and has been for quite sometime, and I (like @nedwors mentioned) have only been able to get around it by restarting my mac.
After reviewing everything said here, and testing some things out here, this is what I've found. First, though, here is my relevant setup / routine.
My Setup / Routine

macOS 12.0.1 (Monterrey)
I almost exclusively use code . to open VS Code
I don't use Shortcuts to open VS Code, but I DO use a shortcut to bootstrap my machine every morning, as I shut it off entirely every night
I'm a consultant and work in several different client codebases throughout the day, and have to open different VS Code workspaces throughout any given workday.

$TMPDIR Results
When I echo $TMPDIR from my standard terminal (not in VS Code), I get the following:
/var/folders/q9/2mn18mnj2d13tq1n2mxm81cm0000gn/T/

However, when I run that from within the embedded VS Code terminal (regardless of the method for launching VS Code), this is what I get:
/var/folders/q9/2mn18mnj2d13tq1n2mxm81cm0000gn/T/com.apple.WorkflowKit.BackgroundShortcutRunner/

Observations
So, after doing some testing, much more focused thanks to this thread, I found the following interesting observations:

If I launch VS Code via code . fresh after restarting my mac, the extension host works just fine

If I launch another workspace via code ., or even if I just reload the window of the same workspace, even after fully quitting VS Code, I get the error mentioned by OP

If I launch VS Code via opening the application directly, regardless of whether or not I launched VS Code before, the extension host works just fine.

Interestingly enough, launching from the application itself seems to "reset" the code . problem. Take the following example that I tested:

Launch with code . --> Extension host works
Reload window (or launch different workspace) --> Extension host fails with error
Quit VS Code and relaunch with code . --> Extension host fails with error
Quit VS Code and launch from the application icon --> Extension host works
Launch different directory (or same one after quitting) via code . --> Extension host works
Reload window (or launch different workspace) --> Extension host fails with error

Final Thoughts
I don't know if this is actually a bug with VS Code or Monterrey or both. However, it appears that (at least for the time being) the only way I can get around this is to launch directly from VS Code itself, rather than from code .. If anyone else happens to know of a way to fix this, or if I need to update something, please let me know, as I'd much rather launch from the command line.

@bpasero @rzhao271 @deepak1556 Could this be caused by the (relative recent) changes on macOS to launch VS Code from the CLI using the open command?
@johndturn Do you perhaps customize somehow how the open command works on your machine?

@alexdima great question, I have not customized the open command at all

There are two different errors posted in this thread, the most common one when trying to launch the application via the shortcuts app it fails because of the TMPDIR path being restricted, this would be related to the XPC service shortcuts uses /System/Library/PrivateFrameworks/WorkflowKit.framework/XPCServices/BackgroundShortcutRunner.xpc/Contents/MacOS/BackgroundShortcutRunner, I will follow-up with additional information on how this XPC makes us inherit the restrictions.
The other issue variant from @johndturn seems that shortcuts is not directly involved in launching the application but the TMPDIR value is inherited by vscode. @johndturn what kind of script do you use for but I DO use a shortcut to bootstrap my machine every morning ?  Also can you provide the output of NODE_DEBUG="child_process" code . when it fails to launch the extension host from the terminal.

@deepak1556 Sure thing, here is the info that you requested:
My Shortcut for Bootstrapping

Here are screenshots of the high-level coordinator shortcut, but basically this shortcut launches all the apps I use for my day, and then some AppleScripts that utilize the AppleScript API for BetterTouchTool to move the windows to the places that I prefer.
There are no VS Code-related items in this shortcut, and no real command line configuration happening here. The only thing is opening iTerm and putting it in the right spot.
One last thing to mention, in case it's relevant, is that I use tmux and nvm, though I've used those things for a long time without any issues in VS Code.
Output of NODE_DEBUG="child_process" code .
Here's the output from iTerm when launching VS Code. I've removed a couple of directory names to preserve client confidentiality.
CHILD_PROCESS 4775: spawn {
  detached: true,
  env: {},
  stdio: 'ignore',
  args: [
    'open',
    '-n',
    '-g',
    '-a',
    '/Applications/Visual Studio Code.app/Contents/MacOS/Electron',
    '--env',
    'NVM_INC=/Users/johnturner/.nvm/versions/node/v14.16.1/include/node',
    '--env',
    'TERM_PROGRAM=iTerm.app',
    '--env',
    'DIRHELPER_USER_DIR_SUFFIX=com.apple.WorkflowKit.BackgroundShortcutRunner',
    '--env',
    'NVM_CD_FLAGS=-q',
    '--env',
    'TERM=screen',
    '--env',
    'SHELL=/bin/zsh',
    '--env',
    'TMPDIR=/var/folders/q9/2mn18mnj2d13tq1n2mxm81cm0000gn/T/',
    '--env',
    'TERM_PROGRAM_VERSION=3.4.12',
    '--env',
    'NODE_DEBUG=child_process',
    '--env',
    'TERM_SESSION_ID=w0t0p0:EF4A0864-EC2E-4EC1-AE5E-06BD7F525992',
    '--env',
    'ZSH=/Users/johnturner/.oh-my-zsh',
    '--env',
    'NVM_DIR=/Users/johnturner/.nvm',
    '--env',
    'ZSH_TMUX_TERM=screen',
    '--env',
    'USER=johnturner',
    '--env',
    'COMMAND_MODE=unix2003',
    '--env',
    '_ZSH_TMUX_FIXED_CONFIG=/Users/johnturner/.oh-my-zsh/plugins/tmux/tmux.extra.conf',
    '--env',
    'SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.wURPB7tfCO/Listeners',
    '--env',
    '__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0',
    '--env',
    'ZSH_TMUX_CONFIG=/Users/johnturner/.tmux.conf',
    '--env',
    'PAGER=less',
    '--env',
    'TMUX=/private/tmp/tmux-501/default,1057,1',
    '--env',
    'LSCOLORS=Gxfxcxdxbxegedabagacad',
    '--env',
    'PATH=/usr/local/opt/gettext/bin:/Users/johnturner/.nvm/versions/node/v14.16.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin',
    '--env',
    'LaunchInstanceID=7D49F4AD-C5CE-4AE6-A968-8F8FD8EE2222',
    '--env',
    '__CFBundleIdentifier=com.googlecode.iterm2',
    '--env',
    'PWD=/Users/johnturner/Developer/Solvd/*****',
    '--env',
    'JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home',
    '--env',
    'EDITOR=/usr/local/bin/vim',
    '--env',
    'LANG=en_US.UTF-8',
    '--env',
    'ITERM_PROFILE=Default',
    '--env',
    'XPC_FLAGS=0x0',
    '--env',
    'TMUX_PANE=%2',
    '--env',
    'XPC_SERVICE_NAME=0',
    '--env',
    'GPG_TTY=/dev/ttys003',
    '--env',
    'SHLVL=3',
    '--env',
    'HOME=/Users/johnturner',
    '--env',
    'COLORFGBG=15;0',
    '--env',
    'LC_TERMINAL_VERSION=3.4.12',
    '--env',
    'ITERM_SESSION_ID=w0t0p0:EF4A0864-EC2E-4EC1-AE5E-06BD7F525992',
    '--env',
    'LOGNAME=johnturner',
    '--env',
    'LESS=-R',
    '--env',
    'NVM_BIN=/Users/johnturner/.nvm/versions/node/v14.16.1/bin',
    '--env',
    'LC_TERMINAL=iTerm2',
    '--env',
    'COLORTERM=truecolor',
    '--env',
    'VSCODE_CWD=/Users/johnturner/Developer/Solvd/*****',
    '--env',
    'APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL=true',
    '--env',
    'VSCODE_CLI=1',
    '--env',
    ... 3 more items
  ],
  envPairs: [],
  file: 'open',
  windowsHide: false,
  windowsVerbatimArguments: false
}

Here's the output of the Log inside of VS Code when it launches and the extension host terminates
[2022-01-17 10:25:43.625] [renderer1] [error] Error received from starting extension host (kind: LocalProcess)
[2022-01-17 10:25:43.626] [renderer1] [error] Error: listen EADDRINUSE: address already in use /var/folders/q9/2mn18mnj2d13tq1n2mxm81cm0000gn/T/com.apple.WorkflowKit.BackgroundShortcutRunner/vscode-ipc-f2ec5cb4-613a-4add-af6c-c9441b766f08.sock
    at Server.setupListenHandle [as _listen2] (net.js:1301:21)
    at listenInCluster (net.js:1366:12)
    at Server.listen (net.js:1463:5)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2984:27713
    at new Promise (<anonymous>)
    at q._tryListenOnPipe (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2984:27554)
    at q.start (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2984:23414)
    at new es (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1557:5175)
    at y._createInstance (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:574:1354)
    at y.createInstance (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:574:773)
    at d (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1557:4437)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2982:31830
    at Array.forEach (<anonymous>)
    at jl._startExtensionHosts (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2982:31778)
    at jl._initialize (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2982:30026)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2985:2653
[2022-01-17 10:25:49.096] [renderer1] [error] undefined
[2022-01-17 10:25:49.096] [renderer1] [warning] Settings Sync: Accounts are not initialized

I have issues when opening VSCode using a MacOS Monterrey shortcut.
In my case the problem is using terraform plan I get the following error:
2022-02-21T00:34:05.178-0600 [DEBUG] provider.terraform-provider-oci_v4.64.0_x4: 2022/02/21 00:34:05 Executable runs in Terraform plugin mode by default. For additional usage options, please run with the '-help' flag.
2022-02-21T00:34:05.179-0600 [ERROR] provider.terraform-provider-oci_v4.64.0_x4: plugin init error: error="listen unix /var/folders/tp/72bd35sx0k9bljsbvxrs9n0h0000gn/T/com.apple.WorkflowKit.BackgroundShortcutRunner/plugin841183170: bind: invalid argument" timestamp=2022-02-21T00:34:05.178-0600
2022-02-21T00:34:05.180-0600 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/oci/4.64.0/darwin_amd64/terraform-provider-oci_v4.64.0_x4 pid=70984
2022-02-21T00:34:05.180-0600 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2022-02-21T00:34:05.180-0600 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
╷
│ Error: Failed to load plugin schemas
│
│ Error while loading schemas for plugin components: Failed to obtain provider schema: Could not load the schema for provider registry.terraform.io/hashicorp/oci: failed to instantiate
│ provider "registry.terraform.io/hashicorp/oci" to obtain schema: Unrecognized remote plugin message:
│
│ This usually means that the plugin is either invalid or simply
│ needs to be recompiled to support the latest protocol...
╵
2022-02-21T00:34:05.181-0600 [WARN]  provider: plugin failed to exit gracefully

I realized that it is due to the change that the shortcut makes in the variable TMPDIR (This affects whether I use a direct shortcut to open VSCode or if I use a shortcut to open a terminal and then code .)
My solution was to correct the variable TMPDIR from my ~/.zshrc file:
[[ ${TERM_PROGRAM} == "vscode" && ${TMPDIR} =~ com\.apple\. ]] && export TMPDIR="${TMPDIR%/*/}/"

or
[[ ${TMPDIR} =~ com\.apple\. ]] && export TMPDIR="${TMPDIR%/*/}/"

I don't know if it applies to your case but maybe it will help someone

I want to add to this thread that I have the exact same problem as @johndturn as they described here: https://github.com/microsoft/vscode/issues/139570#issuecomment-1009398003
My workflow is very similar. I use shorcuts to bootstrap my computer, but none of the shortcuts touch vs code. If anyone has a fix that would be great - I am constantly needing to restart my computer when I use VS Code.

In that state, even some basic functionality like search hangs.

Is it still "under-discussion"?

After going through this thread I ran some tests and was able to make the issue go away on a new instance without restarting my mac.
My first instance of vs code is opened via shortcuts like a lot of people mentioned and the extension host works fine. These shortcuts also open my terminal. Echoing $TMPDIR on the first instance gives me this:
/var/folders/q3/7k44dy2j0mg2mbg1n68z697c0000gn/T/com.apple.shortcuts.mac-helper/

After that, if I open any other new instance from the terminal via code . and echo $TMPDIR  again, I get:
/var/folders/q3/7k44dy2j0mg2mbg1n68z697c0000gn/T/com.apple.WorkflowKit.BackgroundShortcutRunner/

The first instance with the BackgroundShortcutRunner works fine. After that, any new instances will echo the same result and the extension host will stop working. I thought it had to do with the terminal being open initially from the shortcuts application, so I quitted the terminal, reopened it manually and then I was able to open a new vs code instance via code . where everything worked just fine. Also, on this new instance after reopening the terminal, the result of echoing $TMPDIR  is:
/var/folders/q3/7k44dy2j0mg2mbg1n68z697c0000gn/T/

Unable to repro the issue with latest insiders using the steps from https://github.com/microsoft/vscode/issues/139570#issuecomment-999711093, can others facing the issue try latest insiders from https://code.visualstudio.com/insiders and confirm, thanks!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: AlanVazquez99 AlekSi SamEdwardes VSCodeTriageBot alexdima bpasero deepak1556 iwittkau jhonnatangomes johndturn nedwors


text:
Recommendations regarding audio cues

• VS Code Version: 1.64.0
• OS Version: Windows 10 home 21h1
I am happy that the latest vs code has a new function audio cues.
As I am a screen reader user, having audio cues, instead of a spoken message or tooltip, it will not conflict with the speech of screen reader.
Regarding audio cues, I have the following recommendations:

adding a preference to configure loudness of audio cues

like a slide switcher or something we can adjust the sound volume of the cues

adding a preference to control the duration of audio cues

add a text box or something we can enter the duration of the audio cues, because I find that some of the audio cues are a bit too long
say we can configure the duration of aduio cues in micro secs.

adding a preference to control the type of audio in audio cues

we can configure which audio to be played for each condition
we can choose whether it is a sound file, or simply a beep sound
if it is a beep sound, we can set the number of times, pitch, etc.

Thanks.

@sine-w thanks a lot for your feedback. We are glad you are happy with the new audio cues feature. We are currently planning to do some improvements this milestone, more details can be found here https://github.com/microsoft/vscode/issues/141635
Let me reply to your feeback

Makes sense and we are considering this. We would like to avoid this setting but to leave it to the OS volume control per app. We might add it in the future
I would prefer if we polish the audio cues so the length is just right, instead of making this configurable. Which audio cues are too long in your opinion?
Similar as a previous I would prefer if we get the sound right instead of allowing any sound to be loaded.

So all of this requests make sense but I would like to hear more user feedback first.
fyi @hediet @gino-scarpino

Thanks for your reply.
Well current I think that the sound for the errors is a bit long in my personal opinion.
If user is allowed to to customize the audio cues based on each condition, say if you have implemented audio cues for Indentation as suggested in #141635
we can turn off the Indentation audio cue in vs code and stick to the audio cue of nvda screen reader.

I am a screen reader user as well and really appreciate the new audio cues.  Of the recommendations listed above, the most important for me would be the ability to select the sound for each cue type.  Trying to meet everyone's personal preference with a single sound for each cue is just never going to happen.  Moreover, it makes it that much harder to change in a newer release.  For example, I already got used to the folding sound, and now it's changed in 1.65 and I hate the new one... 🙉

Thanks for the feedback! We iterate quickly on this new feature to gather feedback exactly like this, so we can find a local optimum.
Sorry if you already got used to the audio cue sounds, we will probably continue tweaking them in the following milestones.

Created this issue for the volume control setting https://github.com/microsoft/vscode/issues/144771

@jonic thanks for your comment, I have commented on the other issue.

source: gharchive/issue

authors: hediet isidorn sine-w steverep

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
Unable to Open 'xxxxxxx': File not Found

Issue Type: Bug
Within my angular project, after attempting to build and launch, when a problem is detected I'm unable to navigate to the problem using the problem pane. VSCode states that the file is not found. However, I'm able to navigate to the file based on the path that's contained against problem within the problem pane.
I've checked the insiders preview and can confirm it is the same behaviour in the insiders preview.
Open Angular Project with problems/defects
Run and Debug (from the left)
Click Start Debugging
Let the project build
Open Problem Pane
Click on the error listed in Problems Pane
Application behaviour is that it states the file is not found. The expected behaviour is that the file is opened and navigated to the respective line.
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 5.10.0-11-amd64

System Info

Item
Value

CPUs
AMD Ryzen 9 5900X 12-Core Processor             (24 x 3693)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.90GB (12.57GB free)

Process Argv
--crash-reporter-id 423ddbca-272b-4584-8cbf-c9f6273546e4

Screen Reader
no

VM
0%

Item
Value

Remote
SSH:

OS
Linux x64 5.10.0-11-amd64

CPUs
AMD EPYC 7542 32-Core Processor (1 x 2900)

Memory (System)
0.95GB (0.07GB free)

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

ng-template
Ang
13.2.4

launch-tool
che
0.0.3

gitlens
eam
11.7.0

ts-debug
kak
0.0.6

vscode-edge-devtools
ms-
1.4.5

remote-containers
ms-
0.217.4

remote-ssh
ms-
0.74.0

remote-ssh-edit
ms-
0.74.0

remote-wsl
ms-
0.64.2

vscode-remote-extensionpack
ms-
0.21.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscoreces:30442553
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstartedc:30433508
vsclayoutctrc:30437038
vsrem710cf:30416617
dsvsc008:30440022
pythonvspyt640:30442238
vsbas813:30436447
vscscmwlcmc:30438804
helix:30440343
vsnot107cf:30443615

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot pradt


text:
Language filter not discoverable

Testing #145588
I liked some of the mocks that @lychung7 did, to use the inline action in the search box to make the language filter more discoverable.
With the current approach no user will find this feature.
I apologise if this is already planned for next milestone and if this issue is just duplication.
fyi @sandy081

This issue is planned but I don't think I made an issue for it yet, so we can use this one to track.


text:
Open Containing Folder on Linux

Issue Type: Feature Request
Hello,
Im using Debian 11.  I am inquiring if it is possible to change the "Open Containing Folder" function for files to "Reveal in Explorer/Folder" like it is in windows. Currently It will open multiple folders even if one is already open instead of changing focus to it like it does on Windows.
Thanks
VS Code version: Code 1.66.0 (e18005f0f1b33c29e81d732535d8c0e47cafb0b5, 2022-03-30T05:50:41.156Z)
OS version: Linux x64 5.16.0-6-amd64
Restricted Mode: No

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

authors: GrandeDominus VSCodeTriageBot


text:
EACCES: permission denied, unlink '/usr/local/bin/code' when VSCode installed to user application directory

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:

Commit: 30d9c6cd9483b2cc586687151bcbcd635f373630
Date: 2022-06-14T12:52:13.188Z (3 wks ago)
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0

OS Version: Darwin x64 21.5.0 (Monterey)

Steps to Reproduce:

Install VSCode into /Users/<user name here>/Applications
Open VSCode status post installation
Command + Shift + P then search for Shell Command: Install 'code' command in PATH

Workarounds available:

Install VSCode into /Applications (this requires admin privileges)
https://stackoverflow.com/a/33831403

Related issues:

#129884

Sorry for the huge delay here.
Are you still hitting this issue?

What are the permissions of /usr/local/bin/code?
ls -la /usr/local/bin/code

lrwxr-xr-x  1 root  wheel  68 Jul  4 00:20 /usr/local/bin/code -> /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code

So, root owns that file. Can you sudo rm /usr/local/bin/code and then run the command again?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

@joaomoreno : that worked, thanks! After removing it, then VSCode asked for elevated privileges and the error no longer appeared.
Removing the workaround and opening a new shell session. code ... worked as expected.

authors: VSCodeTriageBot joaomoreno xyzst


text:
Prediction

We have written the needed data into your clipboard because it was too large to send. Please paste.

My Predictions just stop all of a sudden, I can not click on a route and migrate to the route


text:
explicit save in the results view should trigger "accept merge" action

With the new "Resolve Conflicts" visualization mode, the previous capability of marking a file with conflicts as an "accepted merge" using an "explicit save" command (i.e. CMD + S on Mac OS) seems to have been lost. It makes the process more complex and slower because you need to click the "Merge" button continuously on the UI.

ping @isidorn.

the previous capability of marking a file with conflicts as an "accepted merge" using an "explicit save" command

@franher I am unaware of such previous behaviour. Can add more details what you mean or how it worked before? Technically you are still editing and saving the same file on disk so I wonder what the difference is. The "Accept Merge" action only stages the file but I don't believe we ever did that on save

the previous capability of marking a file with conflicts as an "accepted merge" using an "explicit save" command

@franher I am unaware of such previous behaviour. Can add more details what you mean or how it worked before? Technically you are still editing and saving the same file on disk so I wonder what the difference is. The "Accept Merge" action only stages the file but I don't believe we ever did that on save

I will try to reproduce both (previous and current behaviour) with a video soon. Probably it will help to understand the issue I felt the other day. Maybe there is no issue at all, thank you for your prompt reaction anyway.

So when I stage the file, I don't get the message that the file has unresolved merge items.

Can you show a screen capture of that please

authors: franher jrieken


text:
[zh-CN]书写错误

含快捷键的译文应该书写成“译文“(&快捷键)”而不是“译文(&&快捷键)”，如果写成“译文(&&快捷键)”会导致快捷键失效

感谢您创建此问题！
然而，由于您没有使用英语，我们很难进行处理。如果可能，请您将此问题描述修改为英文。请您直接编辑此问题，不要提交回复或新问题。
请注意，机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言，所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。
如果您无法做到，没有关系。此问题已经被标记为需要翻译，等待社区成员志愿进行翻译。

Thanks for creating this issue!
Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.
In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.
Otherwise, we have marked this as needing translation and a community member may be able to help out.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Sorry I do not understand the bug, is this still an issue?

authors: VSCodeTriageBot sbatten zwJimRaynor


text:
Register custom css variables within .monaco-workbench

VS Code workbench can be embedded by other applications, to avoid our CSS rules bleed we may want to register custom css variables within the workbench. A good example is all --vscode variables are registered as
.monaco-workbench {
  --vscode-foreground: #616161;
  ...

[x] src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts @rebornix
[ ] src/vs/base/browser/ui/sash/sash.css @jrieken
[ ] src/vs/platform/layout/browser/zIndexRegistry.ts @sbatten @rebornix

Hi there! Any updates on this issue?
In my project this className cause an overflow of initial background in unwanted places

There seem to be a lot more:
https://github.com/microsoft/vscode/blob/c08aa73f6671ddfdbb17f2a6d403eaf294431120/build/lib/stylelint/vscode-known-variables.json#L829-L915
@rebornix can you clarify where this is coming from? Who embedds VSCode?

authors: bpasero rebornix toastyboost


text:
editior have error on running jupyter cell

Type: Performance Issue
suddenly my editor cannot print  jupyter cell result. and it looks like  Deactivation state.
VS Code version: Code 1.76.1 (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:00.131Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: Yes
Remote OS version: Linux x64 5.15.0-56-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz (20 x 3696)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
127.81GB (120.57GB free)

Process Argv
--crash-reporter-id bd57e653-e939-4d81-adc2-b11f095e0e91

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: alias

OS
Linux x64 5.15.0-56-generic

CPUs
11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz (16 x 800)

Memory (System)
125.64GB (119.50GB free)

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	   179	  9120	code main
    0	   338	  2596	   window (● recomm_unify_test.ipynb - Projects [SSH: alias] - Visual Studio Code)
    0	    95	  3952	   issue-reporter
    0	    42	  6396	   utility-network-service
    0	   129	 10176	   window (undefined)
    0	    32	 10268	   crashpad-handler
    0	   107	 12140	   shared-process
    0	    81	  7272	     ptyHost
    0	     6	  9092	       console-window-host (Windows internal process)
    0	     4	 13320	       C:\WINDOWS\System32\cmd.exe /c (type "C:\Users\DILab\AppData\Local\Temp\vscode-linux-multi-line-command-alias-54659701.sh" | "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 49818 -F "C:/Users/DILab/.ssh/config" alias bash) & exit /b 0
    0	    10	 13364	         "C:\WINDOWS\System32\OpenSSH\ssh.exe"  -T -D 49818 -F "C:/Users/DILab/.ssh/config" alias bash
    0	    76	 12872	     fileWatcher
    0	   221	 12312	   gpu-process
    0	   180	 12644	   utility-process

Remote: SSH: alias
CPU %	Mem MB	   PID	Process
    0	     0	1344322	remote agent
    0	     0	1344353	   ptyHost
    0	     0	1392364	     /bin/bash --init-file /home/josjkim/.vscode-server/bin/5e805b79fcb6ba4c2d23712967df89a089da575b/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh
    0	     0	1392217	   extension-host
    0	     0	1392272	     /home/josjkim/.vscode-server/bin/5e805b79fcb6ba4c2d23712967df89a089da575b/node /home/josjkim/.vscode-server/extensions/mtxr.sqltools-0.27.1/dist/languageserver.js --node-ipc --clientProcessId=1392217
    0	     0	1392435	     /home/josjkim/.vscode-server/bin/5e805b79fcb6ba4c2d23712967df89a089da575b/node /home/josjkim/.vscode-server/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.7/dist/server/server.js --node-ipc --clientProcessId=1392217
    0	     0	1392445	     /bin/python3 /home/josjkim/.vscode-server/extensions/ms-python.isort-2022.8.0/bundled/tool/server.py
    0	     0	1392539	     electron-nodejs (aBcgWSOIdcQn.js )
    0	     0	1392580	     /home/josjkim/.vscode-server/bin/5e805b79fcb6ba4c2d23712967df89a089da575b/node /home/josjkim/.vscode-server/extensions/ms-python.vscode-pylance-2023.3.20/dist/server.bundle.js --cancellationReceive=file:60826e18bd3312812c497e047a0dfe5f6f09d5379f --node-ipc --clientProcessId=1392217
    0	     0	1393180	     electron-nodejs (Jl.js )
    0	     0	1392228	   fileWatcher
    0	     0	1393645	   /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	1393646	     /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=

Workspace Info

|  Remote: SSH: alias|    Folder (Projects): more than 22808 files|      File types: png(10689) jpg(5034) JPG(638) py(377) pt(327) pyc(300)
![KakaoTalk_Snapshot_20230310_165230](https://user-images.githubusercontent.com/88658839/224256078-a6999e68-c853-4ee5-a86b-3672e0688ae5.png)

|                  jpeg(241) log(128) md(120) csv(103)
|      Conf files: dockerfile(5);

Extensions (45)

Extension
Author (truncated)
Version

vscode-language-pack-ko
MS-
1.76.2023030809

jupyter-keymap
ms-
1.1.0

remote-containers
ms-
0.282.0

remote-ssh
ms-
0.98.0

remote-ssh-edit
ms-
0.84.0

remote-wsl
ms-
0.76.1

vscode-remote-extensionpack
ms-
0.24.0

remote-explorer
ms-
0.2.0

remote-server
ms-
1.0.0

code-gnu-global
aus
0.2.2

vscode-django
bat
1.10.0

doxdocgen
csc
1.4.0

flask-snippets
cst
0.1.3

fastapi-snippets
dam
0.0.2

python-environment-manager
don
1.0.4

python-extension-pack
don
1.7.0

vscode-opencl
gal
0.7.4

vscode-pull-request-github
Git
0.60.0

gc-excelviewer
Gra
4.2.56

vsc-python-indent
Kev
1.18.0

vscode-docker
ms-
1.24.0

vscode-language-pack-ko
MS-
1.76.2023030809

vscode-kubernetes-tools
ms-
1.3.11

anaconda-extension-pack
ms-
1.0.1

isort
ms-
2022.8.0

python
ms-
2023.4.1

vscode-pylance
ms-
2023.3.20

jupyter
ms-
2023.2.1200692131

jupyter-keymap
ms-
1.1.0

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

cmake-tools
ms-
1.13.45

cpptools
ms-
1.14.4

cpptools-extension-pack
ms-
1.3.0

vsliveshare
ms-
1.0.5834

vsliveshare-audio
ms-
0.1.93

sqltools
mtx
0.27.1

autodocstring
njp
0.6.1

vscode-yaml
red
1.12.1

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

jinja
who
0.0.8

jinja2-snippet-kit
Wya
2.0.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30681850
azure-dev_surveyone:30548225
vsccc:30610678
pyindex848:30662994
nodejswelcome1:30587005
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
vsctsb:30677850
vscodeenable:30660116
funwalk2cf:30682975

It seems the webview is frozen due to output rendering. @Shj-A does closing and reopening the notebook fix the problem?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: Shj-A VSCodeTriageBot rebornix


text:
Render guide line on CodeLens

As shown in the following picture, CodeLens has broken the guidelines (such as the pink one) generated by VS Code built-in bracket pairs.
The modified mark from Git has also been broken on the left side.
Considering that the code within the brackets is a complete block, it would be better if the guideline could be rendered on the CodeLens.

/duplicate

authors: KZNS hediet


text:
Explore prompting to enable Cloud Changes on web

Verification

Ensure that you have a clean setup. We only show this for a new user who has never used insiders.vscode.dev before.
Open a GitHub URL such as https://insiders.vscode.dev/github/microsoft/vscode
Edit any file in the repo.
An overlay widget, such as the one shown below, should appear in the top right-hand corner of the editor when you have paused typing. The overlay widget should call out that you can access your changes across devices using Cloud Changes

Please verify that this dialog only appears once during your first session and that it does not interrupt your typing.

Should there be a picture of an overlay widget in the above comment? I think the comment mentions it but I can't see one.
Also, I tried this just now in an incognito window (after logging into github) and I didn't see an overlay widget? I had to use a non-msft repo because I can't authenticate the msft org from incognito.

@bhavyaus is there an experimental setting that folks need to set to see the overlay widget still?

Verification Steps:

Please reach out to @bhavyaus to have this dialog be enabled for your machine id
Ensure that you have a clean setup. We only show this for a new user who has never used insider.vscode.dev before.
Open a GitHub URL such as https://insiders.vscode.dev/github/microsoft/vscode
Edit any file in the repo.
An overlay widget, such as the one shown below, should appear in the top right-hand corner of the editor when you have paused typing.

authors: andreamah bhavyaus joyceerhl


text:
git stash apply command do not work

Type: Bug
PS D:\Simon\workproject\magicbean> git stash list
stash@{0}: On develop: last
PS D:\Simon\workproject\magicbean> git stash apply stash@{0}
error: unknown switch `e'
usage: git stash apply [--index] [-q|--quiet] []
-q, --quiet           be quiet, only report errors
--index               attempt to recreate the index

VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz (16 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.91GB (9.89GB free)

Process Argv
--crash-reporter-id e639d86f-8274-4079-aa42-f91cae3c2e35

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

beautify-blade
api
1.0.1

vscode-intelephense-client
bme
1.9.5

vscode-better-align
cho
1.4.2

prettier-vscode
esb
9.13.0

git-graph
mhu
1.30.0

vscode-language-pack-zh-hans
MS-
1.77.2023040509

korofileheader
OBK
4.9.3

vetur
oct
0.37.3

material-icon-theme
PKi
4.27.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vscaac:30438847
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyonecf:30548226
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
a9j8j154:30646983
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
pythonfmttext:30731395
fixhidewlkth:30730051
hidesbindicator:30730055
pythongtdpath:30739704

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

@761042678, are you running this command from the integrated terminal or are you trying to apply the stash from the UI?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: 761042678 VSCodeTriageBot lszomoru


text:
The Learn More button of build-in NPM support for VS code extensions goes to a page that does not exist.

Does this issue occur when all extensions are disabled?: Yes/No
No, specify a build-in extension

VS Code Version: 1.78.2
OS Version: Windows_NT x64 10.0.19045

This is a bug about the build-in extension of NPM support for VS code
Steps to Reproduce:

Make sure your TypeScript/JavaScript project folder has multiple lockfiles like package-lock.json and pnpm-lock.yaml.
Make sure your @ext:vscode.npm extension is the default setting.
Open package.json, mouse hover on one of any scripts, and click the "Run Script" button on the popup widget.
Then you will have a notifications window like this :

Click the "Learn More" button.
Will automatically open an URL of https://nodejs.dev/learn/the-package-lock-json-file which is "PAGE NOT FOUND".

Found the code at line 143 in VSCODE/extensions/npm/src/task.ts:
window.showInformationMessage(multiplePMWarning, learnMore, neverShowAgain).then(result => {
switch (result) {
   case neverShowAgain: extensionContext.globalState.update(neverShowWarning, true); break;
   case learnMore: env.openExternal(Uri.parse('https://nodejs.dev/learn/the-package-lock-json-file'));
}
});

@meganrogge I think the associated PR has shipped, so this issue can be closed.


text:
LINUX - VS CODE - UPDATE GITHUB CREDINTIALS

how do i update my github credentials?
i have accidentally put in the wrong PAT in the password field and i cannot update it to the correct PAT

Account icon -> the account -> Sign out


text:
Add tunnel activation event

With https://github.com/microsoft/vscode/pull/188270, extensions can now contribute tunnel factories. However, extensions doing this need to get activated on * / startupFinished to be shown there. It'd be nice if there was some kind of "tunnel" activation event that would only pick up when a tunnel or requested, or perhaps if the Ports view is interacted with, to avoid this.
Mentioned in https://github.com/microsoft/vscode-remote-tunnels/pull/661#discussion_r1272804131

I like the ports view idea. Let's just go with that for now. There is the possibility that an extension might call openTunnel, but that is proposed API and I'm not aware of a case where that will be a problem.

Do we need this for July?

I don't think so

The activation event will be called onTunnel.

This bug has been fixed in the latest release of VS Code Insiders!
@connor4312, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version f7973f357e7c316a88e8817886f41a843021fe74 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!


text:
can not show ssh tag after VS code update from 1.78.2

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.81.1
OS Version: win10

Steps to Reproduce:

install new version vscode after 1.78.2
set remote connection

before vscode 1.78.2 in win 10 right click win10 taskbar show remote connect like

but recently I update my vscode to 1.81.1, the information for remote node disapear.

This bug is quite inconvenience， when I have many projects with the same name in different remote nodes.

Same Issue Here

Do you own this part of the label service @aeschli? Aware of any changes?


text:
Using FindTextInFiles + TextSearchProvider does not properly apply excludes

repro steps:

create an extension that implements vscode.TextSearchProvider.
Ensure that you have some globs in files.exclude in your settings.
Run your extension. Set a breakpoint in provideTextSearchResults.
Make a call for findTextInFiles.
Although useDefaultExcludes is true by default, the excludes field that is provided for the TextSearchProvider is empty. :bug:

Nevermind, this seems to work correctly- I must have not refreshed the ext host correctly.


text:
Git bash has slowed a lot after my recent update of VS Code

Type: Performance Issue
Open Git bash terminal (  Ctrl + `)
Type any command, the response takes at least 5 secs now to show results
VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:33:54.889Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz (8 x 3110)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
23.79GB (4.49GB free)

Process Argv
--crash-reporter-id 2d6ab678-5ea5-4189-bdff-070b12f47b16

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	   109	 25984	code main
    0	   105	  1220	window [3] (Issue Reporter)
    0	    78	  3776	ptyHost
    0	     7	 21272	     conpty-agent
    0	     7	 24716	     conpty-agent
    0	     4	 24840	     "C:\Program Files\Git\bin\bash.exe" --init-file "c:\Users\sunil\AppData\Local\Programs\Microsoft VS Code\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh"
    0	    11	 18484	       "C:\Program Files\Git\bin\..\usr\bin\bash.exe" --init-file "c:\Users\sunil\AppData\Local\Programs\Microsoft VS Code\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh"
    0	     4	 48256	     "C:\Program Files\Git\bin\bash.exe" --init-file "c:\Users\sunil\AppData\Local\Programs\Microsoft VS Code\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh"
    0	     8	 40348	       "C:\Program Files\Git\bin\..\usr\bin\bash.exe" --init-file "c:\Users\sunil\AppData\Local\Programs\Microsoft VS Code\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh"
    0	   100	  9928	shared-process
    0	    49	 16128	   utility-network-service
    0	    93	 18248	fileWatcher [1]
    0	   158	 18320	extensionHost [1]
    0	   375	 19920	     electron-nodejs (tsserver.js )
    0	    80	 24516	     "C:\Users\sunil\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\sunil\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=18320
    0	   874	 36136	     electron-nodejs (tsserver.js )
    0	    84	 39324	       electron-nodejs (typingsInstaller.js typesMap.js )
    0	   121	 43144	     "C:\Users\sunil\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\sunil\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=18320
    0	   407	 32888	window [1] (SuggestedInputs.Controllers.js - mira-knowledgesphere - Visual Studio Code)
    0	    27	 33356	   crashpad-handler
    0	   256	 49164	   gpu-process

Workspace Info
|  Window (SuggestedInputs.Controllers.js - mira-knowledgesphere - Visual Studio Code)
|    Folder (mira-knowledgesphere): 274 files
|      File types: js(92) jsx(44) svg(27) json(8) jpg(5) png(5) gif(5) yml(4)
|                  css(4) gitignore(3)
|      Conf files: dockerfile(2) package.json(2);

Extensions (20)

Extension
Author (truncated)
Version

emojisense
bie
0.10.0

auto-commit-msg
Mic
0.27.0

dotenv
mik
1.0.1

vscode-azurefunctions
ms-
1.15.0

vscode-azureresourcegroups
ms-
0.9.1

vscode-docker
ms-
1.29.1

autopep8
ms-
2024.0.0

debugpy
ms-
2024.6.0

python
ms-
2024.8.0

vscode-pylance
ms-
2024.6.1

jupyter
ms-
2024.5.0

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.18

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

remote-containers
ms-
0.369.0

azure-account
ms-
0.12.0

azurecli
ms-
0.6.0

powershell
ms-
2024.2.2

bcompare-vscode
Sco
1.0.7

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelt:31048053
dsvsc021:30996838
9c06g630:31013171
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
pythonprt:31056678
dwnewjupytercf:31046870
fa862199:31048878

/duplicate of pinned issue https://github.com/microsoft/vscode/issues/212090

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


text:
Ansi escape codes in terminal

Type: Bug
hello
i am using oh-my-posh and the powershell in vscode.
since today i seem to be getting random ansi escape codes in my terminal which i cant seem to get rid of
There are no updates i can do for VSCode and its rather annoying to always see the following string of characters:
\x1b7
\x1b[48\x3b2\x3b0\x3b0\x3b0m\x1b[38\x3b2\x3b102\x3b102\x3b102m pwsh\x1b[0m\x1b8
VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:33:54.889Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 9 7940HS w/ Radeon 780M Graphics      (16 x 3992)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.22GB (17.71GB free)

Process Argv
--crash-reporter-id 745abfdc-e7f8-4a03-8304-446b4a06f2ac

Screen Reader
no

VM
67%

Extensions (23)

Extension
Author (truncated)
Version

project-manager
ale
12.8.0

vim-cheatsheet
And
0.0.1

ng-template
Ang
18.0.0

codeium
Cod
1.8.54

githistory
don
0.6.20

git-project-manager
fel
1.8.2

auto-rename-tag
for
0.1.10

gitlab-workflow
Git
4.14.0

git-graph
mhu
1.30.0

mongodb-vscode
mon
1.6.0

vscode-docker
ms-
1.29.1

csdevkit
ms-
1.6.8

csharp
ms-
2.31.19

vscode-dotnet-runtime
ms-
2.0.5

debugpy
ms-
2024.6.0

python
ms-
2024.8.0

vscode-pylance
ms-
2024.6.1

remote-containers
ms-
0.369.0

indent-rainbow
ode
8.3.1

LiveServer
rit
5.7.9

markdown-preview-enhanced
shd
0.8.13

vscode-pets
ton
1.26.0

vscode-icons
vsc
12.8.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
showvideoc:31016891
chatpanelc:31048052
dsvsc021:30996838
0ee40948:31013168
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
pythonprt:31056678
dwnewjupytercf:31046870
newcmakeconfigv2:31067619
fa862199:31048878

"oh-my-posh init pwsh | Invoke-Expression"
seems to temporarily fix the issue in the current vscode instance

/duplicate #211922

authors: Mhytos meganrogge


text:
Compile times are too long

I searched and looked through lots of issues (even engineering tagged issues also), vscode YouTube, internet but was not able to find anything useful.
Yes, I did have read the documentations and contributing guidelines.
I am trying to understand vscode repo, I tried making some changes, but every time I make a change, I have to run yarn compile again, which takes about 2 minutes and then reload my window to see changes. why compile time is so long for even small changes, and if I reload my window in between of compilation, then it crashes, I have to restart.
yarn watch does not show that its compiling when it detects changes, after 2 minutes it shows compilation finished.
also, I run, yarn watch in separate terminal, and ./scripts/code.sh to run code in separate terminal.
is this the right way to do it? does it take same time for everyone to compile and see changes? I feel like I am doing something wrong and there are better ways.
I know it's not an issue, sorry, I will close it after I find some satisfactory answer.

You can run yarn watch, you don't need to run compile each time. We typically run the default build task through vscode and this works fine for me.

the problem was auto save feature in vscode, when i am making changes, its auto saving and yarn watch is picking up those changes constantly thats why it hangs or takes longer time to compile.
i disabled auto save, and saved manually, and it compiled instantaneously, and then i only had to reload the window to see changes.

authors: Himanshu-Singh-Chauhan roblourens


text:
My vscode back to old version after using customization setting

i installed version 1.92 and after using this customization setting my vscode backed to version 1.79.2
i got this problem twice

vscode custom setting.txt

check for update :

Are you running VS Code in compatibility mode? Check Properties on executable and/or shortcut.


text:
Support missing keybindings in PowerShell

Currently various features don't (typically?) work in the prompt on Windows, for example ctrl+backspace to delete a word, ctrl+shift+left to select the word to the left of the prompt etc. We could expose some API in xterm.js to be able to handle this. For example:
Windows:

backspace, delete: Press backspace/delete the number of characters that are selected
ctrl+backspace: Backspace the number of chars in the preceeding word

All platforms:

ctrl+shift+left/right, shift+left/right: Select from the cursor

Perhaps some API like this would be able to handle the selection requests:
// Select from cursor, in the future if we wanted to select from some other origin we
// could add a third parameter
select(direction: 'left' | 'right' | 'up' | 'down', amount: 'word' | 'char'): void;

/cc @sbatten

note that there are also differences based on shell in Windows as well. e.g. ctrl+backspace and shift+left do not work as expected on WSL.

@sbatten not so sure we should do much for different shells, we'd probably need a when clause or something to do it right (which is getting quite complicated).

@Tyriar Fair and agreed. I just want to make sure the changes don't break any experiences in WSL by adding keyboard functionality that didn't exist previously as WSL is something users will expect to work.

Upvoting this, I'd like to see the ability to control backspace and delete a word in the terminal on Windows 10 please. Thank you

Is it possible you guys can take advantage of the work the Console team has done via their APIs? You guys are ahead in a few ways than the Console but having features of the Console lacking in the VSCode terminal would be great. Also, for shells, I think you guys have to account for Sets plus whatever shells might be generated from the new APIs being developed by the Console team to allow various terminals to be ported to Windows that are currently only existing in Linux.

@DarthSpock I'll be working on that soon 😃

Don't suppose it would be too much to ask if we get ColorTool support in VSCode is it? :wink:

@DarthSpock I don't think we'll support cmd.exe ColorTool, but themes can set this and you can override the colors like this: https://github.com/Tyriar/vscode-snazzy/blob/b155eb74098971c3daca73942d7d626c8bcc2ec9/snazzy.json#L2-L22

I think the big thing is being able to read the Themes directory. I wouldn't care so much about having the command controls from ColorTool. I just would like the terminal to accept the Iterm2 schemes (in addition to whatever other themes you want). How that happens is up for interpretation. I can see myself sticking purely to the VS Code terminal without ever touching a real console if we had that type of support.

@DarthSpock I'd rather not add something like that to core, sounds like a good idea for an extension though to convert .itermcolors files into VS Code settings.

I guess the idea of an extension would work. Considering the support comes from MS, I would request that this would be an offical extension from MS to ensure there aren't any loose bugs and would maintain the proper support as ColorTool adapts. Is there a repo for that type of request?

@DarthSpock well I know that the VS Code team won't have any time to work on that as it affects such a small portion of the users:

On windows
Wants support for mac-specific application terminal colors format (not the default terminal)
Doesn't want to use the already existing solution

This probably is the right repo for such a request but we need to close issues like this in order to keep the issues manageable. This is a good candidate for a community extension.

Sounds fair.

Hi @Tyriar, is there any update regarding this issue (typically ctrl+backspace to delete a word)? or any extension that would fix it?
Thanks

@f-roche you could try using Set-PSReadLineOption -EditMode Emacs, that might work.

Some of this works now with the emacs edit mode, you can also configure your own keybindings. Going to close this issue off as it's pretty general, please open focused issues if you cannot configure your own PSReadLine options for this.
Note that you can enable escape sequence logging in Insiders which can tell you what character codes are sent when you type: https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-escape-sequence-logging

Looks like this will now be possible to do when shell integration is enabled using this technique 🎉. Ctrl+space on macOS/pwsh 7:

Default keybindings on macOS:
Basic editing functions
=======================

Key              Function              Description
---              --------              -----------
Ctrl+g           Abort                 Abort the current operation, e.g. incremental history search
Ctrl+o           AcceptAndGetNext      Accept the current line and recall the next line from history after the current line finishes executing
Enter            AcceptLine            Accept the input or move to the next line if input is missing a closing token.
Shift+Enter      AddLine               Move the cursor to the next line without attempting to execute the input
Backspace        BackwardDeleteChar    Delete the character before the cursor
Ctrl+Backspace   BackwardDeleteChar    Delete the character before the cursor
Ctrl+u           BackwardKillLine      Move the text from the cursor to the beginning of the line to the kill ring
Ctrl+x,Backspace BackwardKillLine      Move the text from the cursor to the beginning of the line to the kill ring
Alt+Backspace    BackwardKillWord      Move the text from the start of the current or previous word to the cursor to the kill ring
Escape,Backspace BackwardKillWord      Move the text from the start of the current or previous word to the cursor to the kill ring
Ctrl+c           CopyOrCancelLine      Either copy selected text to the clipboard, or if no text is selected, cancel editing the line with
                                       CancelLine.
Delete           DeleteChar            Delete the character under the cursor
Ctrl+d           DeleteCharOrExit      Delete the character under the cursor, or if the line is empty, exit the process.
Ctrl+k           KillLine              Move the text from the cursor to the end of the input to the kill ring
Alt+d            KillWord              Move the text from the cursor to the end of the current or next word to the kill ring
Escape,d         KillWord              Move the text from the cursor to the end of the current or next word to the kill ring
Alt+r            RevertLine            Equivalent to undo all edits (clears the line except lines imported from history)
Escape,r         RevertLine            Equivalent to undo all edits (clears the line except lines imported from history)
Ctrl+t           SwapCharacters        Swap the current character with the character before it.
Ctrl+_           Undo                  Undo a previous edit
Ctrl+x,Ctrl+u    Undo                  Undo a previous edit
Ctrl+w           UnixWordRubout        Move the text from the cursor to the start of the current or previous whitespace delimited word to the
                                       kill ring
Ctrl+m           ValidateAndAcceptLine Accept the input or move to the next line if input is missing a closing token.
                                       If there are other parse errors, unresolved commands, or incorrect parameters, show the error and
                                       continue editing.
Ctrl+y           Yank                  Copy the text from the current kill ring position to the input
Alt+.            YankLastArg           Copy the text of the last argument to the input
Alt+_            YankLastArg           Copy the text of the last argument to the input
Escape,.         YankLastArg           Copy the text of the last argument to the input
Escape,_         YankLastArg           Copy the text of the last argument to the input
Ctrl+Alt+y       YankNthArg            Copy the text of the first argument to the input
Escape,Ctrl+y    YankNthArg            Copy the text of the first argument to the input
Alt+y            YankPop               Replace the previously yanked text with the text from the next kill ring position
Escape,y         YankPop               Replace the previously yanked text with the text from the next kill ring position

Cursor movement functions
=========================

Key        Function        Description
---        --------        -----------
LeftArrow  BackwardChar    Move the cursor back one character
Ctrl+b     BackwardChar    Move the cursor back one character
Alt+b      BackwardWord    Move the cursor to the beginning of the current or previous word
Escape,b   BackwardWord    Move the cursor to the beginning of the current or previous word
Home       BeginningOfLine Move the cursor to the beginning of the line
Ctrl+a     BeginningOfLine Move the cursor to the beginning of the line
End        EndOfLine       Move the cursor to the end of the line
Ctrl+e     EndOfLine       Move the cursor to the end of the line
RightArrow ForwardChar     Move the cursor forward one character
Ctrl+f     ForwardChar     Move the cursor forward one character
Alt+f      ForwardWord     Move the cursor forward to the end of the current word, or if between words, to the end of the next word.
Escape,f   ForwardWord     Move the cursor forward to the end of the current word, or if between words, to the end of the next word.

History functions
=================

Key       Function             Description
---       --------             -----------
Alt+<     BeginningOfHistory   Move to the first item in the history
Alt+>     EndOfHistory         Move to the last item (the current input) in the history
Ctrl+s    ForwardSearchHistory Search history forward interactively
DownArrow NextHistory          Replace the input with the next item in the history
Ctrl+n    NextHistory          Replace the input with the next item in the history
UpArrow   PreviousHistory      Replace the input with the previous item in the history
Ctrl+p    PreviousHistory      Replace the input with the previous item in the history
Ctrl+r    ReverseSearchHistory Search history backwards interactively

Completion functions
====================

Key   Function            Description
---   --------            -----------
Tab   Complete            Complete the input if there is a single completion, otherwise complete the input with common prefix for all
                          completions.  Show possible completions if pressed a second time.
Alt+= PossibleCompletions Display the possible completions without changing the input

Miscellaneous functions
=======================

Key           Function        Description
---           --------        -----------
Ctrl+l        ClearScreen     Clear the screen and redraw the current line at the top of the screen
Alt+0         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+1         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+2         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+3         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+4         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+5         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+6         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+7         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+8         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+9         DigitArgument   Start or accumulate a numeric argument to other functions
Alt+-         DigitArgument   Start or accumulate a numeric argument to other functions
Ctrl+Alt+?    ShowKeyBindings Show all key bindings
Ctrl+x,Ctrl+e ViEditVisually  Invokes the console compatible editor specified by $env:VISUAL or $env:$EDITOR on the current command line.
Alt+?         WhatIsKey       Show the key binding for the next chord entered

Selection functions
===================

Key              Function             Description
---              --------             -----------
Ctrl+x,Ctrl+x    ExchangePointAndMark Mark the location of the cursor and move the cursor to the position of the previous mark
Shift+LeftArrow  SelectBackwardChar   Adjust the current selection to include the previous character
Shift+Home       SelectBackwardsLine  Adjust the current selection to include from the cursor to the start of the line
Alt+B            SelectBackwardWord   Adjust the current selection to include the previous word
Shift+RightArrow SelectForwardChar    Adjust the current selection to include the next character
Alt+F            SelectForwardWord    Adjust the current selection to include the next word using ForwardWord
Shift+End        SelectLine           Adjust the current selection to include from the cursor to the end of the line
Ctrl+@           SetMark              Mark the location of the cursor
Alt+Spacebar     SetMark              Mark the location of the cursor

Search functions
================

Key        Function                Description
---        --------                -----------
Ctrl+]     CharacterSearch         Read a character and move the cursor to the next occurence of that character
Ctrl+Alt+] CharacterSearchBackward Read a character and move the cursor to the previous occurence of that character

Windows default keybindings:
Basic editing functions
=======================

Key              Function           Description
---              --------           -----------
Enter            AcceptLine         Accept the input or move to the next line if input is missing a closing token.
Shift+Enter      AddLine            Move the cursor to the next line without attempting to execute the input
Backspace        BackwardDeleteChar Delete the character before the cursor
Ctrl+h           BackwardDeleteChar Delete the character before the cursor
Ctrl+Home        BackwardDeleteLine Delete text from the cursor to the start of the line
Ctrl+Backspace   BackwardKillWord   Move the text from the start of the current or previous word to the cursor to the
                                    kill ring
Ctrl+w           BackwardKillWord   Move the text from the start of the current or previous word to the cursor to the
                                    kill ring
Ctrl+C           Copy               Copy selected region to the system clipboard.  If no region is selected, copy the
                                    whole line
Ctrl+c           CopyOrCancelLine   Either copy selected text to the clipboard, or if no text is selected, cancel
                                    editing the line with CancelLine.
Ctrl+x           Cut                Delete selected region placing deleted text in the system clipboard
Delete           DeleteChar         Delete the character under the cursor
Ctrl+End         ForwardDeleteLine  Delete text from the cursor to the end of the line
Ctrl+Enter       InsertLineAbove    Inserts a new empty line above the current line without attempting to execute the
                                    input
Shift+Ctrl+Enter InsertLineBelow    Inserts a new empty line below the current line without attempting to execute the
                                    input
Alt+d            KillWord           Move the text from the cursor to the end of the current or next word to the kill ring
Ctrl+Delete      KillWord           Move the text from the cursor to the end of the current or next word to the kill ring
Ctrl+v           Paste              Paste text from the system clipboard
Shift+Insert     Paste              Paste text from the system clipboard
Ctrl+y           Redo               Redo an undo
Escape           RevertLine         Equivalent to undo all edits (clears the line except lines imported from history)
Ctrl+z           Undo               Undo a previous edit
Alt+.            YankLastArg        Copy the text of the last argument to the input

Cursor movement functions
=========================

Key             Function        Description
---             --------        -----------
LeftArrow       BackwardChar    Move the cursor back one character
Ctrl+LeftArrow  BackwardWord    Move the cursor to the beginning of the current or previous word
Home            BeginningOfLine Move the cursor to the beginning of the line
End             EndOfLine       Move the cursor to the end of the line
RightArrow      ForwardChar     Move the cursor forward one character
Ctrl+]          GotoBrace       Go to matching brace
Ctrl+RightArrow NextWord        Move the cursor forward to the start of the next word

History functions
=================

Key       Function              Description
---       --------              -----------
Alt+F7    ClearHistory          Remove all items from the command line history (not PowerShell history)
Ctrl+s    ForwardSearchHistory  Search history forward interactively
F8        HistorySearchBackward Search for the previous item in the history that starts with the current input - like
                                PreviousHistory if the input is empty
Shift+F8  HistorySearchForward  Search for the next item in the history that starts with the current input - like
                                NextHistory if the input is empty
DownArrow NextHistory           Replace the input with the next item in the history
UpArrow   PreviousHistory       Replace the input with the previous item in the history
Ctrl+r    ReverseSearchHistory  Search history backwards interactively

Completion functions
====================

Key           Function            Description
---           --------            -----------
Tab           Complete            Complete the input if there is a single completion, otherwise complete the input with
                                  common prefix for all completions.  Show possible completions if pressed a second time.
Ctrl+@        MenuComplete        Complete the input if there is a single completion, otherwise complete the input by
                                  selecting from a menu of possible completions.
Ctrl+Spacebar MenuComplete        Complete the input if there is a single completion, otherwise complete the input by
                                  selecting from a menu of possible completions.
Shift+Tab     TabCompletePrevious Complete the input using the previous completion

Miscellaneous functions
=======================

Key           Function              Description
---           --------              -----------
Ctrl+l        ClearScreen           Clear the screen and redraw the current line at the top of the screen
Alt+0         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+1         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+2         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+3         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+4         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+5         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+6         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+7         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+8         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+9         DigitArgument         Start or accumulate a numeric argument to other functions
Alt+-         DigitArgument         Start or accumulate a numeric argument to other functions
PageDown      ScrollDisplayDown     Scroll the display down one screen
Ctrl+PageDown ScrollDisplayDownLine Scroll the display down one line
PageUp        ScrollDisplayUp       Scroll the display up one screen
Ctrl+PageUp   ScrollDisplayUpLine   Scroll the display up one line
Ctrl+Alt+?    ShowKeyBindings       Show all key bindings
Alt+?         WhatIsKey             Show the key binding for the next chord entered

Selection functions
===================

Key                   Function            Description
---                   --------            -----------
Ctrl+a                SelectAll           Select the entire line. Moves the cursor to the end of the line
Shift+LeftArrow       SelectBackwardChar  Adjust the current selection to include the previous character
Shift+Home            SelectBackwardsLine Adjust the current selection to include from the cursor to the start of the
                                          line
Shift+Ctrl+LeftArrow  SelectBackwardWord  Adjust the current selection to include the previous word
Shift+RightArrow      SelectForwardChar   Adjust the current selection to include the next character
Shift+End             SelectLine          Adjust the current selection to include from the cursor to the end of the line
Shift+Ctrl+RightArrow SelectNextWord      Adjust the current selection to include the next word

Search functions
================

Key      Function                Description
---      --------                -----------
F3       CharacterSearch         Read a character and move the cursor to the next occurence of that character
Shift+F3 CharacterSearchBackward Read a character and move the cursor to the previous occurence of that character

authors: 1800Zeta DarthSpock Tyriar f-roche sbatten


text:
[Fuzzy text search] Search with "syntax synonyms" (simple quote = double quote, no spaces...)

Hi !

First of all, sorry if this is a duplicate. I was unable to find something similar with my own words. But I'm maybe not the first to request this.

On PHP or NodeJS, I sometimes perform searches to find the declaration of a variable (with a dynamic name) - or an array definition. The search varies in different syntaxes - in PHP for example:
$foo = "foo"; $foo = 'foo'; $foo='foo'; $foo =     "foo";
or with arrays
$array = ['a','b','c']; $array = ['a', 'b', 'c']; $array=['a', 'b', 'c'];
Those examples exists in every language - all of them have "syntaxical synonyms".
It would be awesome to get an option on the search to search with those synonyms (simple/double quotes, spaces or not, backspace or not...)

Unfortunately language-specific search features are not really practical

authors: maximelebastard roblourens


text:
Support to mark and extension as "FREE TRIAL"

the vs code extension marketplace only supports extensions being marked as FREE:

Some extensions however are actually FREE TRIAL, so it would be good to let an extension declare this so people get a clearer understanding of what they are installing.
The default should always be FREE, so this option (I assume in package.json) would be to let the publisher override this.

We don't have any plans on having "for pay" extensions for VS Code, so here are two options for adding this to package.json:

The minimal thing we could do is have a new boolean field in the manifest called trial.  The default is false but if set to true then we tell the marketplace its a "Free Trial".  This follows the preview model which is true | false.

To be more inline with the rest of the Marketplace we could have something like a pricingTier field that is either free or trial with free being the default.  We just don't have a paid option.

Thoughts?

@chrisdias How does it useful supporting a trial model without paid model? What are the usecases?

The Devsense PHP extension has a "free trial" for their extension. It is free to use the extension for 15 days and then you have to then buy a license through their website.  Once you buy the license, you provide an access key to the extension to keep using it.
This is the only extension I know of that does this, and it is creating some confusion (see here).
However, your question raised a good point. The free trial and for pay models in the other parts of the Marketplace are for purchasing the license through the Marketplace. In this case, you purchase the extension through a third party market.
So, if we add this, then in one part of the Marketplace the notion of "FREE TRIAL" means something very different than in another part of the Marketplace. As a result, I don't think we should mix the two models.

Hmmm, i quickly stand corrected.  In the Visual Studio section, there are "FREE TRIAL" extensions (e.g. Arduino)as well that are not purchased through the Marketplace. So, maybe it is OK to support the same thing for VS Code.
So, the Devsense extension is the use case of a "FREE TRIAL" extension.

I wasted my time with an extension that was presented as "license" (which could mean anything), which was actually free for a few days, then most of its features weren't free anymore.
In the presentation of this extension, the developer doesn't mention that most features it offers are only available for a trial of a few days.
My feature request:
Free extensions are mentioned as "free", so paid extension should be mentioned as "paid", and/or "free trial" and/or "limited free version". And, in the VScode extension presentation,  the developers should follow a standard presentation showing which feature are free and which are trial limited.
And another problem: the extension I'm talking about is mentioned as "free" in the marketplace.visualstudio.com but as "license" in the presentation of the extension in VScode, which is even more confusing.

currently we are providing paid extension with trial - we wouldn't mind marking it "free trial" or "trial" or "paid" or whatever - we don't want to confuse our users and we don't want to mystify them :)
https://marketplace.visualstudio.com/items?itemName=DEVSENSE.phptools-vscode
for now, we have marked it preview and we added badges all over the readme

If there would be anything else we can do, please advice. Since we're already in contact with Microsoft devs and we know nothing will happen in the near future, we'd be happy for any feedback on what we should acknowledge and where to let people know, it is a paid commercial software.

How might this be progressed in 2020?
Folk interested in this might also want to upvote #90648 (support for premium extensions)

wow! that's all we got on paid extensions? I am sure vsode dev team gets paid for their work.
I'll like to get a coffee once in a while for my bits too ... as I am sure other ext. devs too since I stil see vscode mostly a shell with OSS extensions mainly making it a great IDE ...

Microsoft could pay us too a monthly fee according to the number of new users we bring to VSCode. It is like a Marketing Campaign, but we are doing it for free.

authors: AllanOricil RandomFractals WiliTest chrisdias gjsjohnmurray jakubmisek sandy081


text:
输入时感觉卡顿

Issue Type: Performance Issue
当启动angular程序实时编译后感觉会卡顿，之前版本没有这个问题。
VS Code version: Code 1.36.0 (0f3794b38477eea13fb47fbe15a42798e6129338, 2019-07-03T13:09:31.507Z)
OS version: Darwin x64 19.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
8.00GB (0.44GB free)

Process Argv

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   14	    74	 13283	code main
    0	    33	 13284	   gpu-process
    0	   328	 13286	   window (supplierclass.service.ts — csp)
    0	   131	 13326	     extensionHost
    6	   238	 13330	       electron_node tsserver.js
    0	    16	 13347	         electron_node typingsInstaller.js typesMap.js
    0	    41	 13333	       electron_node server.js
    0	    16	 13373	       /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=13326
    0	    25	 13597	       /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/html-language-features/server/dist/htmlServerMain --node-ipc --clientProcessId=13326
    0	    25	 13327	     watcherService
    0	     0	 17032	     /bin/zsh -l
    0	    33	 17185	       node /usr/local/Cellar/yarn/1.16.0/libexec/bin/yarn.js start
    0	   614	 17186	         ng serve -o
    0	   295	 17193	           /usr/local/bin/node /Users/zhaojj/Project/csp/node_modules/@ngtools/webpack/src/type_checker_worker.js 9d93e901-158a-4cf9-ba1b-2f0582ffcfeb
    1	    66	 13328	   shared-process
    0	     0	 17403	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    74	 17399	   window (问题报告程序)

Extensions (16)

Extension
Author (truncated)
Version

ng-template
Ang
0.800.0

ng-zorro-vscode
cip
8.0.0

vscode-eslint
dba
1.9.0

githistory
don
0.4.6

EditorConfig
Edi
0.13.0

prettier-vscode
esb
1.9.0

code-runner
for
0.9.11

terminal
for
0.0.10

Angular2
joh
8.1.1

Angular-BeastCode
Mik
8.0.10

vscode-language-pack-zh-hans
MS-
1.36.2

cpptools
ms-
0.24.0

vscode-typescript-tslint-plugin
ms-
1.2.1

debugger-for-chrome
msj
4.11.6

vetur
oct
0.21.1

material-icon-theme
PKi
3.8.0

(1 theme extensions excluded)

@zjxcv7 can you please provide a description in English with steps on how to reproduce it. Does the problem occur when all extensions are disabled (e.g. start code with  --disable-extensions)