text:
Show all Symbols: Partial matching is not supported

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

VS Code Version: 1.67.0 Stable
OS Version: Windows 11

Steps to Reproduce:

Create a .md file, add a header # test test
Try ⌘T, type est
1.66.2: works fine

1.67.0: No matching workspaces symbols

@jrieken I confirmed that markdown returns the workspace symbols in this case. They then seem to be filtered out on the VS Code side

https://user-images.githubusercontent.com/16591303/167020352-e6e5f15a-e89e-4d7a-a4b7-c6efd1a791e8.mp4

This is a regression from https://github.com/microsoft/vscode/commit/368c39cd7a884f22fa21948e941babddafe186cb. I have changed how fuzzyScore is configured and made the wrong adoption here...

authors: jrieken liyuhang1997 mjbvz


text:
Renaming a file in explorer immediately after renaming another can fail

The minimal repro isn't clear to me but this is what I was doing.
Repro:

Create 2 files, UTC24.TGA and TGC32.TGA
Rename UTC24.TGA to utc24.tga
Press in quick succession: enter, down, f2
The rename input will appear briefly and then close

I hit this many times in past 2 days when doing these types of renamed, gets pretty frustrating.

Hmm, do you still see this today? I'm not fast enough on my mac to hit it

Seems to work now 🎉

source: gharchive/issue

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
Jonathan blow hates visual studio

Issue Type: Bug
https://www.youtube.com/watch?v=wCllU4YkxBk
yeah, just watch this vid. hopefully some fixes will be made

That's visual studio not visual studio code.

authors: OriginLive farrukh-saif


text:
Sync problem on vs code

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

VS Code Version:1.69.1
OS Version: Kali linux 2022.1

Steps to Reproduce:
The file is not uploading in github through vscode

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

@imsourobh, in the dialog that is included in the screenshot, could you please click on the "Show Command Output" button and share the output of the command? Hopefully that information will help us track down the reason why sync operation fails. Thank you!

authors: VSCodeTriageBot imsourobh lszomoru


text:
Debugger causes numpy import error (mkl-service)

Type: Bug
I observed the behavior in both the insider version as well as the latest release.
Insider version
Version: 1.70.0-insider (user setup)
Commit: 62469028a6dce9db5b7c4639be7f447f4ab0e35c
Date: 2022-07-21T05:17:27.580Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Windows_NT x64 10.0.19044
Latest release

Version: 1.69.2 (user setup)
Commit: 3b889b090b5ad5793f524b5d1d39fda662b96a2a
Date: 2022-07-18T16:12:52.460Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Windows_NT x64 10.0.19044

Behaviour
Expected behaviour
Being able to use the step-through debugger.
Actual behavior
Python Unittests importing numpy run correctly when executing them. Executing them in the debugger (start icon with little bug on it) causes the error message:
C:\ProgramData\Anaconda3\lib\site-packages\numpy\__init__.py:148: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
  from . import _distributor_init

Steps to reproduce:

write test case importing numpy

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.9.12
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
Value of the python.languageServer setting: Pylance

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings

languageServer: "Pylance"

linting
• flake8Args: "<placeholder>"
• flake8Enabled: true
• pycodestyleArgs: "<placeholder>"
• pycodestyleEnabled: true
• pylintArgs: "<placeholder>"

formatting
• autopep8Args: "<placeholder>"

testing
• unittestArgs: "<placeholder>"
• unittestEnabled: true

terminal
• launchArgs: "<placeholder>"

VS Code version: Code - Insiders 1.70.0-insider (62469028a6dce9db5b7c4639be7f447f4ab0e35c, 2022-07-21T05:17:27.580Z)
OS version: Windows_NT x64 10.0.19044
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 7 5800U with Radeon Graphics          (16 x 1896)

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: enabled

Load (avg)
undefined

Memory (System)
31.31GB (19.75GB free)

Process Argv
--crash-reporter-id 2c1de22a-3312-4301-a9af-3054bf5bf057

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

svn-scm
joh
2.15.5

python
ms-
2022.11.12021011

vscode-pylance
ms-
2022.7.41

jupyter
ms-
2022.7.1002041057

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.9

trailing-spaces
sha
0.4.1

ayu
tea
1.0.5

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
wslgetstarted:30449409
vscscmwlcmt:30465136
cppdebug:30492333
vscaac:30438845
pylanb8912:30522163
vsclangdf:30492506
c4g48928:30532338

/extPython

It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!

Here is the new issue in the Python extension repository:
https://github.com/microsoft/vscode-python/issues/19532


text:
Yeah that's what I went with and was my thinking abt it too

Yeah that's what I went with and was my thinking abt it too
Originally posted by @meganrogge in https://github.com/microsoft/vscode/issues/156935#issuecomment-1203915242

/duplicate of #157415

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!

authors: Galarzah VSCodeTriageBot gjsjohnmurray


text:
Extensions icons shrink on a particular width

Decrease the width of the extension viewlet slowly until you notice that the extension icons have been shrunk.
I find this a bit weird. In no other place do we shrink icon size to reduce space.
Was this intentional?
I suggest to either hide them or show them at full size.

cc @benibenj

It is intentional and as designed. Since Icons are important to represent extensions we do not want to hide them but when the space is less we shrink them.


text:
Why is the font size so huge?

ADD ISSUE DESCRIPTION HERE
I've tried making it as small as it will go and nothing happens on the screen.  The video I'm using shows the font size as normal/small but all I see is an enormous font making it difficult to code normally.

Version: 1.73.1
Commit: 6261075646f055b99068d3688932416f2346dd3b
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Embedder: codespaces

You changed the font size somehow, search settings for "editor font size"

So the font size it is, is how it started and the only font size I could change I reduced down to the smallest size with no effect.   I don't think this is correct.

@RacheleRice The editor effective font size is influenced by two things:

the setting "editor.fontSize". This setting can appear in the user settings or in the workspace settings.
a concept called "Font Zoom" that can be controlled using the actions: Editor Font Zoom In, Editor Font Zoom Out, Editor Font Zoom Reset. This can also be controlled by using ctrl + mouse scroll when configuring "editor.mouseWheelZoom": true

Can you please try invoking the action Editor Font Zoom Reset ?

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: RacheleRice Tyriar VSCodeTriageBot alexdima


text:
Copy Browser URI to clipboard copies a url-encoded filepath

