text:
React/JSX-based code actions don't ignore whitespace

Issue Type: Bug
VS Code version: Code 1.52.0 (940b5f4bb5fa47866a54529ed759d95d09ee80be, 2020-12-10T22:43:50.597Z)
OS version: Linux x64 5.8.0-41-generic
For code actions that apply to blocks, leading and trailing whitespace is typically ignored:

However, for code actions that apply to React/JSX blocks, this does not appear to be the case:

Note in the above image that selecting the block does not appear to be sufficient; the selection has to be at the start of the JSX tag for the code actions to become available.
This seems like a pretty unfortunate usability and discoverability issue -- at first I wasn't certain whether JSX refactorings were completely broken!

Expected behaviour
Code actions that apply to JSX within a selection will be displayed regardless of leading and trailing whitespace in the selection. This matches the behaviour of code actions that apply to non-JSX JavaScript and TypeScript code, including within a JSX/TSX file (for example, refactoring a block to a new function in module scope).
Actual behaviour
Code actions for JSX are only shown when the beginning of the selection is at the start of the relevant block of JSX. Trailing whitespace seems to be permissible.
To reproduce
I've created a minimal repro case here: https://github.com/lostfictions/vscode-jsx-actions-repro.
To reproduce the issue:

Clone the repo.
Enter the repo directory and run npm install.
Run code --user-data-dir /tmp/code-user-tmp --extensions-dir /tmp/code-ext-tmp . for an Code instance with a fresh profile and all extensions disabled.
Open src/index.tsx.
Select lines 4 to 10, including all leading whitespace. The code action icon will display, and if clicked will offer refactorings:

Select lines 15 to 19, including all leading whitespace. The code action icon will not display:

Select lines 15 to 19, but this time ensure the selection begins at line 15 at the first non-whitespace character, the < in
. This time the code action icon will display as normal and offer the expected refactorings:

For convenience, here are the listings for index.tsx, tsconfig.json, and package.json in the above example:
index.tsx:
import React from 'react';

export function NormalFunctionThatDoesNotExhibitIssue() {
  if(true) {
    for(let i=0;i<100;i++) {
      console.log('doing some work...', i)
    }
  }

}

export default function ComponentThatExhibitsIssue() {
  return

      hello from my nested component

}

tsconfig.json:
{
  "compilerOptions": {
    "target": "es2019",
    "module": "esnext",
    "esModuleInterop": true,
    "jsx": "preserve",
    "strict": true
  },
  "include": [
    "src"
  ],
  "exclude": [
    "node_modules"
  ]
}

package.json:
{
  "name": "vscode-jsx-actions-repro",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@types/react": "^17.0.2",
    "@types/react-dom": "^17.0.1",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "typescript": "^4.1.5"
  }
}

Please share code (as text) that demonstrates this issue along with steps to reproduce this

@mjbvz I've added the expected behaviour, actual behaviour, a link to a repository with a minimal repro of the issue, steps to reproduce, and code listings.

authors: lostfictions mjbvz


text:
Invisible codicons on selected cell

Seems to come from https://github.com/microsoft/vscode/blob/97a719dd9b6f56ae724df1beb79944596d998eb6/src/vs/base/browser/ui/list/listWidget.ts#L759
Can this rule be more targeted?

Yikes, this is inheriting from the list styles where our focus state inverts the foreground colors which we don't really use the same metaphor here. Let me see if I can override those styles in notebooks.

I overwrote the default styles for list.activeSelectionIconForeground in notebook styles, similarly to how we override the default selection styles.

For verification: make sure that the icons (cell toolbar, folding, bottom toolbar) is visible when you have selection, focus, active, hover, and try all sorts of other combinations to break it.

This affects breakpoints

which get their styling from a simpler rule:
https://github.com/microsoft/vscode/blob/f523f65f3985eb6493cae5d219de35f1d7ba6f7a/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts#L672-L672
Instead of finding different instances of codicons in lists and opting them out of this special rule, could we have lists opt into this behavior? Or, have a list opt out of this behavior but do it by setting or not setting a class on the list itself. Otherwise it feels like we will keep running into this

@roblourens great point, just went and added a new options to the list, useActiveIcons, which is enabled by default and turned it off in the cases where we don't want this (notebooks & diff view, settings & toc).
@joaomoreno would love to know if this is the best way to do this, happy to tweak.

@misolori The list ctor already has a overrideStyles prop in the options. Can't those classes simply overload listActiveSelectionIconForeground to be undefined? That would remove the need for the strange useActiveIcons option, given that lists should not know anything about icons or row's contents for that matter. Let me know what you think.

Alright, I've gone ahead and removed the list option. Overriding the styles doesn't help in this case as it still picks up the default styles.
For the cases where we style lists differently (notebooks ,settings editor) we'll just need to set color: inherit on the focus state icons instead. It's a trade off.

Another interesting case, the tree in the peek view

This has a different background color, peekViewResult.selectionBackground

I assume we want the peek view to match the default focus styling as well?

No idea

Also settings controls: https://github.com/microsoft/vscode/issues/127017
Why can't we make this an opt-in instead of an opt-out (I guess with styles, not a list option)? Whenever I implement something with a list, I have to add a special override style?

IMO, it's more common to use the default list styles than it is to override them so it makes more sense to special case them in those situations. If there's a way to set these at the style level I'd be up to use that. Something like:
overrideStyles: {
    listActiveSelectionIconForeground: inherit,
    ...
},

@joaomoreno would something like this be possible?

What does inherit mean in that case? What foreground color would be used?

That would simply set the color to "inherit" and ignores the focus state colors, which is what I'm currently doing via CSS in the cases where we override the default list styles. Would be nice to have that handled by the list widget.

Oh I see, literally inherit. Why exactly won't setting it to undefined work? Wouldn't that simply avoid creating the style altogether?

I tried that, but the problem is there's a default list style (that is generic) that is still picked up:

Compared to a regular list item where a suffix overrides the default styles:

So my thinking was if we introduced a way to cause the overrides to take a "inherit" property (or whatever name you'd want), it could fix these issues:

Ohh I see, let me reopen this so I don't lose it.

Hmm I couldn't find any low hanging fruit here. Maybe we need @aeschli's expertise... Given the bug is fixed, let's close it for now.

For verification:
Check that selecting/focusing a list item in the notebooks/settings editor/peek view properly shows the icons (test with breakpoints on notebooks)

source: gharchive/issue

authors: joaomoreno misolori roblourens

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
Integrated terminal is slow, seems to cause some buffer overflow/override

Does this issue occur when all extensions are disabled?: Yes, but kind of hard to say, as Remote - SSH is needed to do remote SSH.

VS Code Version: First experienced in May, currently on 1.57
OS Version: Ubuntu 20.04.1 (SSH session) and Windows 10 Home (Rust problems)

Steps to Reproduce:

Type fast or
Connect to an SSH target and type at normal speed. Preferably a heavily trafficked SSH target.  or
Set terminal in raw mode to process keystrokes. e.g.

Rust termion crate
Set up a line buffer, and run loop, printing characters after processing them.
Watch characters disappear as new ones come in at rather normal typing speed.

Thought of creating an issue when made my little shell project impossible to do in the integrated terminal, but now the problem turned up in a normal ssh session as well. Experienced none of these problems in other, external terminal emulators.
Just to show how the line buffer can become inconsistent with what is printed:

What was expected:

What was interpreted:

Does setting "terminal.integrated.localEchoLatencyThreshold": -1 fix this?

Testing for a while with "terminal.integrated.localEchoLatencyThreshold": -1, I think it got less frequent, though the bugs still appear:

authors: Tyriar akberg


text:
I can't debug

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

VS Code Version: Version 1.58.0
OS Version: Windows 10 Pro - 21H1 em 23/04/2021

Steps to Reproduce:
1.After upgrading to the new version of the system, I can't debug any language, I currently use Dart and ADVPL.

/causedByExtension

Okay, thank you very much.

authors: ClodoaldoRibeiro weinand


text:
File icons not showing as before?

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

VS Code Version: 1.60.0
OS Version: Windows 10 pro

Steps to Reproduce:

This is a fresh install of VSC on a fresh windows pc

Hey everyone, i have recently changed pc's and i have reinstalled VSC today and i have noticed that all my icons for files are not the same as they were on my old pc. On my old pc the files icons were all the VSC logo for .yml files for example, however on the new pc they all look like this. I have tried to google for countless hours and try resolve it myself but i couldnt find a resolution.
Im hoping i am just blind and someone is able to guide me how to fix this.
NEW PC ICONS:

OLD PC ICONS:

I am 100% sure that these icons are coming from VSC as i have it set to default open via VSC and if i uninstall VSC all the icons change to the default windows ones.

Following these steps and choosing VS code should do the trick
https://helpdeskgeek.com/how-to/how-to-change-the-default-program-to-open-a-file-with/


text:
too slow

Issue Type: Bug
vscode is becoming too slow in my macbook pro
VS Code version: Code 1.60.0 (Universal) (e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff, 2021-09-01T10:54:53.442Z)
OS version: Darwin x64 20.4.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

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)
4, 4, 3

Memory (System)
16.00GB (1.10GB free)

Process Argv
. --crash-reporter-id 101f6707-a93e-41c0-8b10-bcf4767f1aca

Screen Reader
no

VM
0%

Extensions (33)