Copy Browser URI to clipboard copies a url-encoded filepathcopies a url-encoded filepath, e.g.C:/Users/foo/pathbecomesC%3A/Users/foo/path`, which also yields a "Workspace does not exist" warning message.
Originally posted by @joyceerhl in https://github.com/microsoft/vscode/issues/175262#issuecomment-1442116295

Candidate PR for 1.76: https://github.com/microsoft/vscode/pull/176304


text:
Bug in multi-cursor text selection when expanding selection by word

Type: Bug

Paste the following into a text buffer:

DebugUtils.cpp(87) : atlTraceGeneral - 0 - line from (0, 0, 0) to (18.625, 0, 0)
DebugUtils.cpp(87) : atlTraceGeneral - 1 - line from (18.625, 0, 0) to (18.625, 0, 0.1875)
DebugUtils.cpp(87) : atlTraceGeneral - 2 - line from (18.625, 0, 0.1875) to (20.3125, 0, 0.1875)
DebugUtils.cpp(87) : atlTraceGeneral - 3 - line from (20.3125, 0, 0.1875) to (20.3125, 0, 1.9162)
DebugUtils.cpp(87) : atlTraceGeneral - 4 - line from (20.3125, 0, 1.9162) to (18.625, 0, 1.9162)
DebugUtils.cpp(87) : atlTraceGeneral - 5 - arc r=0.375, from (19, 0, 2.2912) to (18.625, 0, 2.6662), center=(18.625, 0, 2.2912)
DebugUtils.cpp(87) : atlTraceGeneral - 6 - line from (18.625, 0, 2.6662) to (18.625, 0, 3.0412)
DebugUtils.cpp(87) : atlTraceGeneral - 7 - line from (18.625, 0, 3.0412) to (18.375, 0, 3.0412)
DebugUtils.cpp(87) : atlTraceGeneral - 8 - line from (18.375, 0, 3.0412) to (18, 0, 2.2912)
DebugUtils.cpp(87) : atlTraceGeneral - 9 - arc r=0.375, from (18, 0, 2.2912) to (17.625, 0, 1.9162), center=(17.625, 0, 2.2912)
DebugUtils.cpp(87) : atlTraceGeneral - 10 - line from (17.625, 0, 1.9162) to (0, 0, 1.9162)
DebugUtils.cpp(87) : atlTraceGeneral - 11 - line from (0, 0, 1.9162) to (0, 0, 0)

Select the word DebugUtils and then type ctrl-shift-L to select all instances of that word.

Pres ctrl-shift-right arrow and the initial cursor will correctly highlight words but all of the other instances do not.

Pres escape to cancel the operation and once again select the word DebugUtils and then type ctrl-shift-L to select all instances.

This time type shift-right arrow to expand the selection one letter at a time and notice that all of the cursors are highlighting.

I believe the behavior in step 3 is broken and in step 5 is working.
VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Xeon(R) W-2255 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)
71.69GB (43.14GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (26)

Extension
Author (truncated)
Version

vscode-better-align
cho
1.4.1

doxdocgen
csc
1.4.0

vscode-autohotkey-plus
cwe
2.7.1

vscode-eslint
dba
2.4.0

better-cpp-syntax
jef
1.17.2

svn-scm
joh
2.15.7

vscode-format-context-menu
lac
1.0.4

isort
ms-
2022.8.0

python
ms-
2023.4.1

vscode-pylance
ms-
2023.3.30

jupyter
ms-
2023.2.1200692131

jupyter-keymap
ms-
1.1.0

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

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

cmake-tools
ms-
1.13.45

cpptools
ms-
1.14.5

cpptools-extension-pack
ms-
1.3.0

powershell
ms-
2023.2.1

remote-explorer
ms-
0.2.0

cmake
twx
0.0.17

rc-script
wil
1.0.0

(1 theme extensions excluded)

I cannot reproduce. I believe that perhaps one of your installed extensions is overriding ctrl+shift+right arrow or perhaps you have a customization in your keybindings.json file.
Does this reproduce when disabling all extensions? Press F1 and then choose Developer: Reload Window with Extensions Disabled

It still happens after reloading without extensions. My keybindings.json file is the default file with nothing in the list.
If I try the exact same sequence in Sublime Text 3 (using alt-f3 rather than ctrl-alt-L to select all occurrances), it works.

Let's first try to find out what command executes on your machine, with your settings and your keybindings when pressing ctrl+shift+right arrow. Could you please try the following:

Run the command Developer: Toggle Keyboard Shortcuts Troubleshooting
This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.
Press exactly the keybinding you desire.
check what VS Code detects and what command is invoked.

If you are having trouble understanding the output, please feel free to paste here and I can try to help.

I really appreciate your help with this. Below is the log. I removed the timestamps and the duplicate events.

[warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
[warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.remote-repositories' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
[warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
[warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-toolsai.jupyter' wants API proposal 'notebookControllerKind' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
[warning] [twxs.cmake]: Cannot register 'cmake.cmakePath'. This property is already registered.
[info] [perf] Render performance baseline is 32ms
[warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
[warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.remote-repositories' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
[warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
[warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-toolsai.jupyter' wants API proposal 'notebookControllerKind' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
[info] [perf] Render performance baseline is 31ms
[info] [KeybindingService]: / Soft dispatching keyboard event
[info] [KeybindingService]: \ Keyboard event cannot be dispatched
[info] [KeybindingService]: / Received  keydown event - modifiers: [shift], code: ShiftLeft, keyCode: 16, key: Shift
[info] [KeybindingService]: | Converted keydown event - modifiers: [shift], code: ShiftLeft, keyCode: 4 ('Shift')
[info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[info] [KeybindingService]: / Soft dispatching keyboard event
[info] [KeybindingService]: \ Keyboard event cannot be dispatched
[info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl,shift], code: ControlLeft, keyCode: 17, key: Control
[info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: ControlLeft, keyCode: 5 ('Ctrl')
[info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[info] [KeybindingService]: / Soft dispatching keyboard event
[info] [KeybindingService]: \ Keyboard event cannot be dispatched
[info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl,shift], code: ControlLeft, keyCode: 17, key: Control
[info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: ControlLeft, keyCode: 5 ('Ctrl')
[info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[info] [KeybindingService]: / Soft dispatching keyboard event
[info] [KeybindingService]: | Resolving ctrl+shift+L
[info] [KeybindingService]: \ From 3 keybinding entries, matched editor.action.selectHighlights, when: editorFocus, source: built-in.
[info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl,shift], code: KeyL, keyCode: 76, key: L
[info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: KeyL, keyCode: 42 ('L')
[info] [KeybindingService]: | Resolving ctrl+shift+L
[info] [KeybindingService]: \ From 3 keybinding entries, matched editor.action.selectHighlights, when: editorFocus, source: built-in.
[info] [KeybindingService]: + Invoking command editor.action.selectHighlights.
[info] [KeybindingService]: + Ignoring single modifier shift due to it being pressed together with other keys.
[info] [KeybindingService]: / Soft dispatching keyboard event
[info] [KeybindingService]: \ Keyboard event cannot be dispatched
[info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
[info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
[info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[info] [KeybindingService]: / Soft dispatching keyboard event
[info] [KeybindingService]: \ Keyboard event cannot be dispatched
[info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl,shift], code: ShiftLeft, keyCode: 16, key: Shift
[info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: ShiftLeft, keyCode: 4 ('Shift')
[info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[info] [KeybindingService]: / Soft dispatching keyboard event
[info] [KeybindingService]: \ Keyboard event cannot be dispatched
[info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl,shift], code: ShiftLeft, keyCode: 16, key: Shift
[info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: ShiftLeft, keyCode: 4 ('Shift')
[info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[info] [KeybindingService]: / Soft dispatching keyboard event
**[info] [KeybindingService]: | Resolving ctrl+shift+RightArrow
[info] [KeybindingService]: \ From 1 keybinding entries, no when clauses matched the context.
[info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl,shift], code: ArrowRight, keyCode: 39, key: ArrowRight
[info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: ArrowRight, keyCode: 17 ('RightArrow')
[info] [KeybindingService]: | Resolving ctrl+shift+RightArrow
[info] [KeybindingService]: \ From 1 keybinding entries, no when clauses matched the context.
[info] [KeybindingService]: + Ignoring single modifier shift due to it being pressed together with other keys.
[info] [KeybindingService]: / Soft dispatching keyboard event
[info] [KeybindingService]: \ Keyboard event cannot be dispatched
[info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlRight, keyCode: 17, key: Control
[info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlRight, keyCode: 5 ('Ctrl')
[info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[info] [KeybindingService]: / Soft dispatching keyboard event**

Is this the key part?
+ Ignoring single modifier shift due to it being pressed together with other keys.

It looks like it's dispatching ctrl-right arrow instead of ctrl-shift-right arrow.

The relevant part is:
[info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl,shift], code: ArrowRight, keyCode: 39, key: ArrowRight
[info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: ArrowRight, keyCode: 17 ('RightArrow')
[info] [KeybindingService]: | Resolving ctrl+shift+RightArrow
[info] [KeybindingService]: \ From 1 keybinding entries, no when clauses matched the context.

Here is the default keybinding we ship with:
{ "key": "ctrl+shift+right",      "command": "cursorWordEndRightSelect",
                                     "when": "textInputFocus && !accessibilityModeEnabled" },

Do you by any chance have accessibility mode turned on? Are you using a screen reader to operate VS Code? If not, could you try configuring ""editor.accessibilitySupport": "off"?

I do have accessibility mode on. I turned it on to fix some other problem and now I don't recall what that was. Turning it off does fix this problem so thank you for your help tracking it down. I'm going to work with it accessibility mode off and maybe I'll encounter the first problem again and will have to find a different solution.
Do you happen to know why multiple cursor word select is incompatible with accessibility mode? Single cursor word select works just fine with accessibility mode enabled.

I'm closing this because @alexdima provided me with a solution. Multiple-cursor word select is not compatible with accessibility mode. Turning accessibility mode off solves this problem.

authors: alexdima criddell


text:
Email file option in VSCode

Can we have email file option in visual studio code?

There's probably at least one extension for this already.

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot gjsjohnmurray rachitq


text:
quick open doesn't allow having 'ctrl+space' keybinding because it handles that keybinding on its own

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

VS Code Version: 1.79.2
OS Version: win11

Steps to Reproduce:

When using 'Ctrl+space' for the following settings, it does not have any effect:

 {
   "key": "ctrl+space",
   "command": "workbench.action.acceptSelectedQuickOpenItem",
   "when": "inQuickOpen"
  }

But after changing the settings to other shortcut keys, such as' Ctrl+numpad5 ', there is no problem

 {
   "key": "ctrl+numpad5",
   "command": "workbench.action.acceptSelectedQuickOpenItem",
   "when": "inQuickOpen"
  }

Killing 'powerToys' is also useless
The same setting as' Ctrl+space ', acceptSelectedSuggestion can be used normally

I checked the output and found that 'ctrl+space' only doesn't work in the command window (in the default window called out by 'ctrl+shift+p' or 'F1'), and I can't detect:
*

But in other cases, 'ctrl+space' can be detected:
*

vscode update: 1.80.0
This issue still exists

1.83.0
This issue still exists

/duplicate https://github.com/microsoft/vscode/issues/98479

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:
Provide available context keys for all DebugConfiguration members

Description
I would like to have available context keys for all DebugConfiguration members. Currently, the only member with an available context key is "debugType". I would like to have an available context key for accessing the name, request, and if possible, the additional debug type specific properties.
This would help to discriminate debug sessions with the same debugType. Consider the example where there are two running debug sessions, both with the same debug type. The extension would like to contribute only to the second debug session and not the first one because the second debug session is debugging a project that follows a specific setup/configuration or has a different request. The name of the second debug session, request or additional specific properties might be enough to discriminate each other but there are no available context key to perform this check.
Use case
I'm adding additional buttons to the debug toolbar. I would like to add a custom button only to Dart projects that follow a specific project configuration. The debug session is started through my extension via debug.startDebugging, so I have access to specifying the name or any other debug type specific properties. Users might have more than one Dart debug session running at the time, I don't want to add my custom button to other Dart debug session that do not follow the specific project configuration.
Is there an existing way to tackle this?
References

Documented available context keys

Seems kinda tricky because this should probably be controlled by some property on the config, not the name of the config, right? But we don't have a good way to check values on an arbitrary object in a when clause, and we don't want to have context keys with arbitrary names for each launch config property.
You could use onDidChangeActiveDebugSession to drive your own context key maybe?

@roblourens any updates here?

I'm not planning on making the whole debug config available as a context key, I prefer more targeted context keys. It wouldn't be too hard to build a small extension that does this, however.

authors: alestiago roblourens


text:
operating from right to left

Type: Bug
the expression of any functions are evaluated from right to left which should be left to right. please fix it as it is causing much trouble i have to write separate lines to avoid this.
#include <stdio.h>
int main()
{
int k=15;
printf("\n%d %d",k!=15,k=20);
return 0;
}
for example output should be 0 20
but due to operating from right to left output is showing 1 20
please fix this ASAP.
VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-12650H (16 x 2688)

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_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.71GB (7.18GB free)

Process Argv
--crash-reporter-id b2cc97c8-e7b4-45e7-b015-c23e74fd5ca9

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

EditorConfig
Edi
0.16.4

code-runner
for
0.12.1

python
ms-
2023.18.0

vscode-pylance
ms-
2023.10.40

cmake-tools
ms-
1.15.31

cpptools
ms-
1.17.5

cpptools-extension-pack
ms-
1.3.0

r
REd
2.8.2

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30856252
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
f6dab269:30613381
showlangstatbar:30737416
03d35959:30757346
57b77579:30736110
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30866041
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
copilotsettingc:30859502
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
pythonmhint1:30842940
dsvsc015:30845448
pythontestfixtcf:30866406
pyreplss1:30865275
pythontbext0:30864172

This sounds like an issue with your code or configuration, not with vscode


text:
Tries to connect over internet even if all online features are disabled

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

VS Code Version: 1.85.1
OS Version: Win10

Steps to Reproduce:

start the app
it tries to TCP 152.199.19.160:443 and sends DNS queries

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!

This is not a question in any possible way. Such response clearly shows how unsafe is to use this piece of software, and adds up to how bad is the reputation that Microsoft deserved starting with release of Win10.


text:
闪退

Type: Bug
Select multiple lines of code. Press shift+Tab to crash
Error reported as follows
————————————————————————————
Assertion failed!
Program:...s.asar.unpacked\node-ptybuild\Releaselconpty.nodeFile: D:al workl1\slnode modulesnode-ptysrclwiniconpty.ccLine:110
Expression: status == napi ok
For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts
(Press Retry to debug the application -JlT must be enabled)
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz (12 x 2904)

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.93GB (11.76GB free)

Process Argv
--crash-reporter-id 7adab43f-a18b-4f70-afe4-1fb571eac851

Screen Reader
no

VM
0%

Extensions (34)

Extension
Author (truncated)
Version

tongyi-lingma
Ali
1.2.4

java-run
cao
1.1.4

dart-code
Dar
3.84.0

flutter
Dar
3.84.0

vscode-eslint
dba
2.4.4

gitlens
eam
2024.3.1905

vscode-html-css
ecm
2.0.9

vscode-javac
geo
0.2.46

html-snippets
gey
0.2.3

rest-client
hum
0.25.1

path-autocomplete
ion
1.25.0

vscode-elm-jump
joe
0.0.1

vscode-language-pack-zh-hans
MS-
1.87.2024031309

debugpy
ms-
2024.2.0

isort
ms-
2023.10.1

python
ms-
2024.2.1

vscode-pylance
ms-
2024.3.1

java
red
1.28.1

vscode-xml
red
0.26.1

trailing-spaces
sha
0.4.1

vscode-scss-formatter
sib
3.0.0

errorlens
use
3.16.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vscode-java-debug
vsc
0.56.2

vscode-java-dependency
vsc
0.23.5

vscode-java-pack
vsc
0.25.15

vscode-java-test
vsc
0.40.1

vscode-maven
vsc
0.44.0

vscode-spring-initializr
vsc
0.11.2

volar
Vue
2.0.6

Java-extension-pack
wal
1.0.0

search
Wsc
1.0.37

html-css-class-completion
Zig
1.20.0

bug

Can you follow the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues to get a dump?

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!

Same problem occured.

authors: DavidLee528 VSCodeTriageBot dqchdjm roblourens


text:
Make Devin

I can't think of a company more qualified, with a large amount of usage, to make an AI Software within Vscode. You can create agents, with something similar to Github Copilot, that have their own Vscode environment, access to source control, a browser, internet etc.

I think the GitHub next team is thinking about a similar concept https://github.blog/2024-04-29-github-copilot-workspace/
I will go ahead and close this issue, as it is best to reach out to the GitHub next team for this right now.

authors: avianion isidorn


text:
Extension updating issue

Type: Bug
Recently VSCode added new way of updating extensions without reloading window, but this update broke my updating process.
My current setup is following: I'm a full stack developer, so I have backend opened in python (with python profile) and frontend opened in javascript (with js profile), so I always have 2 windows on the startup and during work.
Then when I receive update first window did get "loading" icon on extensions tab, while last window show number of updated extensions, I can reload them using new method or reload window - it's fine, but in first window they are not installed, if I open it by myself and click "Update" I would get an errors, the output in log would be:
2024-04-20 21:25:55.864 [info] Started local extension host with pid 3776.
2024-04-20 21:25:58.793 [info] [perf] Render performance baseline is 29ms
2024-04-20 21:25:59.039 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-04-20 21:26:00.435 [error] Unknown error while installing extension pkief.material-icon-theme: Unknown: Unknown error while installing extension pkief.material-icon-theme
    at K.installFromGallery (d:\Prog\VSCode\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:104:59720)
2024-04-20 21:26:00.435 [error] Unknown error while installing extension quicktype.quicktype: Unknown: Unknown error while installing extension quicktype.quicktype
    at K.installFromGallery (d:\Prog\VSCode\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:104:59720)
2024-04-20 21:26:00.435 [error] Unknown error while installing extension snyk-security.snyk-vulnerability-scanner: Unknown: Unknown error while installing extension snyk-security.snyk-vulnerability-scanner
    at K.installFromGallery (d:\Prog\VSCode\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:104:59720)
2024-04-20 21:26:00.436 [error] Unknown error while installing extension usernamehw.errorlens: Unknown: Unknown error while installing extension usernamehw.errorlens
    at K.installFromGallery (d:\Prog\VSCode\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:104:59720)
2024-04-20 21:26:07.337 [error] Unknown: Unknown error while installing extension pkief.material-icon-theme
    at K.installFromGallery (d:\Prog\VSCode\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:104:59720)
2024-04-20 21:26:07.394 [error] Unknown error while installing extension pkief.material-icon-theme: Unknown: Unknown error while installing extension pkief.material-icon-theme
    at K.installFromGallery (d:\Prog\VSCode\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:104:59720)

Even if I reload window it wouldn't solve an issue, only full VSCode restart on the next load will show number of extensions to update instead of "loading" icon. I still would need to update them manually, but at least it would update after restart.
VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:41:02.734Z)
OS version: Windows_NT x64 10.0.19043
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 9 3900X 12-Core Processor             (24 x 3800)

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)
63.93GB (9.94GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (39)

Extension
Author (truncated)
Version

better-comments
aar
3.0.2

vscode-sqlite
ale
0.14.1

sort-editors
asw
2.0.1

vscode-custom-css
be5
7.2.1

ruff
cha
2024.20.0

npm-intellisense
chr
1.4.5

vscode-eslint
dba
2.4.4

githistory
don
0.6.20

xml
Dot
2.5.1

gitlens
eam
14.9.0

EditorConfig
Edi
0.16.4

prettier-vscode
esb
10.4.0

auto-rename-tag
for
0.1.10

vscode-github-actions
git
0.26.2

vscode-pull-request-github
Git
0.86.1

discord-vscode
icr
5.8.0

git-graph
mhu
1.30.0

vscode-docker
ms-
1.29.0

vscode-language-pack-ru
MS-
1.88.2024041009

debugpy
ms-
2024.4.0

python
ms-
2024.4.1

vscode-pylance
ms-
2024.4.1

remote-ssh
ms-
0.110.1

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.88.0

vscode-remote-extensionpack
ms-
0.25.0

remote-explorer
ms-
0.4.3

remote-server
ms-
1.5.1

material-icon-theme
PKi
5.1.0

quicktype
qui
23.0.149

LiveServer
rit
5.7.9

jinjahtml
sam
0.20.0

markdown-preview-enhanced
shd
0.8.13

gitconfig
sid
2.0.1

even-better-toml
tam
0.19.2

mako
tom
0.2.0

errorlens
use
3.17.0

scss-to-css
yut
3.2.3

material-theme
zhu
3.17.0

Can you please provide steps to reproduce? While you can reproduce can you please share following log?

F1 > Open View... > Shared

I will try when there would be an update released, but at this moment I cannot do that because all extensions are upgraded. Unless I can somehow downgrade them.

Ok, so I've managed to capture this bug again, so this time I have 3 windows, 1st and 3rd were in one profile for backend and 2nd was in another profile for frontend.
The icon for addons looks like this and 2nd window is the one that have issue:

Now, regarding log for Shared view, it's quite big so I put it into spoiler:
Logs
2024-05-02 20:32:16.497 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.742 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.767 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.772 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.780 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.789 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.793 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.797 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.802 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.818 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.834 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.834 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.858 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.890 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.891 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.926 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:16.927 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.073 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.318 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.331 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.336 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.348 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.353 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.356 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.359 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.376 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:17.509 [info] Deleted uninstalled extension from disk quicktype.quicktype c:\Users\X4\.vscode\extensions\quicktype.quicktype-23.0.149
2024-05-02 20:32:17.919 [info] Deleted uninstalled extension from disk rangav.vscode-thunder-client c:\Users\X4\.vscode\extensions\rangav.vscode-thunder-client-2.21.10
2024-05-02 20:32:18.266 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:18.485 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:18.756 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:18.896 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:18.944 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:18.998 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:19.365 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:19.444 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:19.448 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:19.714 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:19.738 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:19.767 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:20.092 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:20.127 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:20.164 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:20.426 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:20.432 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:20.479 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:21.119 [info] Getting Manifest... eamodio.gitlens
2024-05-02 20:32:21.120 [info] Getting Manifest... ms-azuretools.vscode-docker
2024-05-02 20:32:21.121 [info] Getting Manifest... quicktype.quicktype
2024-05-02 20:32:21.122 [info] Getting Manifest... snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:21.123 [info] Getting Manifest... zhuangtongfa.material-theme
2024-05-02 20:32:21.209 [info] Getting Manifest... eamodio.gitlens
2024-05-02 20:32:21.211 [info] Getting Manifest... ms-azuretools.vscode-docker
2024-05-02 20:32:21.212 [info] Getting Manifest... quicktype.quicktype
2024-05-02 20:32:21.212 [info] Getting Manifest... snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:21.214 [info] Getting Manifest... zhuangtongfa.material-theme
2024-05-02 20:32:21.472 [info] Getting Manifest... eamodio.gitlens
2024-05-02 20:32:21.474 [info] Getting Manifest... ms-azuretools.vscode-docker
2024-05-02 20:32:21.474 [info] Getting Manifest... nrwl.angular-console
2024-05-02 20:32:21.475 [info] Getting Manifest... quicktype.quicktype
2024-05-02 20:32:21.475 [info] Getting Manifest... rangav.vscode-thunder-client
2024-05-02 20:32:21.476 [info] Getting Manifest... snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:21.476 [info] Getting Manifest... zhuangtongfa.material-theme
2024-05-02 20:32:21.570 [info] Installing extension: snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:21.570 [info] Extension is already requested to install snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:21.579 [info] Installing extension: ms-azuretools.vscode-docker
2024-05-02 20:32:21.579 [info] Installing extension: zhuangtongfa.material-theme
2024-05-02 20:32:21.580 [info] Installing extension: quicktype.quicktype
2024-05-02 20:32:21.580 [info] Extension is already requested to install zhuangtongfa.material-theme
2024-05-02 20:32:21.580 [info] Extension is already requested to install quicktype.quicktype
2024-05-02 20:32:21.583 [info] Extension is already requested to install ms-azuretools.vscode-docker
2024-05-02 20:32:21.583 [info] Installing extension: ms-azuretools.vscode-docker
2024-05-02 20:32:21.587 [info] Installing extension: eamodio.gitlens
2024-05-02 20:32:21.590 [info] Installing extension: eamodio.gitlens
2024-05-02 20:32:21.591 [info] Installing extension: quicktype.quicktype
2024-05-02 20:32:21.592 [info] Installing extension: snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:21.594 [info] Installing extension: zhuangtongfa.material-theme
2024-05-02 20:32:21.599 [info] Extension is already requested to install eamodio.gitlens
2024-05-02 20:32:21.792 [info] Installing extension: rangav.vscode-thunder-client
2024-05-02 20:32:21.793 [info] Installing extension: nrwl.angular-console
2024-05-02 20:32:22.160 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.231 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.266 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.331 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.386 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.425 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.457 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.461 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.475 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.480 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.491 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.495 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:22.978 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.074 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.165 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.286 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.352 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.356 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.459 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.483 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.488 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.512 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.532 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.569 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:23.977 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:24.057 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:24.098 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:24.125 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:24.220 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:24.246 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:24.265 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:24.469 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:24.677 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:25.903 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:26.052 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:30.649 [info] Extension signature is verified: snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:30.651 [info] Extension signature is verified: zhuangtongfa.material-theme
2024-05-02 20:32:30.651 [info] Extension signature is verified: quicktype.quicktype
2024-05-02 20:32:30.651 [info] Extension signature is verified: rangav.vscode-thunder-client
2024-05-02 20:32:30.652 [info] Extension signature is verified: eamodio.gitlens
2024-05-02 20:32:30.672 [info] Extension signature is verified: ms-azuretools.vscode-docker
2024-05-02 20:32:30.921 [info] Extracted extension to file:///c%3A/Users/X4/.vscode/extensions/rangav.vscode-thunder-client-2.21.18: rangav.vscode-thunder-client
2024-05-02 20:32:30.926 [info] Extracted extension to file:///c%3A/Users/X4/.vscode/extensions/zhuangtongfa.material-theme-3.17.2: zhuangtongfa.material-theme
2024-05-02 20:32:30.940 [info] Renamed to c:\Users\X4\.vscode\extensions\rangav.vscode-thunder-client-2.21.18
2024-05-02 20:32:30.944 [info] Renamed to c:\Users\X4\.vscode\extensions\zhuangtongfa.material-theme-3.17.2
2024-05-02 20:32:30.950 [info] Extracting extension completed. rangav.vscode-thunder-client
2024-05-02 20:32:30.965 [info] Extracting extension completed. zhuangtongfa.material-theme
2024-05-02 20:32:30.968 [info] Extension installed successfully: rangav.vscode-thunder-client
2024-05-02 20:32:30.972 [info] Extracted extension to file:///c%3A/Users/X4/.vscode/extensions/quicktype.quicktype-23.0.158: quicktype.quicktype
2024-05-02 20:32:30.975 [info] Marked extension as uninstalled rangav.vscode-thunder-client-2.21.13
2024-05-02 20:32:30.979 [info] Extracted extension to file:///c%3A/Users/X4/.vscode/extensions/ms-azuretools.vscode-docker-1.29.1: ms-azuretools.vscode-docker
2024-05-02 20:32:30.982 [info] Extension installed successfully: zhuangtongfa.material-theme
2024-05-02 20:32:30.983 [info] Extension installed successfully: zhuangtongfa.material-theme
2024-05-02 20:32:30.986 [info] Renamed to c:\Users\X4\.vscode\extensions\quicktype.quicktype-23.0.158
2024-05-02 20:32:30.994 [info] Extracting extension completed. quicktype.quicktype
2024-05-02 20:32:30.998 [info] Renamed to c:\Users\X4\.vscode\extensions\ms-azuretools.vscode-docker-1.29.1
2024-05-02 20:32:31.021 [info] Extension installed successfully: quicktype.quicktype
2024-05-02 20:32:31.021 [info] Extension installed successfully: quicktype.quicktype
2024-05-02 20:32:31.023 [info] Extracting extension completed. ms-azuretools.vscode-docker
2024-05-02 20:32:31.048 [info] Extension installed successfully: ms-azuretools.vscode-docker
2024-05-02 20:32:31.048 [info] Extension installed successfully: ms-azuretools.vscode-docker
2024-05-02 20:32:31.290 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:31.294 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:31.745 [info] Extracted extension to file:///c%3A/Users/X4/.vscode/extensions/eamodio.gitlens-14.9.1: eamodio.gitlens
2024-05-02 20:32:31.775 [info] Renamed to c:\Users\X4\.vscode\extensions\eamodio.gitlens-14.9.1
2024-05-02 20:32:31.785 [info] Extracting extension completed. eamodio.gitlens
2024-05-02 20:32:31.827 [info] Extension installed successfully: eamodio.gitlens
2024-05-02 20:32:31.827 [info] Extension installed successfully: eamodio.gitlens
2024-05-02 20:32:32.016 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:32.025 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:33.289 [info] Extension signature is verified: nrwl.angular-console
2024-05-02 20:32:34.389 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:34.510 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:34.886 [info] Extracted extension to file:///c%3A/Users/X4/.vscode/extensions/nrwl.angular-console-18.20.0: nrwl.angular-console
2024-05-02 20:32:34.905 [info] Renamed to c:\Users\X4\.vscode\extensions\nrwl.angular-console-18.20.0
2024-05-02 20:32:34.916 [info] Extracting extension completed. nrwl.angular-console
2024-05-02 20:32:34.928 [info] Extension installed successfully: nrwl.angular-console
2024-05-02 20:32:34.931 [info] Marked extension as uninstalled nrwl.angular-console-18.19.0
2024-05-02 20:32:35.145 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:35.150 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:37.081 [info] Extracted extension to file:///c%3A/Users/X4/.vscode/extensions/snyk-security.snyk-vulnerability-scanner-2.6.1: snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:37.100 [info] Renamed to c:\Users\X4\.vscode\extensions\snyk-security.snyk-vulnerability-scanner-2.6.1
2024-05-02 20:32:37.110 [info] Extracting extension completed. snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:37.140 [info] Extension installed successfully: snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:37.140 [info] Extension installed successfully: snyk-security.snyk-vulnerability-scanner
2024-05-02 20:32:37.314 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:37.388 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:37.640 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:37.748 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:49.729 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:49.852 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:32:53.769 [error] [uncaught exception in sharedProcess]: A system error occurred (ENOENT: no such file or directory, scandir 'C:\Users\X4\AppData\Roaming\Code\clp\7177ecdeeec6aeec60a225404afe43b3.ru'): Error: ENOENT: no such file or directory, scandir 'C:\Users\X4\AppData\Roaming\Code\clp\7177ecdeeec6aeec60a225404afe43b3.ru'
2024-05-02 20:33:02.670 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:33:02.786 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:33:32.223 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:33:32.345 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:33:49.969 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:33:50.098 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:34:24.021 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:34:24.134 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:37:18.592 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:37:18.871 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:37:18.925 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:39:24.704 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.
2024-05-02 20:39:24.814 [warning] [remote-ssh]: Couldn't find message for key setting.usseExecServer.description.

@sandy081 please tell me if you need more info

Also if I reload 2nd window while in this state, in logs the following lines will appear:
2024-05-02 20:51:25.844 [info] Getting Manifest... eamodio.gitlens
2024-05-02 20:51:25.845 [info] Getting Manifest... ms-azuretools.vscode-docker
2024-05-02 20:51:25.846 [info] Getting Manifest... quicktype.quicktype
2024-05-02 20:51:25.847 [info] Getting Manifest... snyk-security.snyk-vulnerability-scanner
2024-05-02 20:51:25.847 [info] Getting Manifest... zhuangtongfa.material-theme
2024-05-02 20:51:25.858 [info] Extension is already requested to install ms-azuretools.vscode-docker
2024-05-02 20:51:25.862 [info] Extension is already requested to install eamodio.gitlens
2024-05-02 20:51:25.863 [info] Extension is already requested to install quicktype.quicktype
2024-05-02 20:51:25.863 [info] Extension is already requested to install snyk-security.snyk-vulnerability-scanner
2024-05-02 20:51:25.863 [info] Extension is already requested to install zhuangtongfa.material-theme

And clicking on Update button wont print new logs, but will show this popup:

@XCanG Thanks for the info. I have to look into the logs, understand and analyse why this is happening. Will get back to you after.

@XCanG Can you check if this is fixed in the latest VS Code Insiders? Thanks!
@sandy081 are there any alternative verif steps that we can use?

@XCanG Can you check if this is fixed in the latest VS Code Insiders? Thanks!

It would be hard to test as it rely on add-on update. So it may take a week or more.

To verify:

Have two profiles A and B and open two windows one with Profile A and other with Profile B.
Install redhat.java extension in both windows
Install one older version of that extension in both windows
Restart VS Code Insiders
You should see Update on this extension in both windows
Wait for 10s and Click on Update button in both windows at the same time
Verify that extensions got updated.

authors: XCanG andreamah sandy081


text:
Code-oss Crashes

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

VS Code Version:  1.82.2
OS Version: Linux 6.6.15-amd64

Steps to Reproduce:

git clone git@github.com:yogeshojha/rengine.git
open the directory in vscode

Command Line Output:
code-oss --disable-extensions
[main 2024-06-02T21:38:38.705Z] update#setState disabled
[main 2024-06-02T21:38:38.717Z] update#ctor - updates are disabled as there is no update URL
[2245200:0602/163841.537351:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163841.542991:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163841.543200:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163841.543435:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163841.550736:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.190901:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.190953:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.190985:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.191005:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.192016:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.211927:ERROR:check.cc(222)] Check failed: false.
[main 2024-06-02T21:38:49.570Z] Extension host with pid 2245633 exited with code: 0, signal: unknown.
[main 2024-06-02T21:38:49.601Z] [UtilityProcess id: 2, type: fileWatcher, pid: 2245611]: crashed with code 15 and reason 'killed'
zsh: segmentation fault  code-oss --disable-extensions

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


text:
Copied content in terminal gets overwritten by search content in terminal

Type: Bug
I don't know if its just me but I find it quite annoying when I have something saved on my clipboard and in the terminal windown I do Ctrl+F look for something in the log and then try to paste whatever I had in the clipboard, this gets overwritten by whatever I looked for in the terminal
Reproduction:

Ctrl+Shift+`
Right Click to copy selected text
Right Click to paste clipboard (Work with no problem)
Ctrl+F in terminal (type in a word)
Right Click to paste clipboard (copeies the word searched)
Right Click again paste the word you searched (you have lost what was in your clipboard)