Extension
Author (truncated)
Version

Bookmarks
ale
13.2.1

vscode-mocha
Com
0.1.1

vscode-eslint
dba
2.1.25

javascript-ejs-support
Dig
1.3.1

es7-react-js-snippets
dsz
3.1.1

gitlens
eam
11.6.0

vscode-jest-runner
fir
0.4.47

copilot
Git
1.4.2635

vscode-pull-request-github
Git
0.30.0

go
gol
0.27.2

Kotlin
mat
1.7.1

vscode-github-actions
me-
3.0.1

git-graph
mhu
1.30.0

csharp
ms-
1.23.15

vscode-kubernetes-tools
ms-
1.3.3

python
ms-
2021.9.1218897484

vscode-pylance
ms-
2021.9.1

jupyter
ms-
2021.8.2041215044

jupyter-keymap
ms-
1.0.0

remote-containers
ms-
0.194.0

java
red
0.81.0

vscode-commons
red
0.0.6

vscode-yaml
red
0.22.0

LiveServer
rit
5.6.1

vscode-scss-formatter
sib
2.2.4

mdx
sil
0.1.0

vscodeintellicode
Vis
1.2.14

vscode-java-debug
vsc
0.35.0

vscode-java-pack
vsc
0.18.4

vscode-java-test
vsc
0.31.3

vscode-maven
vsc
0.33.0

vscode-spring-initializr
vsc
0.7.0

vscode-proto3
zxh
0.5.4

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt678:30270856
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263cf:30335440
vscoreces:30358480
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
vsccppwtct:30364498
pythonvssor306:30344512
bridge0708:30335490
pygetstartedc2:30360494
bridge0723:30353136
pythonrunftest32cf:30365367
pythonf5test824:30361777
javagetstartedt:30364666
pythonvspyt187:30365361
pydsgsc2:30361791
vscus224:30358039
vssid140cf:30363604
vssur157:30365996

/needsPerfInfo
More details on in which cases it feels slow will be helpful.
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled
Please follow guide linked by bot to help identify problem.

authors: IllusionMH apotox


text:
NPM Scripts pane no longer appearing

Issue Type: Bug
I believe I started experiencing this bug intermittently last week, but it's persistent now. The NPM Scripts side pane no longer shows for my project.  The option to toggle it off and on in the Explorer menu is not showing.
I am using an NX Monorepo, which uses a single top-level package.json.  I even tried going into the settings and enabling the old npm.enableScriptExplorer setting, although I get a warning stating it's no longer required to enable the scripts pane.
VS Code version: Code 1.64.0 (Universal) (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:20:17.224Z)
OS version: Darwin x64 21.2.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

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)
32.00GB (1.13GB free)

Process Argv
--crash-reporter-id 25c826f3-4e7b-4540-871e-79d3b27270e8

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

vscode-neovim
asv
0.0.83

npm-intellisense
chr
1.4.0

vscode-eslint
dba
2.2.2

es7-react-js-snippets
dsz
4.1.0

prettier-vscode
esb
9.2.0

vscode-yarn
gam
2.0.0

dotenv
mik
1.0.1

angular-console
nrw
17.14.1

errorlens
use
3.4.1

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392cf:30425750
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30433059
pythonvs932:30410667
wslgetstartedc:30433508
vscop940:30404999
vsrem710cf:30416617

@jacob-israel-turner is it possible you dragged the NPM Scripts explorer into a different location? Note that trying this will reset all your view locations, but you can you try running the command "View: Reset View Locations"?

Aha! Yes, that was it.  I had dragged it to the right side (testing out the new functionality), but upon restart the right side just disappeared.  Is there a way to make the right pane re-appear?  Or will I need to reset view locations every time I restart?

"View: Focus Into Side Panel" should get you there.


text:
Customer Infrastructure Technician

Dicta est sunt eum cumque laboriosam aut.

Dicta est sunt eum cumque laboriosam aut.


text:
my 1 number is not working

Issue Type: Bug
when i try enter one while coding it will automaticly open my command pallate
VS Code version: Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T14:33:55.248Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 5 PRO 4650U with Radeon Graphics (12 x 2096)

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)
15.23GB (5.88GB free)

Process Argv
--crash-reporter-id fff53725-17bb-4495-b46f-393a0e078ce7

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.2.2

LiveServer
rit
5.7.5

salesforce-vscode-slds
sal
1.4.8

salesforcedx-vscode
sal
54.5.0

salesforcedx-vscode-apex
sal
54.5.0

salesforcedx-vscode-apex-debugger
sal
54.5.0

salesforcedx-vscode-apex-replay-debugger
sal
54.5.0

salesforcedx-vscode-core
sal
54.5.0

salesforcedx-vscode-lightning
sal
54.5.0

salesforcedx-vscode-lwc
sal
54.5.0

salesforcedx-vscode-soql
sal
54.5.0

salesforcedx-vscode-visualforce
sal
54.5.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30451275
dsvsc009:30452663
pythonvsnew555:30457759
vscscmwlcmc:30438804
vscgsvidc:30447482
cppdebug:30451566
pynewfile477:30450038

Sounds like you accidentally set a keybinding.
I suggest you use the Command Palette (F1) to run Preferences: Open Keyboard Shortcuts (JSON) and look for any entries that might be intercepting the 1 character.


text:
Open windows outside of the editor

Basically the same (popular) request as https://github.com/microsoft/vscode/issues/10121. That was raised 6 yrs ago, is still open but closed to new comments. Is this ever going to be implemented? Many would say this is an expected feature of any editor. The split window function doesn't provide the same experience. We probably all now have multiple screens but we can't make use of them with VS code.

Yes, but the issue it is duplicating has been ignored for 6 years and is now closed to comments. How else are we to re-raise this or reinvigorate the team to address this fundamental deficiency? Just about every editor app that supports working on multiple files at once supports dragging a tab/file out to an independent instance.


text:
the color scheme is not working properly

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

Issue Type: Bug
the color scheme started malfunctioning a few days ago, I tried changing themes but the problem wasn't solved.
i like using vs code due to its contrasting color scheme in the written code.
kindly look into the problem and solve ASAP.
VS Code version: Code 1.66.1 (8dfae7a5cd50421d10cd99cb873990460525a898, 2022-04-06T14:50:12.141Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 5 5500U with Radeon Graphics          (12 x 2096)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.33GB (4.20GB free)

Process Argv
--crash-reporter-id 082f3e40-c8d4-4acf-892c-2a138aad4022

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

doxdocgen
csc
1.4.0

c-cpp-compile-run
dan
1.0.15

prettier-vscode
esb
9.5.0

code-runner
for
0.11.7

better-cpp-syntax
jef
1.15.13

remote-containers
ms-
0.231.5

remote-ssh
ms-
0.78.0

remote-ssh-edit
ms-
0.80.0

remote-wsl
ms-
0.66.0

cmake-tools
ms-
1.10.5

cpptools
ms-
1.9.7

cpptools-extension-pack
ms-
1.1.0

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
vscaat:30438848
pynewfile477:30463512


text:
AutoSave not working! Linux Gnome 42

VS Code Version: 1.67.0
OS Version: Linux x64 5.17.5-300.fc36.x86_64 (Fedora 36, Gnome, Wayland, Nvidia)
Steps to Reproduce:

"files.autoSave": "onFocusChange" or "files.autoSave": "onWindowChange"
Alt + tab or Super + tab and whatever

When switching to another window, saving the file does not work! If you go to another tab in the editor, then the save will be made. If you switch to another program, then there will be no saving. Help please!
Works only "afterDelay". settings "onFocusChange" and "onWindowChange" only work if both windows are on the same table not in full screen mode.

Enabled afterDelay


text:
Please add the default formatter when clause contexts to enable more custom keybindings

Is it possible to add a non-boolean attribute to get the current default formatter in when clause contexts?
In my project, there is usually a need to execute executeAutofix on a specific linter (such as Stylelint).
It would be very useful to bind the common commands with a key combination.
However, if using the same keybinding for all linters, without this attribute value judgment, different linters' keybindings will conflict with each other.

I am not really sure what you are looking for? From your screen capture it seems that you bind Cmd+S to various formatting/lint commands. How do you save then? Are aware of code-actions and format on save? Eg. this is what I use (settings.json)
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
  "source.fixAll.eslint": true
},

This enables formatting and eslint-fixing when ever I save (via Cmd+S)

I prefer to format(lint) my code manually, rather than setting codeOnSave property to lint and fix automatically on save, because sometimes auto formatting on save would make old codebases messy.
In my use, almost all of the auto-fix commands of linting extensions (including executeAutofix of eslint and stylelint) and the native formatting are bound to the Alt + S key combination,
and saving is on Cmd + S, which is not conflicting under macOS.
However, the behavior of the lint extensions seems in conflict with (including but not limited to) the native built-in formatter.
If the when clause contexts provides more properties about the default formatter, the code formatter will be perfectly applied.

Hey @jrieken, this issue might need further attention.
@BobbyJonas, you can help us out by closing this issue if the problem no longer exists, or adding more information.

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: BobbyJonas VSCodeTriageBot jrieken


text:
Slow start up times with fresh install

Issue Type: Performance Issue
I've followed the process for a clean install and tried running these three argument scenarios.

--disable-gpu --disable-software-rasterizer
--disable-extensions
--user-data-dir c:\test-user-dir

'--disable-gpu --disable-software-rasterizer' did remove the original error window "The window is not responding" which also had this error in the logs "[error] CodeWindow: detected unresponsive"
VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.73GB (16.58GB free)

Process Argv
--user-data-dir c:\\test-user-dir --crash-reporter-id b75c00ec-37b7-40fc-90c6-0d4e77e55d4f

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	    93	 16204	code main
    0	    76	  4916	   window (undefined)
    0	   100	  5220	   extensionHost
    0	   160	  9972	   window (Get Started - Visual Studio Code)
    0	    93	 14864	   shared-process
    0	    72	 10176	     ptyHost
    0	    79	 20388	     fileWatcher
    0	    27	 17492	   crashpad-handler
    0	    44	 19636	   utility-network-service
    0	   138	 26504	   gpu-process
    0	    87	 26732	   issue-reporter

Workspace Info
;

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30520717
vsclangdc:30486549

My friendly IT Support person and I tried about everything to figure this out.
It was also affecting all my electron based apps, including MS Teams and Slack.
In the end, running Disk-CleanUp (I'm using Windows) and selecting all items to be cleaned up, instantly removed the issue. No restart required.


text:
Command line option '--new-window' fails for workspaces

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

VS Code Version: 1.69.2 (user setup)
OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:

Create a trivial workspace file, e.g. 'D:\Workspace.code-workspace':

{
 "folders": [
  {
   "path": "D:\\Workbench"
  }
 ],
 "settings": {}
}

Run the command line Code --new-window "D:\Workspace.code-workspace" "D:\File1.txt" "D:\File2.txt" on the terminal.
The workspace is opened in a new window as expected.
Without closing the existing window, run the same command line again.
The existing window will gain focus instead of opening a new one.

For comparision, the same command line without providing a workspace Code --new-window "D:\File1.txt" "D:\File2.txt" does indeed open a new window with each execution.

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

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: VSCodeTriageBot bpasero lujomu


text:
"Connect to Github" popup always appearing at startup

Type: Bug

Launch VsCode
A popup from git credential is showing up a few seconds after.
Login (I tried login with browser, code and PAT, none worked)
I tried more steps:
Go to Settings
Search for git settings
Uncheck Git Authentication (from Extension > Github settings, even though I have no extension activated, and no extension called Github) for both User and Workspace
Restart VsCode,
Popup still opening

VS Code version: Code 1.70.2 (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:35:13.448Z)
OS version: Windows_NT x64 10.0.19044
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 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: enabled

Load (avg)
undefined

Memory (System)
31.94GB (10.86GB free)

Process Argv
--disabled-extensions --crash-reporter-id 15e0e912-3084-4370-922e-270740a1903f

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
wslgetstarted:30449410
cppdebug:30492333
pylanb8912:30545647
vsclangdc:30486549
c4g48928:30535728
hb751961:30553087
dsvsc012:30540252
azure-dev_surveyone:30548225
i497e931:30553904

Have you perhaps enabled Settings Sync ?
As for extensions, be aware that there are some built-in extensions which can be disabled but not uninstalled. Use the filter menu in Extensions view to find them.

I have settings sync on, an I loggedin with my MS account.
Is it the settings Sync that wants me to login with github ?

As for extensions, be aware that there are some built-in extensions which can be disabled but not uninstalled. Use the filter menu in Extensions view to find them.
yeah I found that after. but i launched VsCode with --disable-extensions and i still have the problem (as you can see from my OP)

@TylerLeonhardt, could you please help with triaging this issue? Thank you!

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette).
Happy coding!

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: TylerLeonhardt VSCodeTriageBot etshy gjsjohnmurray lszomoru


text:
The Active Conflict Is Barely Noticable

I think the border should be thicker and the color should have more contrast.

I think the thicker border is a little too heavy but agree that the light themes in particular suffer from a contrast issue. Do you think it's as much of a problem on the dark themes?

Do you think it's as much of a problem on the dark themes?

It works much better on the dark themes (maybe also because my code-oss uses dark theme)

Ok, I'll propose some updates this week 👍

Before Light:

Before Dark:

After Light:

After Dark:

authors: daviddossett hediet


text:
Switch Folders Easier

It's ridiculously hard to switch between folders (ctrl+k ctrl+o, click through a million folders, select it). I frequently switch between folders, and so would like it if I could right-click and hit "open folder" or "go back one directory".
Making a directory with subdirectories is a workaround, not a solution, and also source control and extensions like rust-analyzer don't work this way.

You should be using "Open Recent" picker:

It keeps track of recently opened folders and provides fast filtering mechanisms.

authors: appleplectic bpasero


text:
Add update notification to code-server tunnel users

We should notify users of the old code-server binary that tunnels are available in the new CLI, with instructions to update.

Verify you get a sensible notification after following the steps here: https://code.visualstudio.com/blogs/2022/07/07/vscode-server#_getting-started

I didn't see an update notification
code-server

VS Code Server

*
* By using the software, you agree to the
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*

✔ Do you accept the terms in the License Agreement · yes
To grant access to the server, please log into https://github.com/login/device and use code 0C4D-A764
✔ What would you like to call this machine? · agitated-wren
[2023-04-26 12:14:33] info Creating tunnel with the name: agitated-wren

Open this link in your browser https://insiders.vscode.dev/+ms-vscode.remote-server/agitated-wren/home/rzhao/work/endgame

[2023-04-26 12:15:07] info [rpc.0] [call.0] Checking /home/rzhao/.vscode-cli/server-insiders/.47c4c928bdaf0c81996d2dcce4286f63b9f26afd.log and /home/rzhao/.vscode-cli/server-insiders/.47c4c928bdaf0c81996d2dcce4286f63b9f26afd.pid for a running server...
[2023-04-26 12:15:07] info [rpc.0] [call.0] Downloading VS Code server https://az764295.vo.msecnd.net/insider/47c4c928bdaf0c81996d2dcce4286f63b9f26afd/vscode-server-linux-x64.tar.gz -> /home/rzhao/.vscode-cli/server-insiders/bin/47c4c928bdaf0c81996d2dcce4286f63b9f26afd
[2023-04-26 12:15:15] info [rpc.0] [call.0] Setting up server...
[2023-04-26 12:15:15] info [rpc.0] [call.0] Starting server...
[2023-04-26 12:15:16] info [rpc.0] [call.0] Server started

Maybe the aka link is automatically redirecting to a newer version?

nvm just saw it once I opened insiders.vscode.dev


text:
Cannot read properties of undefined (reading 'auto')

TypeError: Cannot read properties of undefined (reading 'auto')
at la.E in src/vs/editor/contrib/suggest/browser/suggestModel.ts:685:17
at la.A in src/vs/editor/contrib/suggest/browser/suggestModel.ts:429:8
at <anonymous> in src/vs/editor/contrib/suggest/browser/suggestModel.ts:211:10
at u.invoke in src/vs/base/common/event.ts:692:17
at f.deliver in src/vs/base/common/event.ts:899:22
at d.fire in src/vs/base/common/event.ts:860:11
at <anonymous> in src/vs/editor/browser/widget/codeEditorWidget.ts:1677:13
at u.invoke in src/vs/base/common/event.ts:692:17
at s.deliver in src/vs/base/common/event.ts:899:22
at d.fire in src/vs/base/common/event.ts:860:11
at L.n in src/vs/editor/common/viewModelEventDispatcher.ts:64:11
at L.endEmitViewEvents in src/vs/editor/common/viewModelEventDispatcher.ts:109:8
at v.M in src/vs/editor/common/viewModel/viewModelImpl.ts:1086:11
at v.L in src/vs/editor/common/viewModel/viewModelImpl.ts:1023:8
at v.executeEdits in src/vs/editor/common/viewModel/viewModelImpl.ts:1026:8
at rn.executeEdits in src/vs/editor/browser/widget/codeEditorWidget.ts:1221:21
at ki.merge in src/vs/editor/contrib/snippet/browser/snippetSession.ts:659:10
at Nn.p in src/vs/editor/contrib/snippet/browser/snippetController2.ts:150:11
at Nn.insert in src/vs/editor/contrib/snippet/browser/snippetController2.ts:112:9
at i.insertSnippet in src/vs/workbench/api/browser/mainThreadEditor.ts:549:21
at ec.$tryInsertSnippet in src/vs/workbench/api/browser/mainThreadEditors.ts:233:33
at v.N in src/vs/workbench/services/extensions/common/rpcProtocol.ts:455:17
at v.M in src/vs/workbench/services/extensions/common/rpcProtocol.ts:440:32
at v.H in src/vs/workbench/services/extensions/common/rpcProtocol.ts:370:19
at v.G in src/vs/workbench/services/extensions/common/rpcProtocol.ts:296:10
at <anonymous> in src/vs/workbench/services/extensions/common/rpcProtocol.ts:161:34
at u.invoke in src/vs/base/common/event.ts:692:17
at s.deliver in src/vs/base/common/event.ts:899:22
at d.fire in src/vs/base/common/event.ts:860:11
at o.fire in src/vs/base/parts/ipc/common/ipc.net.ts:646:12
at te.onmessage in src/vs/workbench/services/extensions/electron-sandbox/localProcessExtensionHost.ts:615:40

Go to Errors Site

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:
Terminal command suggestion does not work