System Info:

VS Code Version:  1.89.1
OS Version: Windows 11 23H2

VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Connection to 'ssh-remote'
Remote OS version: Linux x64 4.18.0-477.27.1.el8_8.x86_64
Remote OS version: Linux x64 4.18.0-477.27.1.el8_8.x86_64

I cannot reproduce, do you have terminal.integrated.copyOnSelection enabled?
https://github.com/microsoft/vscode/assets/29464607/d0d8d74e-4eef-410c-a2fe-bee7fe0da9b3

@meganrogge was the video I sent helpful?

This does not reproduce for me

This looks like a regression of this issue: https://github.com/microsoft/vscode/issues/151902
Right now whenever I search something in VSCode terminal, the found text is selected and this selection OVERWRITES my clipboard contents (not expected). I think, instead of being selected,  the found string should be highlighted instead and clipboard should be left intact.

authors: esola-thomas meganrogge movy


text:
messed up colours in mdx files

Type: Bug
I run VSCode and all the texts that I have written displayed in the first few seconds like before, then almost all the text turns red, except for [] and (), which turn yellow or white or red. Headings turn green from blue.
Changing the color theme doesn't affect the text colour.
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz (8 x 1896)

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: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
15.78GB (4.19GB free)

Process Argv
--crash-reporter-id ca57604c-217f-4a7f-b300-6313130f5a86

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

vscode-mdx
uni
1.8.9

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
0ee40948:31013168
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
ccplt:31103426
pythonrstrctxt:31103193
wkspc-onlycs-c:31111717
wkspc-ranged-t:31111713

dup of https://github.com/microsoft/vscode/issues/224862

authors: RedCMD nialan


text:
when i opened my vs code the black screen has been paused it

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

VS Code Version:
OS Version:

Steps to Reproduce:

/duplicate of #230356

authors: Wgwuhwbihdi gjsjohnmurray


text:
extension api: port mapping for websockets not working

The new port mapping API doesn't work for websockets, e.g.
http://localhost:3000 is mapped to http://localhost:4000
ws://localhost:3000 is not mapped to ws://localhost:4000
Steps to Reproduce:
// extension.js
const vscode = require('vscode')
const { createServer } = require('http')

createServer((req, res) => {
  res.end('ok')
}).listen(4000)

const html = `<!doctype html>

hello world

	`

exports.activate = () => {
  const webViewPanel = vscode.window.createWebviewPanel(
    'my-extension',
    'my-extension',
    {
      viewColumn: 1,
    },
    {
      enableScripts: true,
      portMapping: [
        {
          extensionHostPort: 4000,
          webviewPort: 3000,
        },
      ],
    }
  )
  webViewPanel.webview.html = html
}