Type: Bug
Hi,
Trying to  execute command 'kill -9 pid'. Start entering pid, the list pops up. I select the pid using the keybord in the list, press Enter but the selected process id is not chosen - I am left with the first initial digits I entered manually.
Could you please check.
Thanks,
Andrei.
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:34:01.965Z)
OS version: Darwin arm64 22.2.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_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)
8, 9, 10

Memory (System)
32.00GB (0.07GB free)

Process Argv
--crash-reporter-id ca77d4d7-a862-4b3b-a666-ca0626efb457

Screen Reader
yes

VM
0%

Extensions (42)

Extension
Author (truncated)
Version

cucumberautocomplete
ale
2.15.2

vscode-eclipse-keybindings
alp
0.16.1

format-json
Cle
1.0.3

generator-java-unit-test-file
den
0.0.12

java-decompiler
dgi
0.0.3

javadebugger
don
0.1.5

gitlens
eam
13.2.0

copilot
Git
1.73.8685

gc-excelviewer
Gra
4.2.56

compareit
in4
0.0.2

java-test
jav
0.0.2

auto-comment-blocks
kev
1.0.1

vscode-docker
ms-
1.23.3

vscode-dotnet-runtime
ms-
1.6.0

remote-containers
ms-
0.275.1

remote-ssh
ms-
0.96.0

remote-ssh-edit
ms-
0.84.0

remote-explorer
ms-
0.2.0

vscode-thunder-client
ran
2.4.1

fabric8-analytics
red
0.3.6

java
red
1.14.0

vscode-community-server-connector
red
0.25.7

vscode-rsp-ui
red
0.23.13

vscode-xml
red
0.24.0

multi-command
ryu
1.6.0

sonarlint-vscode
Son
3.14.0

tabnine-vscode
Tab
3.6.38

vscodeintellicode
Vis
1.2.30

vscode-boot-dev-pack
vmw
0.2.1

vscode-spring-boot
vmw
1.44.0

vscode-java-debug
vsc
0.48.0

vscode-java-dependency
vsc
0.21.1

vscode-java-pack
vsc
0.25.7

vscode-java-test
vsc
0.37.2023021404

vscode-lombok
vsc
1.1.0

vscode-maven
vsc
0.40.4

vscode-spring-boot-dashboard
vsc
0.10.1

vscode-spring-initializr
vsc
0.11.2

vscode-icons
vsc
12.2.0

vscode-icons-mac
way
7.25.3

fig
wit
0.0.7

familiar-java-themes
zer
0.1.7

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848:30662994
nodejswelcome1cf:30587006
3biah626:30602489
pyind779cf:30662993
f6dab269:30613381
pythonsymbol12:30657548

that autocomplete is coming from a custom configuration you have or an extension - not VS Code core


text:
Extension process didn't stop after closing VS Code

Type: Bug
Reproduce
Open in vscode project like
https://github.com/blockscout/blockscout
compile this project
install extension
https://marketplace.visualstudio.com/items?itemName=pranaygp.vscode-css-peek
https://user-images.githubusercontent.com/1568885/222010377-f45f3d78-8499-4b4a-880b-df7dfa9d2a2a.mp4
Expected behaviour
The process from extension stop after closing VS code
VS Code version: Code 1.75.1 (Universal) (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:34:59.000Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_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)
2, 2, 2

Memory (System)
32.00GB (0.04GB free)

Process Argv
--crash-reporter-id 92d09ffb-b0c1-4701-929f-5b7b9365b24d

Screen Reader
yes

VM
0%

The extension has not been updated for two years. You can request the extension to be marked deprecated in the following thread if you think it should be:

https://github.com/microsoft/vscode-discussions/discussions/1

The cause would be that the extension depends on an old vscode-languageclient package:
    "vscode-languageclient": "^5.2.1"

https://github.com/pranaygp/vscode-css-peek/blob/e4b0ceb3547a219e3081854f1d1e208c20cd45f8/client/package.json#L15

The old version caused similar issues:

microsoft/vscode-languageserver-node/pull/776

Would be nice if VS code make some requirements for extensions, for example VS code v1.8 requires "vscode-languageclient": "^8.0.0" and if an extension has a lower version then it stops working

@pustovalov Seems feasible. You had better open a new issue as a feature request.

This is unfortunate, but the process that is leaking is not the extension host process. It is a process spawned by one of the extensions running in the extension host process. There are valid situations where extensions want to spawn processes which outlive vscode and the extension host process, so we can't attempt to kill all child processes on exit, as that would break the usecase. Given the extension appears abandoned, I would recommend raising an issue and starting the process of deprecating it.

Nothing to be done on the VS Code side.
Closing.
@pustalov did you file an issue on the extension? Did you ask them if we should mark them as deprecated?

authors: alexdima isidorn pustovalov tamuratak


text:
Extensions not installing in vs code

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

VS Code Version: 1.76.0
OS Version: Linux x64 5.19.0-35-generic

Steps to Reproduce:

Try to install any vs code extension

Can you please provide following log while you reproduce it?

F1 > Open View... > Shared

Hey thanks for your concern but it started working again when I tried it next morning. Could this be because of slow internet connection that it shows the above error?

Yeah may or may not be. When you see this again comment in this issue with requested log. Closing this until then.

sure @sandy081

[error] RequestService#request (browser) - error https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery {"name":"Canceled"}
2023-03-13 17:11:43.198 [error] Error: net::ERR_INVALID_ARGUMENT
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:105:7047)
    at SimpleURLLoaderWrapper.emit (node:events:526:28)

I guess this happends when i set http.proxyAuthorization to true or false. When I comment that like it works well. But when i commented that like I was not able to sign in using my github account.


text:
Alt-Arrow (move line(s) up/down) with numeric keypad creates weird characters

Type: Bug

Put multiple lines of text in the editor.
Go to a line.
Hit Alt-Up or Alt-Down using the numeric keypad arrows (not the inverted T)
Note how the line moves, but a new stray character is also added

Under Windows, pressing Alt while tapping in a numeric code on the keypad (regardless of numlock setting) inserts the character of the ASCII number entered. For example, Alt+0169 produces §. The character is not produced until the Alt key is unpressed.
This is normal and desirable (if obscure) functionality -- except for this particular situation, where the Alt-sequence is mapped to another command.
So, when trying to execute Move Line Up with Alt-Up, character 8 (BS) is produced. Hitting Up twice produces character 88 (X). Down produces character 2 (☻). Etc.
Is there a way to suppress the pending character generation when a command has been recognized?
In a related note, when the user tries to use this technique to enter any character that includes the digits 2 or 8 in its codepoint, the associated commands are executed. Normally, users will prefix the number with 0, so a mitigation could be tracking the state of whether numeric character entry is presumed to be in progress by looking for Alt being pressed followed by a keypad number other than 2 or 8. This state would be unset only when the Alt key is unpressed. While the state is true, commands associated with the Alt + keypad keys should be suppressed.
VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:02:16.981Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 1805)

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)
31.73GB (12.82GB free)

Process Argv
--crash-reporter-id d73f743d-6ae3-4e8a-b56b-63cb5bfb8170

Screen Reader
no

VM
0%

Extensions (30)

Extension
Author (truncated)
Version

vscode-tailwindcss
bra
0.9.11

vscode-eslint
dba
2.4.0

xml
Dot
2.5.1

gitlens
eam
13.4.0

prettier-vscode
esb
9.10.4

vscode-pull-request-github
Git
0.62.0

rest-client
hum
0.25.1

vscode-dashboard
kru
2.6.0

git-graph
mhu
1.30.0

vscode-azurefunctions
ms-
1.10.4

vscode-azureresourcegroups
ms-
0.7.0

csharp
ms-
1.25.4

python
ms-
2023.6.0

vscode-pylance
ms-
2023.3.40

jupyter
ms-
2023.3.1000892223

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

azure-account
ms-
0.11.3

hexeditor
ms-
1.9.11

powershell
ms-
2023.3.3

vsliveshare
ms-
1.0.5834

vscode-versionlens
pfl
1.5.0

column-aligner
Ric
1.0.0

vscode-vba
ser
0.8.1

autoimport
ste
1.5.4

vscode-icons
vsc
12.2.0

volar
Vue
1.2.0

vitest-explorer
Zix
0.2.39

A/B Experiments
vsliv368cf:30146710
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
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
nodejswelcome1:30587005
3biah626:30602489
pyind779:30671433
89544117:30613380
vscrpc:30673769
pythonsymbol12:30671437
a9j8j154:30646983
vsctsb:30705553
pythonb192cf:30669361
azdwalk:30687957
pythonms35:30701012
pythonclientmv:30705673

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

Yes, this is still happening in 1.77.1.

Duplicate of https://github.com/microsoft/vscode/issues/22364


text:
git bash freezes upon opening on windows

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

VS Code Version: 1.77.3
OS Version: Windows 11

I'm Having an issue with gitbash, it freezes upon opening, I have searched for solutions but I did not find anything matching my issue.
here is a screen for reference:

Please let me know if there is a possible solution 😸

@saranatour1, does the same happens when you update gitbash outside of VS Code?

I did update it, and I get the same issue, it freezes, I tried killing the port but it didn't work.. and it looks like it is not a vsc issue?

It's working again.

The issue seemed to get resolved  after I updated the packages.


text:
JSON Schema changes not reflected if schema file has jsonc extension.

Type: Bug

Create a JSON Schema file (schema file) with the json extension and the following contents.

{
    "$schema": "http://json-schema.org/draft-07/schema",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "$schema": {
          "type": "string"
        },
        "test": {"type": "boolean"}
    }
}

Create a second file (instance file) in the same folder with the json extension and the  following contents.

{
    "$schema": "http://json-schema.org/draft-07/schema",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "$schema": {
          "type": "string"
        },
        "test": {"type": "boolean"}
    }
}

Note that there are no problems in the instance file.
Change the name of the property in the schema file from test to test1 and save.
Note that there is now a problem in the instance file without having to reload Visual Studio Code.

"Property test is not allowed."

Change the extension of the schema file and the reference to it in the instance file to json (instead of jsonc).
Change the name of the property in the schema file from test1 back to test.
Note that the problem in the instance file remains.

"Property test1 is not allowed."

Restart Visual Studio Code.
Note that there are no longer any problems in the instance file.

Visual Studio Code does appear to support JSON Schemas with the jsonc extension just like it does those with a json extension. Unlike schema files with the json extension though, those with the jsonc extension require a restart of Visual Studio Code to have changes relected in the validation of instance documents.
Note that this workaround also resulted in the schema changes being reflected.
https://stackoverflow.com/a/70175188/81595
VS Code version: Code 1.79.0 (b380da4ef1ee00e224a15c1d4d9793e27c2b6302, 2023-06-07T14:26:35.552Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 x 3592)

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

Load (avg)
undefined

Memory (System)
31.95GB (11.72GB free)

Process Argv
--crash-reporter-id 38b672a9-64ca-40e9-8060-3a52ff823ee1

Screen Reader
no

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

ng-template
Ang
16.0.0

argutec-azure-repos
arg
1.2007.15

vscode-eslint
dba
2.4.0

githistory
don
0.6.20

xml
Dot
2.5.1

prettier-vscode
esb
9.13.0

vscode-tfs
gen
2.0.0

gitpod-desktop
git
0.0.123

json-escaper
jos
1.1.2

rainbow-csv
mec
3.7.0

vscode-docker
ms-
1.25.1

csharp
ms-
1.25.9

remote-containers
ms-
0.295.0

remote-ssh
ms-
0.102.0

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.79.4

powershell
ms-
2023.6.0

remote-explorer
ms-
0.4.0

copy-json-path
nid
0.3.0

LiveServer
rit
5.7.9

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixhidewlkth:30730051
showsbindicator:30760979
pythongtdpathcf:30739705
dh2dc718:30763024

The workaround suggested works, but changes in the schemas are not automatically reflected in the instance files so you must keep changing this setting all the time if you are working on a schema. So I renamed all my *.schema files to *.schema.json, then added the following to my settings:
"files.associations": {
"*.schema.json": "jsonc"
}
This makes all changes to be reflected immediately.
Still an odd bug, though. Thx

The steps are contradicting