I have made a pr: https://github.com/microsoft/vscode/pull/74086

I have tried to test redirecting websockets, but the fix doesn't actually work (sorry about that). I found out that redirecting Websockets is not supported.
From the spec (https://fetch.spec.whatwg.org/#websocket-opening-handshake):
"The reason redirects are not followed and this handshake is generally restricted is because it could introduce serious security problems in a web browser context. For example, consider a host with a WebSocket server at one path and an open HTTP redirector at another. Suddenly, any script that can be given a particular WebSocket URL can be tricked into communicating to (and potentially sharing secrets with) any host on the internet, even if the script checks that the URL has the right hostname."
Here is a workaround I currently use instead of port mapping for connecting to a random free port from inside a webview:
// extension.js
const vscode = require('vscode')
const getPort = require('get-port')
const WebSocket = require('ws')

function startServer(port) {
  const wss = new WebSocket.Server({
    port,
  })
  wss.on('connection', ws => {
    ws.send('hello world')
  })
}

function getPreviewHTML(context, port) {
  const previewBase = vscode.Uri.file(context.extensionPath).with({
    scheme: 'vscode-resource',
  })
  return `<!DOCTYPE html>

`
}

exports.activate = async context => {
  const port = await getPort()
  startServer(port)
  const webViewPanel = vscode.window.createWebviewPanel(
    'my-extension',
    'my-extension',
    {
      viewColumn: 1,
    },
    {
      enableScripts: true,
    }
  )
  webViewPanel.webview.html = getPreviewHTML(context, port)
}

// index.js
const port = document.body.dataset.port
const ws = new WebSocket(`ws://localhost:${port}`)
ws.addEventListener('message', ({ data }) => console.log(data))

I guess it would also be useful to document in vscode.d.ts that port mapping doesn't work with websockets.

Ok, do you want to submit a PR that reverts your change and also documents this in the vscode.d.ts file?

yes: https://github.com/microsoft/vscode/pull/74185

Closing again. #74185 added the note about websockets to the vscode documentation

authors: SimonSiefke mjbvz


text:
Some of display name of config is not correct.

OS Version:

Steps to Reproduce:

Install Azure IoT Hub Toolkit: https://github.com/microsoft/vscode-azure-iot-toolkit
Got to VS Code settings

Actual:

Expected:
D2C and IoT are one word, should not be truncated

Closing in favour of https://github.com/microsoft/vscode/issues/191807


text:
Pasting from editor to integrated terminal fails with line continuation

Issue Type: Bug
If I start creating a new Powershell script and enter
    Get-Process `
        -Name code

using line continuation and indentation on the continued line,  then copy and paste that into the integrated terminal, the command fails.

(It also fails if the continued line is not indented)
If, at the same time, I open a PowerShell window and paste in the same clipboard contents, the command works as expected:

VS Code version: Code 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35, 2019-08-15T16:17:55.855Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

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

Load (avg)
undefined

Memory (System)
15.88GB (4.06GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

githistory
don
0.4.6

gitlens
eam
9.9.3

code-runner
for
0.9.14

gc-excelviewer
Gra
2.1.32

mssql
ms-
1.6.0

python
ms-
2019.8.30787

remote-wsl
ms-
0.39.2

csharp
ms-
1.21.0

powershell
ms-
2019.5.0

partial-diff
ryu
1.4.0

vscode-hexdump
sle
1.7.2

Works for me in pwsh and powershell.exe:

Probably an issue with the PS extension.


text:
Debugging simple javascript file triggers lengthy download

Issue Type: Bug
Wanted to step through some simple JS functions and went to  kick off a simple node debug session only to have to wait a super long time for OmniSharp and .NET Core Debugger to load. What the heck does C# and .NET core have to do with node debugging?
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:31:32.854Z)
OS version: Darwin x64 18.7.0

/needsMoreInfo
Could you provide exact steps that you used and configuration in launch.json?

authors: IllusionMH markkra


text:
Cannot read property 'toString' of null

Issue Id: 93697664-3090-9c26-3575-c99ea1ba8c33Versions - 1.39.0-insider (10/9/2019 8:11:06 AM)-  c8252b63f547674d2faf361d4181bb76b0b5f81a-  d3eb24828e2d977e4f3ac16ff1a332a020028464Stack TypeError: Cannot read property 'toString' of null    at T.getWorkspaceFolder (<REDACTED: user-file-path>:666:790)    at R.getWorkspaceFolder (<REDACTED: user-file-path>:669:321)    at y.$spawnExtHostProcess (<REDACTED: user-file-path>:748:661)    at process._tickCallback (<REDACTED: user-file-path>:68:7)

This is happening in
https://github.com/microsoft/vscode/blob/master/src/vs/workbench/api/node/extHostTerminalService.ts#L126

I think this was fixed in 1.40 with the strict functions work.

authors: Tyriar sandy081 vscodeerrors


text:
Web: desktop-reserved keybindings non functional in fullscreen Firefox

Maybe we cannot get this to work, but: when I use Firefox and go fullscreen, hitting a key such as Cmd+W to close an editor is still closing the entire window. That makes it almost impossible to use VSCode in Firefox.
To make matters worse: simply pressing Esc-key gets out of fullscreen instantly....

I think we should investigate for November to see what is missing here.
@rebornix where is the code that checks for being able to bind all our commands?

At this moment we only bring back all keybindings when navigator.keyboard exits. But based on my current testing, it seems if in Full Screen Mode, we can actually receive most of the keyboard events.
https://github.com/microsoft/vscode/blob/7ab195a8973c74871c22b2add0f810b716028940/src/vs/workbench/services/keybinding/browser/keybindingService.ts#L245-L249 We can relax it by bringing back all keybindings when it's full screen. It's easy change but I'll do that once I tested against Safari and Firefox.

At least for now, I didn't see a plain simple solution for Firefox.

Yeah, Firefox seems really hard to get working. No matter what, in fullscreen a simple ESC press exits fullscreen...

I'm also wondering whether it's because I upgraded to Catalina as previously, Keybindings in Full Screen in Safari doesn't seem to work. I need to double check.

If I disable the code in keybindings.ts that requires navigator.keyboard, I can get e.g. Cmd+N to work in Safari when I am in fullscreen mode. I am on macOS 10.14.6. Maybe we should be less strict and not require navigator.keyboard for our logic?

Maybe we should be less strict and not require navigator.keyboard for our logic?

I think so, I relaxed it a bit in #83957. For Firefox, there are two issues we can track

keyboard.lock https://bugzilla.mozilla.org/show_bug.cgi?id=700123, it's labeled as P3
keyboard shortcuts in full screen https://bugzilla.mozilla.org/show_bug.cgi?id=1593883, which I opened yesterday and still wait for triage.

backreference to closed unanswered https://github.com/orgs/community/discussions/40566

authors: bpasero djbrown rebornix


text:
Compact menu: should remove DOM nodes after use

If you inspect the compact menu, I can see that all the top level menu items are in the dom even though I did not click:

Imho DOM nodes that are not visible by default should be created lazily and removed after being used.

Yea these are there as an artifact of the original menu. They are never shown in the compact case. The reason they are there normally and set to visibility hidden is to ensure we can do math on the dimensions of the full menu bar. Keeping them around made it easy to switch between menu modes but cleanup can be done.

authors: bpasero sbatten


text:
Terminal scrolled to top unexpectedly immediately after opening

VSCode Version: 1.40 (but has been for a while now)
OS Version: Windows (might be on Linux too but cannot remember... definitely on Windows)

Steps to Reproduce:

Work for a while
Close terminal
Open terminal
The terminal will be scrolled to the top, and show the last thing you saw. When you attempt to scroll up, however, that doesn't work. If you scroll to the bottom, you will see the same thing you saw on the top.

You cannot tell... but the terminal is scrolled to the top after I opened it even though there is a lot of stuff in the terminal.

Does this issue occur when all extensions are disabled?: Not sure. I only use remote development (I don't have a way to use VSCode without that feature).

a gif or screencast or multiple screenshots would be nice to help understand the issue.
maybe its because I don't use the built-in terminal in any app. I will, once they get good enough.

regards ratatoeey

Related: Integrated terminal resets scroll position to top when emacs is closed

Confirm that it appeared after 1.40

Merging into https://github.com/microsoft/vscode/issues/84145

authors: Tyriar Yanpas ratatoeey rianquinn


text:
While working in Py NB, give an option to move content to the middle of the display.

VSCode Version:
Version: 1.42.1
Commit: c47d83b293181d9be64f27ff093689e8e7aed054
Date: 2020-02-11T14:50:36.977Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 5.2.17-1rodete3-amd64

Steps to Reproduce:

Create a python notebook
write enough code initially so you reach bottom of the display

Expected: Like Jupyter notebook, current cell stays in the lower middle part of the display
Actual: Current cell is at the bottom of the display always

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

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!

Okay. Please let me know what extension is causing this?


text:
Single quotes not escaped in debug commands

VSCode Version: 1.42.1
OS Version: Ubuntu 19.10

There is no way to use a raw double quote in launch.json (since it's json), but escaping it with \" keeps the escape character \ in the executed command. Hence there is no way of just using a double quote in a debugging argument. The same is true for escaping any other character in JSON (e.g. it's not possible to get a single backslash, since \\ produces a double backslash).
Steps to Reproduce:

Start a debugging session with

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "test",
            "type": "node",
            "request": "launch",
            "runtimeExecutable": "echo",
            "console": "integratedTerminal",
            "args" : ["ab\\c\"def\""]
        },
    ]
}

The executed command is cd /path/to/dir ; /bin/echo --inspect-brk=28605 ab\\c\"def\". Expected would be cd /path/to/dir ; /bin/echo --inspect-brk=28605 ab\c"def".

I think we are escaping it for the shell - This looks correct to me because an item in the 'args' array needs to be a single arg. Can you explain more about what you are trying to do?

I see. So my current solution approach was a bit misguided.
So after more testing I found that my issue is actually something different: The single quote ' does not get escaped in the shell, as opposed to double quotes " etc.

I think that seems wrong?

Possibly here https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/contrib/debug/node/terminals.ts#L167

I see. So my current solution approach was a bit misguided.
So after more testing I found that my issue is actually something different: The single quote ' does not get escaped in the shell, as opposed to double quotes " etc.

I think your initial description is still correct. There seems to be a problem with escaping. I'm currently try to test the wildcard implementation of a Pyhton tool I wrote. Therefore I need to escape the * for the shell, but that doesn't work.
"args": ["mine", "${workspaceFolder}/data/\\*.xml"]
ist translated into:    mine /Users/tom/Documents/evaluate/data/\\*.xml
I actually expect:  mine /Users/tom/Documents/evaluate/data/\*.xml

With VS Code 1.48.2 and this launch config:
		{
			"type": "node",
			"request": "launch",
			"name": "simple",
			"program": "${workspaceFolder}/simple.js",
			"args": [
				"-foo",
				"-bar",
				"${workspaceFolder}/data/\\*.xml"
			],
		},

and this node.js program:
for (var i= 0; i < process.argv.length; i++) {
	console.log(process.argv[i]);
}

I see this on the debug console:

It depends if you're using Windows cmd or zsh.
My config:
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: evaluate",
            "type": "python",
            "request": "launch",
            "program": "${workspaceFolder}/exec_evaluate.py",
            "console": "integratedTerminal",
            "args": ["mine", "${workspaceFolder}/data/\\*.xml"]
        }
    ]
}

Windows cmd:
PS C:\Users\tom\Projekte\evaluate>  & 'C:\Users\tom\AppData\Local\pypoetry\Cache\virtualenvs\evaluate-gzJA505A-py3.8\Scripts\python.exe' 'c:\Users\tom\.vscode\extensions\ms-python.python-2020.8.105045\pythonFiles\lib\python\debugpy\launcher' '64738' '--' 'C:\Users\tom\Projekte\evaluate/exec_evaluate.py' 'mine' 'C:\Users\tom\Projekte\evaluate/data/\*.xml'
zsh:
tom@Thrud evaluate %  env /Users/tom/Library/Caches/pypoetry/virtualenvs/evaluate-i9NAUR7e-py3.8/bin/python /Users/tom/.vscode/extensions/ms-python.python-2020.8.105045/pythonFiles/lib/python/debugpy/launcher 49969 -- /Users/tom/Documents/evaluate/exec_evaluate.py mine /Users/tom/Documents/evaluate/data/\\*.xml
Because of the double escape the zsh doesn't find any files and fails before calling my script:
zsh: no matches found: /Users/tom/Documents/evaluate/data/\*.xml
I need a single escape to protect the * for the shell in order to test the globbing implementation of my script.
Background: My script shall run on Windows and Linux. On Windows cmd the script needs to implement the globbing.

@thomas6g as a workaround you could remove/comment out the "console": "integratedTerminal" in order to use the debug console.
With that you do not even have to escape the "*" in "args".

Thank you for the hint.
Because "integratedTerminal" is the default for Python I needed to set either "internalConsole" or "externalTerminal", both works.
Finally I'm looking forward how it will be solved. On the one hand it seems handy to have some auto quoting of the whole argument like it is done by "externalTerminal", but on the other it limits my possibilities.
Actually, I think, I would prefer more direct control what is quoted and escaped.

I really want to apologize if my comment doesn't belong here but I feel like I'm having a similar problem creating a task with arguments that run in WSL. I created a thread here on stackoverflow but wanted to cross post it here just in case it can end up helping someone else. This thread is was the most current one I could find that I was still allowed to comment on.

The July release has a new feature that helps debug extension authors to solve the problem.

authors: gasteigerjo klicperajo roblourens thecriticalpoint thomas6g weinand


text:
Highlighting each variable with a different color, like Atom's semanticolor

In Atom I use semanticolor: it colors each variable of a different color and I quite like that.

Would it be possible to achieve the same result on Visual Studio Code as well?
I looked into https://github.com/microsoft/vscode/issues/92308 and other issues, asked on StackOverflow, tried to play with some configuration variables, but could not achieve what I'd like.

I believe that it's not currently possible to achieve what I would like just with a theme or an extension.
What we'd need to achieve the behavior of semanticolor is to assign a new scope to variables name which is consistent for the same variable throughout the whole file, and different for different variables.
After reading the documentation about theming, including the Syntax Highlighting Guide, I don't think it's possible to do what I'd like with a TextMate grammar or an extension. I believe that the only way to obtain that behavior is by modifying the language server.
In case I'm mistaken, I apologize.


text:
Add prompting commands for managing selected tsdk

👋 It would be fantastic if my team could point workspaces to a specific version of typescript bundled with our internal extension. This behavior matches other extensions which use global installs or binaries like Flow Language Support when not configured to run flow binaries found in the workspace.
This issue is related to but more limited in scope than #65546. I understand that configuration on disk in a repo should be forbidden from determining which tsdk will run without manual approval. I think the utility I need can be provided without compromising that security by adding a pair of commands to the builtin typescript language features extension:

setTsdkPath: takes a path as an argument, prompts the user for confirmation, returns void. Updates the workspace setting tsdk as well as the internal flag to enable use of workspace tsdks for that workspace
getTsdkPath: returns a path to the currently active tsdk (alternatively, make setTsdkPath no-op if the given path matches the current path)

With these commands, extensions could automate the process of picking the right tsdk, and prompt the user to confirm when it would be changed. This does change the flow from opt-in to opt-out in some sense, so it might also be necessary to add a user level opt-in to "enable" these commands 🤷♂.
I'd be happy to take a stab at implementing these features, but I want to get a thumbs-up from the team and confirm there aren't existing workarounds first.
cc @mjbvz based on responses to previous issues

Can you explain the use cases for this over using the workspace version of TypeScript or having everyone on your team set typescript.tsdk as a user setting (i.e. globally)?

Sure!  TLDR is we use a lightly patched version of TypeScript internally, and have enough engineers that it's worth our time to smooth over any of the devex problems/confusion caused by versioning it.
Our frontend engineers use an internal package manager which has different file resolution than node. We maintain a patch for Typescript that resolves dependencies for this package manager and has a peer dependency on another internal tool. This means

we distribute our version of TS to be used when working on JS projects which don't have a usable TSDK in the workspace (to leverage TS for intellisense)
we don't want to set any tsdk globally because it can't be used when working on traditional node projects, thus reintroducing the need for a workspace TSDK in JS projects
we want to make sure the TS version distributed is paired with the correct version of its peer dependency

Asking our ~200 engineers to manage all of this by hand is impractical because the path to our TSDKs won't show up in the Select TypeScript Version prompt when it's not in the workspace, and the invisible typescript.useWorkspaceVersion setting is generally confusing.  #65546 and all its related/duplicate issues are evidence that this is a pain point even without the extra complexity of our patch- we need a solution that is painless over time and requires no education.

Thanks for the explanation.
Can your extension write the user's typescript.tsdk setting to point to the the TS version it ships?

we don't want to set any tsdk globally because it can't be used when working on traditional node projects, thus reintroducing the need for a workspace TSDK in JS projects

A lot of us are switching between repos that use traditional node and internal apps frequently. We can't use the internal version of TS in traditional node contexts because neither flavor of TS should allow resolution of the other variety, and we can't easily pass configuration to tsserver when we don't have tsconfigs on disk in JS repos.
Less important, but the user setting also introduces another issue when we try to release a new version of the extension with a new TS version. So long as vscode windows remain open on an older version, they could "fight" for control of the setting.

I'm not inclined to add features that are specific to one company's setup (especially if such features could cause headaches if misused). That's why I suggest you look into writing an extension write the tsdk setting. That more or less is what setTsdkPath would do anyways

👋 hello again. Not wanting to add complexity is reasonable, so I spent some time trying to simplify this a bit further. I think __getTsdkPath alone or even a way to read the typescript.useWorkspaceVersion flag would work for my case. I wasn't able to find a compelling way to achieve either of these with the current vscode API, but maybe I wasn't looking in the right places. Do you know of a way to achieve one of those effects without abusing sqlite or parsing output from ps off the top of your head? If not, would you be more open to a change that only added one of these effects either as a command or directly in the typescript-language-features extension api?

If your extension writes to the user's typescript.tsdk, then that version is what VS Code will use for IntelliSense (unless the user has explicitly selected to use the workspace version).
I believe you can tell your users never to use the workspace version of TypeScript if they are opening a workspace that requires the special TS version. That would allow your extension to specify which TS version to use by setting the typescript.tsdk setting on a user level

Again, that won't work because the setting needs to change depending on the workspace. For example, I have 7 vscode windows open right now,  3 of which shouldn't use our internal version of TypeScript. I understand that the user setting bypasses the typescript.useWorkspaceVersion check- that doesn't solve our use case

Makes sense.
It still does not feel right to add functionality to VS Code to workaround a company specific problem. I'll keep the issue open for further feedback but without broader use cases, I think you're going to have to find a different way to workaround this.
We're more likely to implement #65546. We haven't prioritized it because not many users are actually using workspace TS versions and we need to be sure whatever we come up with would not make users less safe when opening untrusted workspaces

I'd be happy to make a PR for the implementation of that feature instead if it's helpful

For #65546?

For your comment about a workspace option that prompts: https://github.com/microsoft/vscode/issues/65546#issuecomment-451338003

Good to hear. My expectation for the prompt:

Users should only ever see the prompt if they open a workspace that explicitly has workspace a typescript.tsdk setting
The prompt should make it clear that code from the workspace is going to be run.
Accepting the prompt should switch to the workspace version of TS and remember my decision (the same as manually switching to the workspace version today)
There should be a way to dismiss the prompt so that it does not show up again in the workspace

Let me know if you have any questions about the structure of the TypeScript code or the feature design tiself

👍 Sounds good.
Just to address some ambiguity up front:
I'm interpreting this to mean that the existing tsdk picker won't need to be displayed in order for a user to accept the workspace tsdk setting- is that what you were thinking?

Users should only ever see the prompt if they open a folder that explicitly has a workspace typescript.tsdk setting

I was imagining that adding the setting to an already open window would trigger the prompt as well (assuming all other conditions are met). Seem reasonable?

The commands in this issue would introduce duplicate functionality now that https://github.com/microsoft/vscode/pull/95566 is merged. Use enablePromptUseWorkspaceTsdk instead.

authors: DuncanWalter mjbvz