the schema file, In the start, what should the file extension be?  json or jsonc? Lets say it's bar.schema.jsonc.
the instance file needs to reference the schema file: `    "$schema": "./bar.schema.jsonc",

Note that JSONC is not a valid format for schemas. Any reason for doing that?
I have to check but I guess the bug is that we only don't look at JSONC documents when listening to schema updates.

Hi @aeschli. The first steps cover how the support for schema files with the json extension work. Then I showed that some but not all of this support is available for schemas with the jsonc extension. This bit sums it up.
"Visual Studio Code does appear to support JSON Schemas with the jsonc extension just like it does those with a json extension. Unlike schema files with the json extension though, those with the jsonc extension require a restart of Visual Studio Code to have changes relected in the validation of instance documents."

Thanks @samunro for the clarification.
Is there a reason why you would configure a JSON Schema to JSONC? The JSON Spec requires files to be of type JSON.
JSONC is more of an internal format that we use for our configuration files.

With the json extension, comments result in a "Comments are not permitted in JSON." problem (in the Problems pane). And they get a red squiggly. This can dilute actual problems in the schema.
The jsonc extension behaves differently and just accepts comments. These are really useful in large schemas, complicated schemas to explain anything that is not obvious.
We actually strip the comments out before validating against the schemas programmatically. But they are there in source control, visible to anyone that needs to change the schemas.

authors: aeschli leosdad samunro


text:
GUI error

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

VS Code Version: 1.83
OS Version: (Oracle VM Virtual Box 7.0 running on Windows 10) Ubuntu 22.04

Steps to Reproduce:

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

VS Code just updated, and now I'm having similar problems.

Hello, @jhcole. We have this problem too. We find solution in this URL https://code.visualstudio.com/docs/setup/uninstall. Try "clean uninstall". I hope you know like resolve in ur platform. We are working in ubuntu and write sudo rm -rf ~/.config/Code and  sudo rm -rf ~/.vscode in terminal.
GL HF
HAPPY CODING (trolling VS code admin)

Hello, @jhcole, @emmaudeji. We have this problem too. We find solution in this URL https://code.visualstudio.com/docs/setup/uninstall. Try "clean uninstall". I hope you know like resolve in ur platform. We are working in ubuntu and write sudo rm -rf ~/.config/Code and sudo rm -rf ~/.vscode in terminal. GL HF
HAPPY CODING (trolling VS code admin)

This worked, thanks!

Hello, @jhcole, @emmaudeji. We have this problem too. We find solution in this URL https://code.visualstudio.com/docs/setup/uninstall. Try "clean uninstall". I hope you know like resolve in ur platform. We are working in ubuntu and write sudo rm -rf ~/.config/Code and sudo rm -rf ~/.vscode in terminal. GL HF
HAPPY CODING (trolling VS code admin)

This worked, thanks!

From Russian with love <3

From Chile. In Bash
1. close vsc

2. cd $HOME/.config/Code

3. rm -dR GPUCache/

4. re-open vsc

saludos

This worked for me.  Seems better than wiping the entire Code directory.

Merging to https://github.com/microsoft/vscode/issues/190437

authors: NemevitasZN VSCodeTriageBot deepak1556 emmaudeji jhcole overide


text:
[PROPOSAL] Format String On Prefix Changed

Describe The Feature
Automatically convert a string if the string's prefix is changed.
This occurs if the user selects the string prefix, and modifies it, or if the user deletes the prefix, and inserts a new one.

Remarks
There should also be an option to automatically format the string if a multiline - singleline conversion is detected.

Settings

Key
Value

Suggested Name
editor.convertStringOnPrefixChanged

Type
enum?

Description
Shows a CodeLens above keybindings indicating how many other commands use the same keybinding.

Default
null

-
-

null
Don't convert

convert
OConvert the string.

convertAndFormat
Convert the string, and format if necessary.

This option will extend the options for editor.convertStringOnPrefixChanged, so that the options are now:
Note that a conversion from a multiline string to a single line string should be automatic.

See also:

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

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!


text:
issue

vscode is running slowly

/needsPerfInfo

Thanks for creating this issue regarding performance! Please follow this guide to help us diagnose performance issues: https://github.com/microsoft/vscode/wiki/Performance-Issues
Happy Coding!


text:
Cannot connect to Debian 12 using VS Code Remote SSH extention

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

VS Code Version:
OS Version:

Steps to Reproduce:

Install Visual Studio Code

Version: 1.92.1 (user setup)
Commit: eaa41d57266683296de7d118f574d0c2652e1fc4
Date: 2024-08-07T20:16:39.455Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

Add Remote SSH extension
Connect to Debian 12

Connection does not complete. Error is reported in console:
leonbrag@hpdebian's password:
e93277eb2fbf: running
Installing to /home/leonbrag/.vscode-server...
e93277eb2fbf%%1%%
Downloading with wget
Download complete
e93277eb2fbf%%2%%
tar --version:
tar (GNU tar) 1.34
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
code 1.92.1 (commit eaa41d57266683296de7d118f574d0c2652e1fc4)
Starting VS Code CLI... "/home/leonbrag/.vscode-server/code-eaa41d57266683296de7d118f574d0c2652e1fc4" command-shell --cli-data-dir "/home/leonbrag/.vscode-server/cli" --on-port --on-host=127.0.0.1 --parent-process-id 1917 &> "/home/leonbrag/.vscode-server/.cli.eaa41d57266683296de7d118f574d0c2652e1fc4.log" < /dev/null
printenv:
    SHELL=/bin/bash
    PWD=/home/leonbrag
    LOGNAME=leonbrag
    XDG_SESSION_TYPE=tty
    MOTD_SHOWN=pam
    HOME=/home/leonbrag
    LANG=en_US.UTF-8
    VSCODE_AGENT_FOLDER=/home/leonbrag/.vscode-server
    SSH_CONNECTION=192.168.4.204 61347 192.168.4.33 22
    XDG_SESSION_CLASS=user
    USER=leonbrag
    SHLVL=1
    XDG_SESSION_ID=8
    XDG_RUNTIME_DIR=/run/user/1000
    SSH_CLIENT=192.168.4.204 61347 22
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
    DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
    _=/usr/bin/printenv
    OLDPWD=/home/leonbrag/.vscode-server
Spawned remote CLI: 1964
Waiting for server log...
e93277eb2fbf: start
SSH_AUTH_SOCK====
DISPLAY====
listeningOn==127.0.0.1:38907==
osReleaseId==debian==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult==success==
didLocalDownload==0==
downloadTime==538==
installTime==169==
serverStartTime==50==
execServerToken==347f9ecc-0d37-4d52-a8c6-95626c1fb472==
e93277eb2fbf: end

Posted in wrong place. Will report in Remote SSH tools


text:
Not getting ../ as a terminal suggestion

Create a powershell terminal
cd ..
See that there's a .. suggestion, accept it
add a /
See other suggestions. None of them is ..
Add a ., so the full line you entered is cd ../. The suggestions close.

/duplicate #234351


text:
Support to preview selected suggestion as inserted text

VSCode Version: 1.15.0

I hope there can be a option in user setting, so I can use tab and shit-tab to select suggestions like in vim.
I tried the following keybindings.json
// Place your key bindings in this file to overwrite the defaults
[
  {
    "key": "shift+tab",
    "command": "selectPrevSuggestion",
    "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  },
  {
    "key": "tab",
    "command": "selectNextSuggestion",
    "when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
  }
]

but the following keybinding in the Default Keybindings cannot be removed by configuring the  keybinding.json file.
  {
    "key": "tab",
    "command": "acceptSelectedSuggestion",
    "when": "editorTextFocus && suggestWidgetVisible"
  }

In vim, selected suggestion is automatically inserted, VSCode do not until I press the enter.
In summary:

I want to use tab and shift-tab to select suggestion like I do in vim.
selected suggestion can be automatically inserted, changing selected suggestion resulting in replacing the inserted suggestion, and the suggestWidget will not be hide until I press esc or some char after the inserted.(like in vim)

Hope my poor english can be understood.

Any update for this? @jrieken

authors: Shuumatsu roachsinai


text:
Tabs do not stay open, new file takes the tab that an open file had been in

I see the that the very thing that I'm experiencing was reported in "only show one tab,new tab will replace exist tab #51649"
I have tried it with 1.36.0 (insider) and it still persists
Version: 1.36.0-insider (user setup)
Commit: 15b7c86d86319b187a5ef255c170184a8519c5af
Date: 2019-06-14T10:37:04.235Z
Electron: 4.2.4
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.17763
Steps to Reproduce:

Open Folder with several files
Click on one of the files and then click on another file.  The original file is no longer in the Open Editors list and the tab of the first document is no longer open.

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

This is as designed. Documentation here. @jrobiii if you agree please close this issue. If not, give more info e.g. screenshots.

I see, double clicking actually opens the window in a tab and single clicking previews.  Thanks!  I will close this ticket.

authors: gjsjohnmurray jrobiii


text:
Expand all/collapse all directories in Explorer

Would be great to have a right click option to expand/collapse all directories in the file explorer. If you open too many directories, it's painful to go through & collapse them manually all one at a time.

We have a "collapse all" action in the explorer, as well as an action in the command palette, will this solve your issue?

Aha I had not even noticed that button on the UI...

authors: misolori omcnoe


text:
Scroll in explorer

Issue Type: Bug
I am using an asus notebook that has software called smart gesture. It simulates the scrolling of a mouse by moving with two fingers on the touchpad. Works everywhere except in the vscode folder list ...
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz (4 x 1696)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
5.70GB (0.95GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

ng-template
Ang
0.900.3

EditorConfig
Edi
0.14.4

vscode-npm-script
eg2
0.3.10

prettier-vscode
esb
3.18.0

angular-essentials
joh
0.6.3

Angular2
joh
8.3.0

vscode-peacock
joh
3.2.0

vscode-typescript-tslint-plugin
ms-
1.2.3

debugger-for-chrome
msj
4.12.3

angular2-inline
nat
0.0.17

angular-console
nrw
10.0.0

material-icon-theme
PKi
3.9.2

vscode-open-in-github
ziy
1.3.6

(1 theme extensions excluded)

i use lenevo and it works well in with touchpad in explorer tab

@ganholete can you reproduce this in other lists in vscode. For example in the extensions view list? Or the SCM or Search view? Can you repredocue with vscode insiders https://code.visualstudio.com/insiders/
@deepak1556 did we already have complaints like this sounds electron related?

i use lenevo laptop and it works well in with touchpad in explorer tab
Is a problem with asus smart gesture.

@ganholete can you reproduce this in other lists in vscode. For example in the extensions view list? Or the SCM or Search view? Can you repredocue with vscode insiders https://code.visualstudio.com/insiders/
@deepak1556 did we already have complaints like this sounds electron related?

This issue happens in all scrollable listings and only in vscode (extensions, options, code). The whole system works.

This issue happens in all scrollable listings and only in vscode (extensions, options, code). The whole system works.

try to reinstall vscode in admin mode and test without any extensions.

This issue happens in all scrollable listings and only in vscode (extensions, options, code). The whole system works.

try to reinstall vscode in admin mode and test without any extensions.

I reinstalled vscode and extensions and now everything works! Thanks!

I reinstalled vscode and extensions and now everything works! Thanks!

Perfect! you can close this issue now

authors: byehack ganholete isidorn


text:
Find in files (workbench.view.search) command opens terminal if Search: Location is set to panel

Issue Type: Bug
Happened in master during holidays, but I thought that it was my local problem.

Add "search.location": "panel" to settings.json
Use shortcut Ctrl+Shift+F or Edit > Find in Files from menu
Terminal panel is opened instead. Moreover Search panel title is not visible at all.

I don't see any errors in DevTools console
Workaround: use "search.location": "sidebar" instead
VS Code version: Code - Insiders 1.42.0-insider (9349e9a2fdbd1d92824ce99af4a50b6785351b11, 2020-01-06T10:40:10.218Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.72GB (19.46GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

I can't repro it, but basically the search view doesn't show up anywhere for you?
If you right click in the panel title area, is the search view unchecked?

Can't see it in panel context menu

and not in Activity Bar context menu as well.

Bisected and looks like it's 57c30ddb82979a58a40441c02568a865da63285e
# first bad commit: [57c30ddb82979a58a40441c02568a865da63285e] Port view container logic from activitybarpart to panelpart (#87444)

/cc @sbatten

Reproduced on Ubuntu and MacOS as well. See #88165

Thanks! I actually can repro after all. I thought I had updated but wasn't on the new Insiders...

I have a workaround which I think is ok for now but, please review @sandy081 and @sbatten when you're back.
This is from both https://github.com/Microsoft/vscode/commit/2def84c1e2e84b2d85f5330e5864514500ecdabf and  https://github.com/microsoft/vscode/commit/57c30ddb82979a58a40441c02568a865da63285e
We register the sidebar view container with hideIfEmpty set: https://github.com/Microsoft/vscode/commit/2def84c1e2e84b2d85f5330e5864514500ecdabf#diff-6c358dac4832779e39f087c84137742eR336
But then we find that descriptor when looking for the panel's viewContainer: https://github.com/microsoft/vscode/commit/57c30ddb82979a58a40441c02568a865da63285e#diff-cd026e7ca90d9b77a81766f73c99e98cR186
Because they have the same IDs?
https://github.com/microsoft/vscode/blob/629a08ed6231d7af269ae61a5cc610490d1f7f5d/src/vs/workbench/services/search/common/search.ts#L20-L22
Maybe these things should have different IDs?

Actually I don't have a workaround - if I set hideIfEmpty to false, then the activitybar icon won't go away when the view is in the panel.
We could get rid of this but I don't know if it's safe: https://github.com/microsoft/vscode/blob/629a08ed6231d7af269ae61a5cc610490d1f7f5d/src/vs/workbench/browser/parts/panel/panelPart.ts#L297-L302
@sandy081 please take a look and see if you have any ideas.

Our changes to adopt panels to use views infrastructure has broken this. The right fix here is to use latest infra to move search views which is very easy now.
Working on fix.

Renaming the id has a side affect that the search view's state (position/visibility) is reset

Does that mean it's reset across upgrading vscode, so it will lose its configured position? I think that's not ideal

Yeah it does. The state that gets reset is only visibility and order. Re visibility, I do not think user hide search panel. So, I do not think its major impact.

Configured position in question is position in panel (reordered via drag'n'drop)?
Search correctly appeared as panel, but can't provide any info about changes in order, because search was first

Configured position in question is position in panel (reordered via drag'n'drop)?

Yes.

I still think people use these features and will be affected by it. Is the problem sort of that there is no longer a concept of the view descriptor being "for" the panel vs the viewlet? Or is there still any way we can keep the persisted data for the panel while it also has the same ID as the viewlet's descriptor?

We are moving everything into view containers and views. View containers are the containers that holds views (as the name says). In side bar/activity bar and panels section view containers viewlets and panels respectively. It is required that these containers have unique ids otherwise you will have issues like this.
To be clear, the only state that gets reset is the position of the search panel in the panel bar. How about adding this to the release notes, If you consider this as a major impact?

I don't think that having it in the release notes makes it any less annoying. Ideally users wouldn't have to notice this change under the hood, like maybe we could port the persisted data over from the old ID to the new one, but I have no idea how difficult that is.

authors: IllusionMH roblourens sandy081


text:
Intellisense is working incorrectly for Vue and React projects in 1.41.1

VSCode Version: 1.41.1
OS Version: Windows 10

Steps to Reproduce:

Create new Vue project: vue create enterprise
Change current directory to enterprise
Open VS Code: code .
Open main.js file. Type imp to add import command. No prompts appear, intellisense is not working.

Note, if we open App.vue and type me to add methods property, intellisense works fine:

Let's reopen project, but this time open Enterprise's parent directory Vue:
Open main.js again and again type imp to add import command. This time intellisense is working:

But, unfortunately, this time prompts are not correctly working for App.vue:

Similar problems happen to React projects.
I have downgraded to version 1.40.2. Everything looks working right:

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

I can't reproduce this.

Were you seeing a long "Initializing JS/TS language features" message in the bottom? During the initialization phase no intellisense will be shown.

Yes, I do:

Also, when I'm trying to force intellisense to display the prompts by pressing Ctrl + Spacebar, I get "Loading ..." message that never finish:

Incorrect version is still 1.41.1.
Version 1.40.2 still works fine.

I looked through the list of more recent issues and found one more similar issue:
#88264: when i try to write code intellisense not showing any suggestions
it continuously shows "Loading...." .
Probably, that's the same case, as soon as I had the same error not only in Vue, but in React applications as well.

Then this is a issue with TypeScript language server, not Vetur.

Great! But this doesn't happen in VSCode version 1.40.2 and earlier.
Must be a new feature.

Great! But this doesn't happen in VSCode version 1.40.2 and earlier.

@sborenko  Where is your code stored? Somewhere besides the c: drive?

On hard disk d:

Duplicate of https://github.com/microsoft/TypeScript/issues/35512
To workaround this, upgrade your workspace to use typescript@next by installing this extension

Okey, thanks. I'll try.

authors: mjbvz octref sborenko


text:
Quick access: accessibility

Refs: https://github.com/microsoft/vscode/issues/69955

[x] macOS: @isidorn
[ ] windows @misolori
[ ] Linux @weinand

Complexity: 2

Quick open is now using the quick input widget that leverages our new tree widget. All quick open providers have been rewritten from scratch.
Note: configure "workbench.quickOpen.closeOnFocusLost": false to make testing easier by keeping quick open opened even if you navigate somewhere else.
Accessibility

enable a screen reader and verify the output makes sense when interacting with quick open (can you operate quick pick without looking at the widget for example, is the output too verbose?)
verify you can navigate and select using keyboard only
verify that high contrast theme works on the quick pick widget

Looks good. However we already got some great issues from the community regarding this, so it would be great if we fix them
https://github.com/microsoft/vscode/issues/93610
https://github.com/microsoft/vscode/issues/93657

In general Orca screenreader and high contrast themes worked fine with Quickpick.
The issues I filed are more questions...

authors: bpasero isidorn weinand


text:
Provide linting support (eslint?) for deprecated extension APIs

Refs: #93604
It would be great if we provided a lint package that extension authors could use to identify deprecated APIs. Additionally, any other common mistakes, or anti-patterns we've seen used.
/cc @jrieken

FYI @Ikuyadeu has some linting here: https://github.com/devreplay/devreplay/blob/master/src/rules/vscode.ts

@eamodio Thank you for summarizing!
I want to add the information that I could not tell due to my English.
The lint is available as the vscode plugin

Left is deprecated code, right is setting file ./devreplay.json
Also, implementing vscode-plugin like eslint-plugin-vue is good, but sounds costy.

I love the idea and I am disappointed that TypeScript didn't look at this https://github.com/microsoft/TypeScript/issues/33093. Pretty please, @DanielRosenwasser

We were looking at this recently and we might have the information on hand to do this at least from things like completion. Whether we could do this for suggestion diagnostics might be another issue.

In my idea, my extension and linter are MIT, so it can be used in this repository like language syntax files by the following steps.

Importing my extension as the basic vscode function
Using rule file as the .vscode/rules.json that refer the #88391 knowledge.
Putting the rule files on the extension template in Yo.
New extension users can get the warning by the rule file.

How do you think?

TS now supports the @deprecated and usages of deprecated APIs are flag accordingly. Closing as obsolete

authors: DanielRosenwasser Ikuyadeu eamodio jrieken


text:
When saving Notebooks, give me details about which cells are new

Related to #96433 I have been storing metadata for Markdown cells. I store this in a Map in the renderNotebook function.
However, if I create new markdown cells while in Notebook Mode (and save the document), the render function doesn't get run again and so the metadata isn't updated. To get around this, I added:
https://github.com/TylerLeonhardt/vscode-powershell/blob/fe8576bda498b81f89f05806b2667d8c50e0f6a9/src/features/PowerShellNotebooks.ts#L155-L156
That will set the metadata for markdown cells that don't exist in my Map but this is not really ideal... Ideally, I get some hook or property somewhere of the new cells that are being saved to the file so I can process them in any way I choose.
cc @rebornix

By now we have events that fire whenever a cell is added to a notebook (onDidChangeNotebookCells). This event should allow you to keep track of things.

authors: TylerLeonhardt jrieken


text:
Evaluate in debug console keyboard shortcut

A command widely used when debugging code is to evaluate a selection in the debug console.
There is an option to do this in vscode:

Using Auto completion in the settings.json, I couldn't find the keyboard shortcut for this action.
Would it be possible to add it?

The command Evaluate in Debug Console is listed in the Keyboard Shortcuts - which is where you should look for commands and their keybindings, if any.
There is no default keybinding for that command.  You can set your own in the Keyboard Shortcut panel after you search for the command.  Click the + button to the command's left.

You are absolutely right, thank you for the information. Sorry as I searched directly in the json.
The corresponding field is editor.debug.action.selectionToRepl.
Closing.

authors: ArturoDent romainmartinez


text:
Lets issues of the "don't know" variety be filed from the issue reporter.

fixes https://github.com/microsoft/vscode/issues/171713

Where will these issues be filed when the user picks "don't know"?

@TylerLeonhardt It just goes to bug report or performance issue under vscode

source: gharchive/pull-request

authors: TylerLeonhardt justschen


text:
fix: memory leak in menu

fixes #195580

hallo, VS Code still crashes in Mac OS Sonoma, vscode 1.84.1
➜  ~ code --disable-gpu
➜  ~ code --status
Version:          Code 1.84.1 (2b35e1e6d88f1ce073683991d1eff5284a32690f, 2023-11-06T12:37:18.666Z)
OS Version:       Darwin x64 23.1.0
CPUs:             Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz (8 x 2700)
Memory (System):  16.00GB (0.35GB free)
Load (avg):       5, 3, 3
VM:               0%
Screen Reader:    no
Process Argv:     --disable-gpu --crash-reporter-id 8fb189c2-2e57-4991-8371-96c8bbddcf37
GPU Status:       2d_canvas:                              unavailable_software
canvas_oop_rasterization:               disabled_off
direct_rendering_display_compositor:    disabled_off_ok
gpu_compositing:                        disabled_software
multiple_raster_threads:                enabled_on
opengl:                                 disabled_off
rasterization:                          disabled_software
raw_draw:                               disabled_off_ok
video_decode:                           disabled_software
video_encode:                           disabled_software
vulkan:                                 disabled_off
webgl:                                  unavailable_software
webgl2:                                 unavailable_software
webgpu:                                 unavailable_software

authors: SimonSiefke brauliobarahona


text:
make sure minimist is loaded lazily from main.js

minimist (and other node_modules) fail to load during startup because they are served from the ASAR bundle and that isn't ready when load the main file

related https://github.com/microsoft/vscode/commit/1c921394696edbecac21f2993155dfcc4a67b167


text:
fixes #92857

This PR fixes #92857

Not sure. A dictionary is a set. We'll keep it as is.

Bummer. I know this is a very low priority issue, but here's where I'm coming from
I was planning to write a blog post about how comments help with code understandability and wanted to use this case about an API that got improved thanks to a simple change.
Here's an article I wrote for the ACM explaining why I think this is important https://queue.acm.org/detail.cfm?id=3127495
And here I wrote about the importance of "paratexts" (as in Literary Theory) or code comments: https://dl.acm.org/doi/10.1145/3191697.3214326
From wikibooks:

Sets are groups of items, unordered with duplicates removed. The keys of a dictionary form a set, but each key has an associated value; these values could be duplicated within a dictionary.

I think calling that a set when we could either use dictionary or collection goes more aligned with what the code does, because set has a very specific and narrowing definition related to element uniqueness.

Maybe change it to 'dictionary' ?

Thanks.
Should we reopen this PR or go for a new one?

@aeschli just updated the PR, thanks!

Thanks @videlalvaro !

authors: aeschli videlalvaro


text:
Cannot Filter / Find Values from backlog view when not the first value

In the backlog view of DevOps, using the filter field and entering a value which has been selected in the multiselect, but is not the 'first' item listed will result in this not being found.
E.g. Selecting "Apples" and "Bananas" from the multi-select stores these in the field as "Apples;Bananas"
Searching for "Bananas" in the backlog view of devops will yield no results.
Searching for "Apples" will find the work item.
Manually editing the field to store as "Apples; Bananas" instead will resolve this.
Therefore, I believe the issue is that the DevOps backlog filter is doing a tokenized string comparison tokenized on spaces; and by introducing a space between the selected options in the control when writing to the picklist field, this would resolve the issue.

+1

I'll review it and provide feedback shortly.

Hi @AminTi, any updates? Not being able to query by the field values makes the use of the extension unfeasible...

authors: AminTi cyoscott niltongouveajr


text:
[Feature]: More detailed permissions management

Summary

When declare some capabilitis instead of isolatedWin32-promptForAccess, App can access some special folder (such as %UserProfile%/Pictures,Documents…), like UWP.
Provide a detail list in Settings App's Private&Security > File system page for every app.
Documents need be tidied up and mark whether the capabilities can work in UWP, FullTrust, PartialTrust, CoreApplication(MediumIL), AppSlio or etc.

Pitch

UWP can access some special folder by declaring musicLibrary picturesLibrary videosLibrary removableStorage recordedCallsFolder objects3D documentsLibrary … without broadFileSystemAccess. Many applications need't access the whole file system, which only access these special folder.

Only a 'Reset' button for AppSilo in 'Private & Security > File system' page. But AppSilo support remeber approved or denied path. So it is necessary to read or write this list in Settings App. Sandboxie-Plus is a good example.
Provide a new capability, whose behavior is like broadFileSystemAccess in UWP. The Prompt will only pop up once, and if the user approve, the application can access all file system without popping up the prompt again. For example, NanaZip is a file manager, users will get bored if pop up promet frequently.

I hope more and more permissions can be managed in AppSilo, not only file system. Finally it is similar to UWP.

If your program is using WinRT APIs to access files, the capabilities should work - they were designed for UWP apps. We currently do not have a plan to support the capabilities on win32 app yet, but we will explore the possibility when more apps have such requirements.
As for the detailed information for files the app has access to, it's on our to do list and it's definitely an improvement for transparency.

authors: AndromedaMelody tiangao-ms


text:
Winget detecting Steam app ShareX

Brief description of your issue
Running winget upgrade --all --include-unknown lists ShareX.ShareX as an installed app even though it is installed via Steam, resulting in an error.
> winget upgrade --all --include-unknown
Name   Id            Version Available Source
---------------------------------------------
ShareX ShareX.ShareX Unknown 16.1.0    winget
1 upgrades available.

(1/1) Found ShareX [ShareX.ShareX] Version 16.1.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 1
Installer log is available at: C:\Users\me\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-ShareX.ShareX.16.1.0-2024-09-20-21-26-45.499.log

Steps to reproduce

Install ShareX via Steam
Run winget upgrade --all --include-unknown, watch it send an error about ShareX

Expected behavior
I expected it to not be detected by winget as it is installed by Steam.
Actual behavior
Winget is detecting ShareX as an application even though it is installed from Steam and giving an error when using the command.
Environment
❯ winget --info
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4169
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

I used Steam to install ShareX

I don't think it should be detecting this as Steam already updates those apps, so there is no point. I understand winget is meant to detect already installed applications, but I don't think it makes sense to detect Steam apps.

The package manager operates by downloading a compressed copy of the manifests in this repo, then matching this data against data in the Registry, and outputting matches. This package might have 1 installer that is installed through various package managers and maybe other means. Were this the case, then the Registry would receive the same data regardless of install source, and the package manager should offer the upgrade.
Does upgrading through this package manager cause issues for other package managers including Steam? (Consider using a VM or Sandbox to test instead of modifying your system.)
One possible solution could be using the --pin feature, to prevent this package manager from offering upgrades for this package in the future.

Looking at the ARP on my machine, it seems that apps installed by Steam all have a product code like "Steam App [numerical ID]". So we could potentially detect that an app is managed by Steam and ignore them for updates. I think it would be worth doing since we probably can't do anything useful with those apps (except maybe list).

I think florelis solution would be perfect. It makes no sense to just list them as they are pretty much useless since you can't update them or anything.

In the meantime, maybe "winget pin" feature could be used as a workaround to block updating ShareX in upgrade all scenario.

authors: florelis stephengillie tookender yao-msft

repo: microsoft/winget-cli


text:
New version: Mythicsoft.AgentRansack version 9.1.3367.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Resolves #101624

Microsoft Reviewers: Open in CodeFlow

I think they want 9.0.3341.1 only.

authors: BrandonWanHuanSheng mdanish-kh

repo: microsoft/winget-pkgs


text:
Update BlueStack.BlueStacks to 5.11.100.2104

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @kbdharun,
This installer doesn't appear to have an unattended mode. I tried several common probing switches, as well as several common silent switches, and none of them made a change to the installer's behavior. Are you aware of any silent installer switches for this package?

This installer doesn't appear to have an unattended mode. I tried several common probing switches, as well as several common silent switches, and none of them made a change to the installer's behavior. Are you aware of any silent installer switches for this package?

Unfortunately no, I tried for a silent installation but everytime it was interactive, the previous version of this manifest had silent switches so I added it here too.

authors: kbdharun stephengillie


text:
New package: Livebook.Livebook version 0.9.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/110827&drop=dogfoodAlpha

Hmmm, It look like that is weird,. It matched with the Sigcheck and other hashes application tools but why there is Validation-Hash-Verification-Failed.

But, The value of SHA-256 is correct

I am not sure what is going on here. @somebody #help

Automatic Validation ended with:

Installation failed with exit code -1978335215
2023-06-28 04:14:01.561 [CLI ] Package hash verification failed.
SHA256 in manifest [dd26b3f54d22207b253e0c01531a974b0cab91ac4e6c7cb907ebdadc471c9082] does not match download [889f174a5458ea7393b0b980014d089cf2c68977d60ed281f25970b60d8e305f]

This might be due to a data center IP block, to prevent automated downloads.

Manual Validation failed with:

8:46:38 AM:  > 2023-07-05 08:46:37.940 [CLI ] Package hash verification failed. SHA256 in manifest [dd26b3f54d22207b253e0c01531a974b0cab91ac4e6c7cb907ebdadc471c9082] does not match download [889f174a5458ea7393b0b980014d089cf2c68977d60ed281f25970b60d8e305f]

@stephengillie again SHA mismatch :(

authors: BrandonWanHuanSheng CoolPlayLin sarvex stephengillie


text:
New version: Twilio.Authy version 2.4.0

Pull request has been created with Komac v1.9.0 :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/112366&drop=dogfoodAlpha

2.4.0 not available yet.


text:
New package: bosse.Ext2fsd version 0.70b3

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Hi @upintheairsheep,
I'm guessing that this might be an interactive-only package.

authors: stephengillie upintheairsheep


text:
Update Manifest: updated manifest version for th-ch.YouTubeMusic 1.13.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest ?
[x] Have you tested your manifest locally with winget install --manifest ?
[x] Does your manifest conform to the 1.5 schema?

Note:  is the name of the directory containing the manifest you're submitting.

This PR updates manifest version 1.13.0 for the th-ch.YouTubeMusic package. Note: currently, versions newer than 1.20.0 are not being recognized as newer by winget, due to these versions being prefixed with 'v'.
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

authors: matracey stephengillie


text:
New version: PrismLauncher.PrismLauncher version 8.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Standard error:  Exception during executable launch operation System.AggregateException: One or more errors occurred. (The specified executable is not a valid application for this OS platform.)  ---

Hi @PrismAutomata,
It appears that one of the installers isn't valid.

@wingetbot waivers Add Validation-Executable-Error

Just a heads-up: there are unresolved conversations.

authors: PrismAutomata stephengillie txtsd


text:
fix calibre portable 7.1.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Parent issue: #133004
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

2024-01-19T17:10:02.4014230Z ##[section]Starting: 🛡 Guardian: AntiMalware Scanner (Source)
2024-01-19T17:10:02.4139501Z ==============================================================================
2024-01-19T17:10:02.4140226Z Task         : AntiMalware Scanner
2024-01-19T17:10:02.4140627Z Description  : Run AntiMalware / Windows Defender
2024-01-19T17:10:02.4141038Z Version      : 4.212.0
2024-01-19T17:10:02.4141376Z Author       : Microsoft Corporation
2024-01-19T17:10:02.4141750Z Help         : AntiMalware build task must be run on a build agent with Windows Defender already installed.SecDevTools Extension Docs
2024-01-19T17:10:02.4142358Z ==============================================================================
2024-01-19T17:10:02.9820384Z Installing Guardian version: Latest
2024-01-19T17:10:04.5772155Z Installed Microsoft.Guardian.Cli.win-x64 version 0.195.0

(Automated response - build 609.)

authors: stephengillie wickles


text:
Moved: Vivaldi.Vivaldi version 4.3.2439.39

This pull request is automatically generated by 🥟 Dumplings
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

@wingetbot run

/AzurePipelines run

authors: SpecterShell Trenly stephengillie


text:
New version: TopazLabs.TopazPhotoAI version 1.3.9

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

authors: BiosPlus stephengillie


text:
New package: Blizzard.Battledotnet version 1.18.10.3141

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[x] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Related issue to this?
https://github.com/microsoft/winget-pkgs/pull/100547/files/b876cb4676b2c84bb4640b0776e0d930c3c6a3d0#r1148097286

Related issue to this? https://github.com/microsoft/winget-pkgs/pull/100547/files/b876cb4676b2c84bb4640b0776e0d930c3c6a3d0#r1148097286

Oh, yes, it could be this same issue. We use the hash as a security feature - we download and scan and test the package, and record the hash, so if the hash matches, it should be the same scanned and tested package. So if the hash changes frequently, it will block the install.
Some packages use a "vanity URL" that always has the most updated version. These applications error on update until we get an updated manifest version, with the new hash, into the repo.

authors: SkylerWallace stephengillie