text:
cant push

Type: Performance Issue
cant push
VS Code version: Code 1.70.0 (da76f93349a72022ca4670c1b84860304616aaa2, 2022-08-04T04:38:16.462Z)
OS version: Windows_NT x64 10.0.19044
Modes:

System Info

Item
Value

CPUs
AMD A6-9225 RADEON R4, 5 COMPUTE CORES 2C+3G    (2 x 2595)

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

Load (avg)
undefined

Memory (System)
3.89GB (0.68GB free)

Process Argv
--crash-reporter-id bff98e4b-8ae9-4f83-adb3-3d6a058ae65a

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    5	   115	  9816	code main
    0	    18	  3904	   utility-network-service
    0	   123	  5160	   extensionHost
    0	    90	  8168	     "C:\Users\DANIEL OSEKRE\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\DANIEL OSEKRE\.vscode\extensions\ms-python.vscode-pylance-2022.8.10\dist\server.bundle.js" --cancellationReceive=file:1c5f5e5a5df82ac1f64cb9caecf1214a93f1b95854 --node-ipc --clientProcessId=5160
    0	    34	  8188	     "C:\Users\DANIEL OSEKRE\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\DANIEL OSEKRE\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=5160
    0	    60	  6964	   shared-process
    0	    25	  4116	     fileWatcher
    0	    39	 13568	     ptyHost
    0	     6	  2900	       console-window-host (Windows internal process)
    0	    41	  7708	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	    66	  8100	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	     6	 11304	       console-window-host (Windows internal process)
    0	     5	 12340	       console-window-host (Windows internal process)
    0	     6	 12688	       console-window-host (Windows internal process)
    0	    65	 13180	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	    66	 13632	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	     5	  9496	   "C:\Program Files\Google\Drive File Stream\62.0.1.0\crashpad_handler.exe" "--database=C:\Users\DANIEL OSEKRE\AppData\Local\Google\DriveFS\Crashpad" --url=https://clients2.google.com/cr/report --annotation=application=Code.exe --annotation=prod=DriveFS --annotation=ver=62.0.1.0 --initial-client-data=0x1504,0x1528,0x1524,0x14f8,0x1518,0x7ffe7e966da0,0x7ffe7e966db0,0x7ffe7e966dc0
    9	    83	 10176	   issue-reporter
    0	     8	 12428	   crashpad-handler
    3	   169	 13324	   gpu-process
    0	   222	 13404	   window (launch.json - .vscode - Visual Studio Code)

Workspace Info
|  Window (launch.json - .vscode - Visual Studio Code)
|    Folder (.vscode): 7989 files
|      File types: pyi(5732) py(559) toml(127) json(119) svg(61) txt(51)
|                  js(39) md(26) typed(19) ts(12)
|      Conf files: package.json(6) settings.json(2);

Extensions (5)

Extension
Author (truncated)
Version

python
ms-
2022.12.0

vscode-pylance
ms-
2022.8.10

jupyter
ms-
2022.7.1002181843

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.9

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30529770
vsclangdf:30486550
c4g48928:30535728
hb751961:30541207
dsvsc012cf:30540253

Please provide reproducable steps

authors: Danielosekre isidorn


text:
Test comment filtering

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

[x] macOS @digitarald
[x] linux @aeschli
[x] windows @Yoyokrazy

Complexity: 3
Create Issue

There's a new filter input box and menu in the Comments view. You can use GitHub Pull Requests and Issues (or a comment providing extension of your choice) to verify.

Open a workspace with comments
a. If you don't have one, you can use GitHub Pull Requests and Issues to open a pull request with comments
Open the Comments view and verify the following:

that you can filter based on text in the body of the comment, including text that isn't visible in the comments view
that you can use usernames to filter
that you can filter by resolved/unresolved using the filter menu (note that not all extensions will support resolved/unresolved).
that the showing "x of y" text in the filter input box is always correct
that your filter state is preserved across reloads

Tested with https://github.com/microsoft/vscode/pull/158313 which has 23 comments to search through.

Hi @digitarald . I'm with VS Code 1.71.0 on macOS. I saw the "comment filtering" in the release note but I cannot see it even with --disable-extensions flag.

Does it only work for PR? And if not, could you tell me where to enable it? I see here it's said "Open a workspace with comments". The comment filtering does work in a PR from GitHub extension for me
 About VSCode

Version: 1.71.0
Commit: 784b0177c56c607789f9638da7b6bf3230d47a8c
Date: 2022-09-01T07:25:25.516Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin arm64 21.3.0
Sandboxed: No

Thanks in advance.

The "Comments" view is only available when there is an extension providing comments.

source: gharchive/issue

authors: PabloLION alexr00 digitarald

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
Terminal smooth scrolling - page up/page down, search results

Testing #158826
Enabled smooth scrolling, reloaded the window but it looks like smooth scrolling is not working in the following scenarios:

page up/page down
while jumping between search results

Upstream: https://github.com/xtermjs/xterm.js/issues/4121

try try

authors: Tyriar lszomoru tisilent


text:
vscode fails to update

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

VS Code Version:
OS Version:

Steps to Reproduce:

when update popup appears update
error

Sep 04 16:55:33.164 INFO Starting: C:\Program Files\Microsoft VS Code\Code.exe, false
Sep 04 16:55:33.165 ERRO Bad arguments: Code path doesn't seem to exist: C:\Program Files\Microsoft VS Code\Code.exe

my vscode.exe is at "D:\dprogramme\Microsoft VS Code\Code.exe"
🤔 shouldnt the executable path be read from argv0

/needsMoreInfo
Please report your exact Windows version and current VS Code version. One way is to launch VS Code, choose About from the Help menu and click the Copy button. Then paste the information into this issue on the GH website.

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!


text:
Can we have a Show all repositories button ?

Somewhere in here, clicking through thousands of repositories is exhausting.

Solved: You can do this by doing Ctrl + A in the SOURCE CONTROL REPOSITORIES VIEW

Best,
Nikola <3.


text:
ServiceWorker/CacheStorage folder grows indefinitely large

Does this issue occur when all extensions are disabled?: No -- requires an extension with webviews

VS Code Version: 1.73.1
OS Version: MacOS 12.5.1

Hello friends!
Our team is working on a VSCode extension, and uses VSCode both as a development platform and for testing our extension.  A coworker recently noticed that VSCode is storing an awful lot of data in ~/Library/Application Support/Code/Service Worker/CacheStorage (on a Mac) -- 145GB in my case, though other coworkers of mine have seen the same thing.
The folder has thousands of randomly-named folders, each of which seem to contain copies of our extension's webview bundles.  It doesn't look like these folders ever get deleted.  As developers we often run VSCode with these bundles unoptimized (and un-tree-shaken), so they can each be fairly large, and this adds up.
Is there any advice on why these folders are sticking around?  Are they expected to be automatically cleaned up?  Could it possibly be something our extension's webview is doing that could cause this?
Thanks!

I've done some investigation and noticed that an additional folder is created for every webview in the extension, and what's more that every time a webview bundle is modified (and the webview viewed), a new folder is created.  I'm guessing that the random folder name is a hash of the webview content or something.

Duplicate of #131226

authors: matthewjamesadam mjbvz


text:
Integrated Terminal is buggy, cursor jumps to line start and old commands are removed by hitting up arrow

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

VS Code Version: 1.73.1
OS Version: Ubuntu 20.04

Steps to Reproduce:

So this will randomly happen to me and I am unsure how to reproduce
My integrated terminal is pretty messed up. When I start to delete characters the cursor will jump to the beginning o f the line also if I hit upwards the selected line will move upwards and remove older commands.

Below you will see also a video of the bug:
Screencast from 18.11.2022 13:40:25.webm

Same here. I also use Ubuntu 20.40 with VsCode 1.73.1. Sometimes even entiere lines are deleted. For me it happens when i press arrow keys to jump to previously used commands et move the cursor to change some parameters.
I tried to reproduce and it looks like this:
https://user-images.githubusercontent.com/102982398/203534758-f4061a38-d0b1-4725-ab1b-a7e993575465.mp4

/duplicate #166158

authors: Nicoolandgood meganrogge snake-py


text:
Accept suggestion on commit character doesn't work inside function call

Type: Bug
VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T02:22:48.959Z)
OS version: Darwin arm64 22.1.0
Accept suggestion on commit character doesn't work inside function call, but works if called outside function call. It seems to unable to handle parentheses, because if it's brackets it works fine. Below you will find code snippet and gif recordings which reproduces the issue.
Setting: "editor.acceptSuggestionOnCommitCharacter": true

Code snippets
// | - means cursor position

const obj = {
  name: 'VS Code'
}

// 🟢 Works fine if outside of function call.
// ℹ How to reproduce: Write "o" letter and press `.` it completes to `obj.|`
obj.|

// 🟢 Also, works fine with object brackets.
console.log({ name: obj.| })

// 🟢 Works fine if "obj" was already there and I wanted to use "name" property.
// ℹ How to reproduce: Write "obj" word and press `.` it shows "name" and press `.` again.
console.log(obj.name.|)

// 🔴 Actual result: o.|
// Expected result: obj.|
// ℹ How to reproduce: Write letter "o" inside `console.log(|)` call and press `.`
console.log(o.|)

GIF recordings
🟢 Works

🔴 Doesn't work

I believe @jrieken is the owner of suggestions correct me if I'm wrong.

Also, what is weird is that it works if obj was already completed before:
// 🟢 Works fine if "obj" was already there and I wanted to use "name" property.
// ℹ How to reproduce: Write "obj" word and press `.` it shows "name" and press `.` again.
console.log(obj.name.|)

is this a related issue?
it just happens recently on insiders

Version: 1.75.0-insider (user setup)
Commit: b92894493e6f971a3c71912d823e699d3a05d643
Date: 2022-12-08T05:20:51.149Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: Yes

@t7yang This is a separate issue, I suggest to create one and include all this info.

@mjbvz This is now fixed with 5.7.0-dev.20240823 and as I read in TS blog this should be available in TS 5.6.

authors: benasvip svipas t7yang


text:
Provide onDidChangeShell event which is fired when default terminal profile changes

Python extension is planning to use environment collection API to activate Python environments for a particular shell. Environment variables to use depends on the shell itself, so when the default shell setting changes, we would like to be notified so we could prepare the new set of environment variables to use the next time terminal opens.
As a workaround we could use onDidOpenTerminal to detect this change with a delay, however that requires the user to relaunch the terminal once environment collection is updated.
cc/ @Tyriar feel free to close this if this is a dup of https://github.com/microsoft/vscode/issues/160694.

It looks like PR #160900 already added that event as proposed API.

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

When I attempt to use the proposal it says:

Can you please clarify on what is needed to done from extension's end to use this?

You have to add the proposed API to your package.json like this

That is where the screenshot is from in the original pic.

Should I create a new issue?

What version of the vscode engine does your extension declare that it uses?

It's 1.75.0-20230123:

This proposal cannot be used because for this extension the product defines a fixed set of API proposals. You can test your extension but before publishing you MUST reach out to the VS Code team.

Does VSCode have a products file internally which declares which extension gets to use the proposal?

authors: gjsjohnmurray karrtikr meganrogge


text:
"Unable to attach to browser" when trying to debug, Ubuntu, Chrome

Type: Bug
Does this issue occur when all extensions are disabled?: Yes
When I try to launch Chromium using the "Run and Debug" option in VSCode, it fails after a couple seconds with an error saying "Unable to attach to browser".
I've tried opening the launch.json and adding the runtimeExecutable path to my Chromium install, and it still gives the same error.
I've tried uninstalling Chromium and reinstalling using sudo apt install chromium-browser, same error.
Chrome Version: 111.0.5563.146
My launch.json:
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "type": "chrome",
      "request": "launch",
      // "runtimeExecutable": "/snap/bin/chromium",
      // "runtimeExecutable": "/usr/bin/chromium-browser",
      "name": "Launch Chrome against localhost",
      "url": "http://localhost:4000",
      "webRoot": "${workspaceFolder}"
    }
  ]
}

VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:05:35.165Z)
OS version: Linux x64 5.15.0-1032-oracle snap
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
AMD Ryzen 9 3950X 16-Core Processor (32 x 2200)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: disabled_off

Load (avg)
1, 1, 1

Memory (System)
62.75GB (41.85GB free)

Process Argv
--no-sandbox --force-user-env --unity-launch --crash-reporter-id ddb2080e-9c23-4a55-b858-e42c8bf57998

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
wayland

Extensions (24)

Extension
Author (truncated)
Version

markdown-mermaid
bie
1.18.0

vscode-eslint
dba
2.4.0

gitlens
eam
13.4.0

vscode-npm-script
eg2
0.3.29

prettier-vscode
esb
9.10.4

copilot
Git
1.78.9758

vscode-pull-request-github
Git
0.62.0

terraform
has
2.25.4

vscode-peacock
joh
4.2.2

rainbow-csv
mec
3.6.0

vscode-scss
mrm
0.10.0

playwright
ms-
1.0.9

isort
ms-
2022.8.0

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

vsliveshare
ms-
1.0.5834

react-proptypes-intellisense
OfH
1.0.3

vscode-stylelint
sty
1.2.4

markdown-all-in-one
yzh
3.5.1

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
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
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
nodejswelcome1:30587005
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
showlangstatbar:30672706
pythonb192cf:30669361
azdwalk:30687957
pythonms35:30701012

I've dug into the developer logs, and I see this when I try to launch:
==> sharedprocess.log <==
2023-03-31 20:06:40.144 [error] [uncaught exception in sharedProcess]: Cannot read properties of undefined (reading 'then'): TypeError: Cannot read properties of undefined (reading 'then')
    at h.s (/snap/code/123/usr/share/code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:23:5588)
    at h.q (/snap/code/123/usr/share/code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:23:4988)
    at /snap/code/123/usr/share/code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:23:4377
    at E.invoke (/snap/code/123/usr/share/code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:19:145)
    at u.deliver (/snap/code/123/usr/share/code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:19:2121)
    at l.fire (/snap/code/123/usr/share/code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:19:1729)
    at MessagePortMain.B (/snap/code/123/usr/share/code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:17:23772)
    at MessagePortMain.emit (node:events:526:28)
    at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:5:364)

Duplicates https://github.com/microsoft/vscode-js-debug/issues/1628#issuecomment-1492755118

I was still having problems in v1.77.3, turns out I had VSCode installed through snap. I tried installing with the .deb package and that seems to have fixed the issue: https://code.visualstudio.com/docs/setup/linux


text:
Broken syntax highlighting in TS if no semicolon I used after type

Creating tracking issue for https://github.com/microsoft/TypeScript-TmLanguage/issues/971
Repo:
let x: number
try {
} catch (err) {}

Bad syntax highlighting after try

Do I need to get Visual Studio Code Insiders in order to apply this fix? Right now I cannot even save my files since this seem to interfere with format-on-save 😑

@einarpersson a new VS Code stable will be released today.

@TylerLeonhardt
I am still experiencing this, using VSCode 1.77.3 (Windows 10 / WSL2)

@mjbvz can you check in with the typescript folks about this?

@einarpersson  That looks like vue or some other framework. Start by filing the issue against them

authors: TylerLeonhardt einarpersson mjbvz


text:
Live Server and Code Debugger Problem

Type: Bug
Respected Sir,
Recently I have installed VS Code software. I have installed the Live Server Extension in it. I have created an html file and written the code in it and I was unable to open the file through live server, the browser is not opening. I was opening the file manually all the time.  And the Debugger option in my software is not working whenever I want to debug a code. I request you to please sort out both the issues.
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx   (8 x 2096)

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)
3.45GB (0.64GB free)

Process Argv
--crash-reporter-id 86899a28-5909-44d5-bd91-a9b4c3aba0bb

Screen Reader
no

VM
0%

Extensions (22)

Extension
Author (truncated)
Version

javadebugger
don
0.1.5

code-runner
for
0.12.0

isort
ms-
2023.10.1

python
ms-
2023.14.0

vscode-pylance
ms-
2023.8.20

jupyter
ms-
2023.7.1002162226

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.17

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

cmake-tools
ms-
1.15.31

cpptools
ms-
1.17.2

cpptools-extension-pack
ms-
1.3.0

js-debug-nightly
ms-
2023.8.1117

java
red
1.21.0

LiveServer
rit
5.7.9

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-java-dependency
vsc
0.23.1

vscode-java-pack
vsc
0.25.13

vscode-maven
vsc
0.42.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30792226
vscaac:30438847
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyonecf:30548226
vsccc:30803844
3biah626:30602489
f6dab269:30613381
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofb:30804716
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30812749

/causedByExtension

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


text:
Pre launch task doesn't run if similar task is already running in different workspace folder

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

VS Code Version: 1.82.0-insider
OS Version: macOS Ventura 13.5

Issue description:
If the preLaunchTask for a debug configuration in workspace A is already running in workspace B, the task is not started in workspace A. VS Code thinks the preLaunchTask is already running, even though it's running in a different workspace folder. The expected behavior is to launch the task in the workspace folder containing the debug configuration.
Seems similar to https://github.com/microsoft/vscode/pull/168742
I've created a repository which reproduces the bug. The repo contains two Node express hello world apps, and corresponding launch/tasks.json configs for debugging the apps. The debug config is a simple launch program and each has a preLaunchTask that runs tsc --watch as a background task with a problem matcher.
Steps to Reproduce:

Clone https://github.com/alexweininger/vscode-task-bug

Open the workspace.code-workspace workspace file in VS Code.

Run npm install in each workspace folder. Each workspace folder contains a hello world express server.

Run the "npm: watch" task in workspace-1.

Launch "Launch Program (workspace-2)" from the debug menu. It will not run the preLaunchTask and it will not work.

I can reproduce, thanks for the repo.
@connor4312 here's what I'm seeing - no taskId passed in here.

here's what I'm seeing

I can reproduce. @connor4312 I'm seeing taskId is undefined here. any thoughts?

I debugged some more and saw and error which said the port was already taken. I think that could be the issue.

I debugged some more and saw an error which said the requested port was already taken. I think that could be the issue

So is this expected behavior or is this still a task bug?
The task run in step 4 is running tsc --watch. I don't think that uses any ports. And the debug configuration launched the server on port 3000 or 3001 and then attaches to it. I guess that would use the Node debug port 9229.

It works when I run the task directly, so I think this is a debug bug.

@meganrogge this comes from us checking whether this task is already running here
https://github.com/microsoft/vscode/blob/ffbbed405a6cf9ff99f8160f45d37d3f280114ed/src/vs/workbench/contrib/debug/browser/debugTaskRunner.ts#L217
I think looking at _id isn't the right way to do it, what's the right way to do this? Object equality on Task?

I've verified that my example no longer reproduces. Thanks!

authors: alexweininger meganrogge roblourens


text:
nodejs net module fails to connect to localhost.

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

VS Code Version: 1.82.0
OS Version: windows 10

Steps to Reproduce:
I am a plugin developer. after vscode updated to version 1.82, the debugging part of my plugin cannot connect to the designated address. I checked and found that when the debugger runs in a separate process, the nodejs net module is unable to connect to the address with localhost as the host. However, if I change the host to 127.0.0.1, it can successfully connect. If I make the debugger run in the plugin process, localhost as the host can be connected
here is the code for my connection part:
const client = net.connect(args.port, args.host)
    .on('connect', () => {
        this.sendResponse(response);
        this.onConnect(client);
        this.readClient(client);
    })
    .on('error', err => {
        response.success = false;
        response.message = `${err}`;
        this.sendResponse(response);
    });

here is a screenshot of the connection failure:

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

https://code.visualstudio.com/updates/v1_82#_update-highlights-for-nodejs mentions a DNS side-effect of the Node upgrade. It looks like your extension might be trying unsuccessfully to use an IPv6 address.

I see VSCode trying to avoid breakchange, but for me, the breakchange still happens, so should this be a bug, or do I need to do the API migration

I think you need to migrate, but am pinging @deepak1556 for another opinion.
As an extension dev too I highly recommend using Insiders alongside Stable, and continuously testing your extensions on both. That way, if a breaking change appears in Insiders you'll have up to a month to lobby for a fix.

I can confirm this issue. The Flix extension was connecting to a local port:
  const instance = (flixInstance = spawn('java', args))
  const webSocketUrl = `ws://localhost:${port}`

This would yield CONNECTION_REFUSED, but changing localhost to 127.0.0.1 fixes the issue.

@CppCXY you would need to make the migration, it will fix the case when the debugger is running in a separate process. The plugin process has the workaround --dns-result-order=ipv4first to use the legacy DNS result order hence the connection succeeds in this case.

OK, I have released the new version

authors: CppCXY VSCodeTriageBot deepak1556 gjsjohnmurray magnus-madsen


text:
include PATH

Type: Bug
On running a c program the terminal is showing includepath not added please help
VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

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

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

Load (avg)
undefined

Memory (System)
15.81GB (9.65GB free)

Process Argv
--crash-reporter-id 126fbfa4-8f2d-49a0-a7f2-aa7380e2e6c5

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

code-runner
for
0.12.1

cmake-tools
ms-
1.15.31

cpptools
ms-
1.17.5

cpptools-extension-pack
ms-
1.3.0

LiveServer
rit
5.7.9

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30856252
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
89544117:30613380
a9j8j154:30646983
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30866041
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
copilotsettingt:30859503
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30845448
pyreplss1:30865275
pythonmypyd1:30859726
pythontbext0:30864172

/question

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


text:
Always show "Open changes with previous revision" button

Some time ago I discovered this beautiful button "Open changes with previous revision" which immensely improved my process of understanding how code has changed over time.

Later this button became hidden once you go back in history two steps.
So e. g. if you want to see what was done in your file 5 commits ago, you'll have to click on the button, then click on it again, then go to "More Actions..." menu to find "Open changes with previous revision" and repeat the last bit three times.
And the keyboard shortcut to do that doesn't work. Kinda sucks.

While writing this, I found out that the reason of the button being hidden is because there are too many other "quick actions" buttons there. If you uncheck some of them in the right click menu, the hidden buttons will appear again.

So, essentially, I've fixed my issue, but I still think it's not intuitive that an action can be "checked" and not visible because VS Code decides that there's not enough space for it.
Also I believe "Open changes with previous/next revision" buttons are more usable than some of the others, I'd really expect them to be visible at all times by default.

@ilyakonrad, this action is being contributed by the GitLens extension so I would recommend that you file an issue in the extensions repository - https://github.com/gitkraken/vscode-gitlens/issues. Thank you!

They say it's VS Code behavior though.
https://github.com/gitkraken/vscode-gitlens/issues/2956

Adding @jrieken, to chime in on whether there is any way for users/extension authors to control when a menu action is being hidden.

I am also running into this issue. One great improvement would be already, if the icon that is moved into the dropdown would not only be shown as text, but also with the icon. Otherwise it is hard to make the connection between icon in the bar and text in dropdown.

authors: dennemark ilyakonrad lszomoru


text:
sometimes it shows error in code

Type: Bug
but when I check on other compiler it runs
VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:28:19.990Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 5600H with Radeon Graphics          (12 x 3294)

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

Load (avg)
undefined

Memory (System)
7.34GB (0.87GB free)

Process Argv
--crash-reporter-id 68e64ccc-9bbc-4192-b567-93d9917b0a09

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

java
red
1.27.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.56.0

vscode-java-dependency
vsc
0.23.4

vscode-java-pack
vsc
0.25.15

vscode-java-test
vsc
0.40.1

vscode-maven
vsc
0.44.0

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
0bi6i642:30951795
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementsc:30887149
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
dsvsc019b:30953937
edj9j583:30958191
3ef8e399:30949928
bg6jg535:30958357

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


text:
/

          /

Originally posted by @WilmarE in https://github.com/microsoft/vscode/issues/205494#issuecomment-1951451118

/duplicate of #205494

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 WilmarE gjsjohnmurray


text:
pip install couldn't be resolved

Type: Bug
pIL and pillow cannot be resolved in vs code am using vs code and they are both installed on my library
VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:40:56.878Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)

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

Load (avg)
undefined

Memory (System)
19.78GB (4.02GB free)

Process Argv
--crash-reporter-id dc33f8c9-6092-45fb-aa07-c9fddbe5e132

Screen Reader
no

VM
0%

Extensions (72)

Extension
Author (truncated)
Version

project-manager
ale
12.7.0

flutter-snippets
ale
3.0.0

arepl
alm
2.0.5

aws-toolkit-vscode
ama
2.11.0

vscode-openai
And
1.5.8

adb-command-launcher
art
0.3.1

vscode-django
bat
1.15.0

django-html
bib
1.3.0

django
big
1.0.2

c-compiler
bra
0.0.4

external-pdf
cha
1.2.0

gitignore
cod
0.9.0

python-snippets
cst
0.1.2

dart-code
Dar
3.82.0

flutter
Dar
3.82.0

vscode-dash
dee
2.4.0

python-extensions-pack
dem
1.0.3

python-preview
don
0.0.4

git-extension-pack
don
0.1.3

githistory
don
0.6.20

python-environment-manager
don
1.2.4

python-extension-pack
don
1.7.0

gitlens
eam
14.8.2

pug2html
gin
0.0.5

codespaces
Git
1.16.10

copilot
Git
1.165.0

copilot-chat
Git
0.12.2

copilot-labs
Git
0.17.1121

go
gol
0.41.1

vscode-flutter-files
gor
4.8.1

vscode-test-explorer
hbe
2.21.1

python-resource-monitor
kai
0.2.2

vsc-python-indent
Kev
1.18.0

vscode-python-test-adapter
lit
0.8.2

metabob
Met
1.0.20

document
min
2.2.1

debugpy
ms-
2024.0.0

python
ms-
2024.0.1

vscode-pylance
ms-
2024.2.2

remote-ssh
ms-
0.108.0

remote-ssh-edit
ms-
0.86.0

cmake-tools
ms-
1.17.16

cpptools
ms-
1.19.4

cpptools-extension-pack
ms-
1.3.0

remote-explorer
ms-
0.4.1

test-adapter-converter
ms-
0.1.9

tkinter-snippets
Nik
2.0.2

autodocstring
njp
0.6.1

vscode-python-typehint
njq
1.5.1

debug-html
nor
1.1.0

indent-rainbow
ode
8.3.1

java
red
1.28.1

vscode-yaml
red
1.14.0

vscode-php-test-explorer-docker
sat
1.0.5

cody-ai
sou
1.6.0

sourcery
sou
1.15.0

code-spell-checker
str
3.0.1

vscode-djaneiro
the
1.4.2

tds-vscode
TOT
2.0.4

wolf
tra
0.4.3

cmake
twx
0.0.17

adb-interface-vscode
vin
0.22.4

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.56.1

vscode-java-test
vsc
0.40.1

jinja
who
0.0.8

php-debug
xde
1.34.0

livecode
xir
1.3.10

open-ai-suggest
zar
0.0.1

chat-gpt
zha
1.6.63

vscode-open-in-github
ziy
1.3.6

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww1:30959800
d34g3935:30971562
edj9j583:30969295
7j2b6412:30969109

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

Hi @OmarAymanSalama, are you using VS Code with the Python extension? If so, does running the "Create environment" command, setting up a new environment, and opening a new terminal help?


text:
.NET development: launchBrowser related features does-not work when working on a Codespace.

in .NET development, there is a launchSettings.json file, which has some properties for
launchBrowser and launchUrl, this defines if the browser be launched when the App is run and what would be the launch URL.
That file is illustrated below:

When I am using a remote Codespace connected to my VSCode, the ports defined in launchSettings.json are forwarded,
however the prompt that comes up when app does not take into consideration the specifications of launch properties, it only seems to detect the port in which the App is launched in and forwards it.

As such, I suggest that, for .NET development having this feature to detect launchUrl from the remote server and doing so locally will save time and make developer experience better for devs using codespace or remote development, this may not be .NET specific, but I am reporting as how I encountered it.
Thank you.

The popup is not related to to the launchSettings.json file, as far as I'm aware. If you want something different from launchSettings and the .NET experience, please file an issue on the .NET extension

you're right, thank you.

authors: OTonGitHub roblourens


text:
serve-web: SECRET_KEY_MINT_PATH does not honour server-base-path

The code serve-web command was augmented with the server-base-path argument here in https://github.com/microsoft/vscode/pull/207932.
Because the  SECRET_KEY_MINT_PATH does not include the server-base-path, any attempts to mint a key will result in a 404 if the server-base-path is set.
I think this is the reason why I am experiencing an issue that any sign-in attempt in the browser (e.g., Github Copilot, Settings Sync) do not persist between page refreshes.

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

VS Code Version: 1.89.1
OS Version: x64

Steps to Reproduce:

Launch code serve-web --server-base-path=<something>
Open the browser, observe 404s to /_vscode-cli/mint-key

@aeschli assigned to you since you approved the original PR

authors: TylerLeonhardt michaelneely


text:
In output showing None

Type: Bug
In output showing None
VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

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

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

Load (avg)
undefined

Memory (System)
7.89GB (1.49GB free)

Process Argv
--crash-reporter-id 01fb61f1-ef3f-45cb-8031-b01046b071ce

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

vscode-intelephense-client
bme
1.10.4

composer-php-vscode
DEV
1.49.15728

intelli-php-vscode
DEV
0.12.15062

phptools-vscode
DEV
1.49.15728

profiler-php-vscode
DEV
1.49.15728

debugpy
ms-
2024.8.0

python
ms-
2024.10.0

vscode-pylance
ms-
2024.7.1

vscode-sqlite3-editor
yy0
1.0.189

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627cf:30244335
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
chatpanelt:31048053
dsvsc021:30996838
jg8ic977:31013176
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
impr_priority:31094925
4930e709:31092288

I'm sorry you are running into this issue, however the information provided is insufficient.
Please can you provide more details as to what the problem is and how one could repro this issue.
Also please can you share a screenshot of the problem

In django output showing
On Wed, Jul 17, 2024, 8:05 AM Don Jayamanne @.***>
wrote:

I'm sorry you are running into this issue, however the information
provided is insufficient.
Please can you provide more details as to what the problem is and how one
could repro this issue.
Also please can you share a screenshot of the problem
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/221874#issuecomment-2232232264,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJE7HBOBS7GDKYZTLR2OVH3ZMXJ5RAVCNFSM6AAAAABK7VTEZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSGIZTEMRWGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

In django output showing

Unfortunately thats still insufficient information.

Please can you provide more details as to what the problem is and how one could repro this issue.
Also please can you share a screenshot of the problem

authors: Bhavana-del-maker DonJayamanne


text:
[Testing] Only create test log entry when createTestRun is invoked, do not create one automatically.

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

VS Code Version: 1.92
OS Version: all

Multiple (2) "Test run" history entries are created per single createTestRun invocation.
This is a request to complete (1) from https://github.com/microsoft/vscode/issues/213182.
//cc @connor4312

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

authors: VSCodeTriageBot pavelfeldman


text:
CTRL+SHIFT+P does not open Show and Run Commands

Type: Bug
Steps to reproduce:

Click on the top search bar (or press CTRL+P)
Then press CTRL+SHIFT+P (as suggested) to open Show and Run Commands

Results:

Insted of opening Show and Run Commands, the last file in the drop down is opened

VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz (20 x 2195)

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

Load (avg)
undefined

Memory (System)
15.93GB (5.08GB free)

Process Argv
--crash-reporter-id a4da8000-2cb2-4509-986b-084e6970ef12

Screen Reader
no

VM
0%

Extensions (36)

Extension
Author (truncated)
Version

Bookmarks
ale
13.5.0

markdown-preview-github-styles
bie
2.0.4

vscode-eslint
dba
3.0.10

githistory
don
0.6.20

gitlens
eam
15.4.0

vscode-highlight
fab
1.9.0

vsc-python-indent
Kev
1.18.0

language-matlab
Mat
1.2.5

rainbow-csv
mec
3.12.0

json
Mee
0.1.2

git-graph
mhu
1.30.0

compare-folders
mos
0.24.3

csdevkit
ms-
1.10.16

csharp
ms-
2.45.20

vscode-dotnet-runtime
ms-
2.1.5

vscodeintellicode-csharp
ms-
2.1.11

debugpy
ms-
2024.11.2024082901

isort
ms-
2023.13.12321012

python
ms-
2024.14.0

vscode-pylance
ms-
2024.8.2

jupyter
ms-
2024.8.0

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.19

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

cmake-tools
ms-
1.19.51

cpptools
ms-
1.21.6

cpptools-extension-pack
ms-
1.3.0

hexeditor
ms-
1.10.0

vscode-xml
red
0.27.1

vscode-yaml
red
1.15.0

cody-ai
sou
1.34.1

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vstuc
vis
1.0.3

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
f3je6385:31013174
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31111718
wkspc-ranged-c:31125598
pme_test_c:31118331
fje88620:31121564
aajjf12562cf:31125794

The right-hand end of the Command Center dropdown shows the keyboard shortcuts that invoke some of its modes directly when focus is no on the Command Center. If you want to trigger one of these entries while focus is there, type the character(s) displayed de-emphasized after the entry's text. For example, for Show and Run Commands type >

authors: gjsjohnmurray smojef


text:
Triggererd breakpoints are not resetting on restart

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

VS Code Version: 1.93.1
OS Version: Windows 11 Pro

Originally from https://github.com/Dart-Code/Dart-Code/issues/5277.
To Reproduce
Steps to reproduce the behavior:

Create an empty dart project (can be any language, this is just the one I use of course)
Add the code below
Add breakpoints on both foo and bar print calls
Make the breakpoint on the foo trigger only after the one at bar (screenshot)
Run the code and make sure the foo breakpoint stops
Restart the program
See that foo triggers before bar

void main() {
  foo();
  bar();
  foo();
}

void foo() {
  print('foo');
}

void bar() {
  print('bar');
}

Expected behavior
For the triggered breakpoint to wait again on restart.
Also note that there are two ways to restart a debug session too - a full restart handled by VS Code (which is what happens for Dart above), and a restart that is delegated to the debug adapter (which we use for Flutter to do Hot Restart, so it's faster than a cold restart by VS Code). In both cases, this state should be reset.
Screenshots

 Relevant debugging log part
// First session, only the first breakpoint is sent
[3:17:41 PM] [DAP] [Info] ==> {"command":"setBreakpoints","arguments":{"source":{"name":"dartcode_5277.dart","path":"c:\\Dev\\Test Projects\\dartcode_5277\\bin\\dartcode_5277.dart"},"lines":[12],"breakpoints":[{"line":12}],"sourceModified":false},"type":"request","seq":3}
[3:17:41 PM] [DAP] [Info] <== {"seq":3,"type":"response","body":{"breakpoints":[{"id":100000,"verified":false}]},"command":"setBreakpoints","request_seq":3,"success":true}

// When the breakpoint is hit, the breajpoints are updated to include both
[3:17:41 PM] [DAP] [Info] ==> {"command":"setBreakpoints","arguments":{"source":{"adapterData":{"type":"@Script","id":"libraries/@18078730/scripts/file%3A%2F%2F%2FC%3A%2FDev%2FTest%2520Projects%2Fdartcode_5277%2Fbin%2Fdartcode_5277.dart/192057efd2f","fixedId":true,"uri":"file:///C:/Dev/Test%20Projects/dartcode_5277/bin/dartcode_5277.dart"},"name":"bin\\dartcode_5277.dart","path":"c:\\Dev\\Test Projects\\dartcode_5277\\bin\\dartcode_5277.dart"},"lines":[8,12],"breakpoints":[{"line":8},{"line":12}],"sourceModified":false},"type":"request","seq":11}
[3:17:41 PM] [DAP] [Info] <== {"seq":73,"type":"response","body":{"breakpoints":[{"id":100001,"verified":false},{"id":100002,"verified":false}]},"command":"setBreakpoints","request_seq":11,"success":true}

// Debug session is restarted
[3:17:48 PM] [DAP] [Info] ==> {"command":"terminate","arguments":{"restart":true},"type":"request","seq":22}
[3:17:48 PM] [DAP] [Info] Stopping debug session cdbee24a-544f-4a9c-a042-c9fea94439f3
[3:17:48 PM] [DAP] [Info] Starting debug session cdbee24a-544f-4a9c-a042-c9fea94439f3

// Both breakpoints are sent immediately
[3:17:48 PM] [DAP] [Info] ==> {"command":"setBreakpoints","arguments":{"source":{"adapterData":{"type":"@Script","id":"libraries/@18078730/scripts/file%3A%2F%2F%2FC%3A%2FDev%2FTest%2520Projects%2Fdartcode_5277%2Fbin%2Fdartcode_5277.dart/192057efd2f","fixedId":true,"uri":"file:///C:/Dev/Test%20Projects/dartcode_5277/bin/dartcode_5277.dart"},"name":"bin\\dartcode_5277.dart","path":"c:\\Dev\\Test Projects\\dartcode_5277\\bin\\dartcode_5277.dart"},"lines":[8,12],"breakpoints":[{"line":8},{"line":12}],"sourceModified":false},"type":"request","seq":3}
[3:17:48 PM] [DAP] [Info] <== {"seq":3,"type":"response","body":{"breakpoints":[{"id":100000,"verified":false},{"id":100001,"verified":false}]},"command":"setBreakpoints","request_seq":3,"success":true}

// CC: @DanTup

Interestingly, I cannot reproduce this with JavaScript using an equivalent file:
function main() {
	foo();
	bar();
	foo();
}
main();

function foo() {
	console.log('foo');
}

function bar() {
	console.log('bar');
}

Unfortunately I don't think it uses DAP and I don't know if there's a way to get a log of what's happening there. It's not clear to me how it could be working there given the DAP traffic captured for Dart. Someone familiar with the implementation of Triggered Breakpoints or the JS debugger might be able to explain what's going on.

I can on python:
def foo():
    print("Foo")

def bar():
    print("Bar")

foo()
bar()
foo()

I am also running into this isue

Interestingly, I cannot reproduce this with JavaScript using an equivalent file:

This is probably because the JS debugger has each debugee as its own, child session, and when restarting JS you will retain the parent session (handled by the DA) but get a new child session that doesn't have the data set.

I am debugging Go. I don't remember seeing it with other languages but I also only rarely run anything other than Go.

yea, it's reproducable with Python too. Fixed in Monday's Insiders.


text:
pop up is shown on the screen for reopening the window again and again

Type: Performance Issue
overheating,screen freezing, and pop up for reopen is shown again and again
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 3 3250U with Radeon Graphics          (4 x 2595)

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

Load (avg)
undefined

Memory (System)
3.44GB (0.89GB free)

Process Argv
--crash-reporter-id 6040fdb4-7668-44db-a277-5f6ef5dc8816

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    1	   111	  3676	code main
    0	   106	   624	extensionHost [1]
    0	    95	  3504	     electron-nodejs (tsserver.js )
    0	    65	  8236	       electron-nodejs (typingsInstaller.js typesMap.js )
    0	    81	  6216	     electron-nodejs (server.js )
    0	    88	  7804	     electron-nodejs (tsserver.js )
    0	    38	  1584	   utility-network-service
    0	   102	  3704	   gpu-process
    0	    63	  5196	fileWatcher [1]
    0	    26	  6444	   crashpad-handler
    0	    87	  7088	shared-process
    0	   226	  8120	window [1] (todoapp.js - Delta5.0 - Visual Studio Code)

Workspace Info
|  Window (todoapp.js - Delta5.0 - Visual Studio Code)
|    Folder (Delta5.0): 109 files
|      File types: html(41) css(31) jpg(6) js(5) json(1) png(1) pdf(1)
|      Conf files: settings.json(1);

Extensions (15)

Extension
Author (truncated)
Version

code-runner
for
0.12.2

cmake-tools
ms-
1.19.52

cpptools
ms-
1.21.6

cpptools-extension-pack
ms-
1.3.0

live-server
ms-
0.4.15

java
red
1.34.0

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vscode-gradle
vsc
3.16.4

vscode-java-debug
vsc
0.58.0

vscode-java-dependency
vsc
0.24.0

vscode-java-pack
vsc
0.29.0

vscode-java-test
vsc
0.42.0

vscode-maven
vsc
0.44.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
da93g388:31013173
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
flightc:31134773
wkspc-onlycs-t:31132770
wkspc-ranged-t:31125599
fje88620:31121564
iacca2:31138163

Please use the Start Extension Bisect command.

reopen pop up is shown again and again and vs code is not working so window freezed

Solve the issue
On Tue, 24 Sept, 2024, 8:44 pm John Murray, @.***>
wrote:

Please use the Start Extension Bisect command.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/229561#issuecomment-2371596477,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHT7NGW3IWJTEFH3BIDHF7TZYF6TXAVCNFSM6AAAAABOYRIJDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGU4TMNBXG4
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

authors: Student-Pwskills gjsjohnmurray


text:
Blocked by CORS: No 'Access-Control-Allow-Origin' header is present on the requested resource

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

VS Code Version: 1.93.1
OS Version: Linux 6.8.0-45-generic

Steps to Reproduce:

Send request from one port to another

Example:

There's no way to specify a port like https://1dcbldv5.use.devtunnels.ms:3000, so using the format https://1dcbldv5-3000.use.devtunnels.ms runs into CORS issues because they are being treated like different domains.
This seems to be similar to #226359, except I do not have any CORS rules configured for my application in development mode, so this is being caused by the tunnel backend. Any possible workaround is welcome, but this is a big blocker for my remote testing workflow.

I do not have any CORS rules configured for my application in development mode

The dev tunnels service does not listen on custom ports, so you will need to configure these rules to make the requests between origins work.

As I said in my issue, I have not configured CORS to disallow this, Microsoft has. That is the entire focus of my post. You disallow communications between origins with CORS then forbid us to use the same origin with custom ports.
And if this is a duplicate issue, it would be helpful to link to what it supposedly duplicates, so I could see if a real solution was offered.

Disallowing communication between origins by default is a feature of web security included in your browser, it's not specific to tunnels. You can verify that the default response of a simple web server accessible through tunnels (e.g. npx serve) does not include any CORS headers. You can then add permissible headers (e.g. npx serve --cors) to allow cross-origin communication.


text:
so....

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

VS Code Version:
OS Version:

Steps to Reproduce:

privacy.docx

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

VS Code Version:
OS Version:

Steps to Reproduce:

code --verbose --vmodule="/components/os_crypt/=1"


text:
When scm.workingSets.enabled is true please remember Source Control Graph's history item references choices per branch

Type: Feature Request
When on the main branch of my repo that tracks microsoft/vscode I set the picker to show main, origin/main and upstream/main. But when I switch to a PR branch I'm contributing (e.g. orange-meerkat) I want a different selection. At the moment I have to make the change manually.
VS Code version: Code - Insiders 1.96.0-insider (0c9dd26823dc38dd59d6240e1b6698add43d942c, 2024-11-18T05:05:45.838Z)
OS version: Windows_NT x64 10.0.22631
Modes:

/assign @lszomoru
Actually, maybe it should always be remembered per-branch regardless of whether or not working sets have been enabled.


text:
compilation problem

Type: Bug
code is correct installed and set jdk23 latest version and not executing and working well and not supporting c,cpp files
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
13th Gen Intel(R) Core(TM) i5-1335U (12 x 2496)

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

Load (avg)
undefined

Memory (System)
15.65GB (3.85GB free)

Process Argv
--crash-reporter-id 3422024e-037f-4f71-977a-3f60dea5e360

Screen Reader
no

VM
0%

Extensions (143)

Extension
Author (truncated)
Version

angular-material
1to
0.13.0

c-cpp-makefile-project
adr
1.1.0

aessoft-class-autocomplete
AES
0.1.0

include-autocomplete
ajs
0.0.4

cppincludeguard
aki
1.8.0

vscode-sqlite
ale
0.14.1

vscode-angular2-files
ale
1.6.4

ng-template
Ang
19.0.2

browse-lite
ant
0.3.9

vite
ant
0.2.5

html-extentions-pack
bou
0.3.0

bemhelper
Box
1.4.5

c-compiler
bra
0.0.4

java-run
cao
1.1.4

npm-intellisense
chr
1.4.5

path-intellisense
chr
2.9.0

doxdocgen
csc
1.4.0

angular-schematics
cyr
6.18.0

c-cpp-compile-run
dan
1.0.60

c-cpp-project-generator
dan
1.2.13

vue-peek
dar
1.0.2

vscode-eslint
dba
3.0.10

aextention-pack
Dia
0.0.1

html-coding
Dia
0.0.1

selector-js
Dia
0.0.5

vue-development
Dia
0.0.1

ecsstractor-port
diz
0.0.3

javadebugger
don
0.1.7

xml
Dot
2.5.1

gitlens
eam
16.0.4

EditorConfig
Edi
0.16.4

vscode-npm-script
eg2
0.3.29

prettier-vscode
esb
11.0.0

auto-close-tag
for
0.5.15

auto-rename-tag
for
0.1.10

code-runner
for
0.12.2

c-cpp-runner
fra
9.4.9

vscode-c-cpp-config
fra
6.3.0

vscode-javac
geo
0.2.46

copilot
Git
1.246.0

copilot-chat
Git
0.22.4

live-sass
gle
6.1.2

todo-tree
Gru
0.0.226

cxx-compiler-explorer
har
0.7.4

vs-code-runner
Har
2.2.5

CppSnippets
har
0.0.15

vue-snippets
hol
1.0.4

minify
Hoo
0.4.3

vscode-htmlhint
HTM
1.0.5

codewind-java-profiler
IBM
0.9.0

prettier-sql-vscode
inf
1.6.0

angular2-switcher
inf
0.4.0

search-node-modules
jas
1.3.0

react-vscode-extension-pack
jaw
1.0.0

vscode-gnu-global
jay
0.3.5

c-cpp-flylint
jbe
1.15.0

svg
joc
1.5.4

angular-file-changer
joh
0.0.4

Angular2
joh
18.0.2

cpptask
kay
0.0.1

sql-tools
Kil
0.1.1

ccpp-extension-pack
Leo
2.1.0

vscode-clangd
llv
0.1.33

angular-extension-pack
loi
1.1.2

rainbow-csv
mec
3.13.0

vscode-clang
mit
0.2.4

vscode-attrs-sorter
mrm
2.1.0

vscode-doiuse
mrm
1.6.0

vscode-scss
mrm
0.10.0

vscode-docker
ms-
1.29.3

vscode-dotnet-runtime
ms-
2.2.3

debugpy
ms-
2024.12.0

python
ms-
2024.20.0

vscode-pylance
ms-
2024.11.3

cmake-tools
ms-
1.19.52

cpptools
ms-
1.22.11

cpptools-extension-pack
ms-
1.3.0

makefile-tools
ms-
0.11.13

vuejs-extension-pack
mub
2.0.2

gradle-language
nac
0.2.3

mdc
Nux
0.2.0

nuxtr-vscode
Nux
0.2.16

arrr
obe
0.1.3

indent-rainbow
ode
8.3.1

oracle-java
Ora
23.0.1

oracledevtools
Ora
23.4.1

vscode-cpptest
Par
2024.2.0

java-extension-pack-jdk
Ple
2024.1105.0

vscode-css-peek
pra
4.4.1

java-ide-pack
pve
1.2.1

quicktype
qui
23.0.170

typescript-hero
rbb
3.0.0

karma-problem-matcher
rct
1.0.1

java
red
1.36.0

vscode-community-server-connector
red
0.26.19

vscode-rsp-ui
red
0.24.11

vscode-xml
red
0.27.2

java-development-extensions-pack
ric
1.9.0

java-sysout
ric
1.3.0

vscode-gradle-extension-pack
ric
0.0.4

LiveServer
rit
5.7.9

vscode-java-debug-ext
san
1.0.33

vue-vscode-snippets
sdr
3.2.0

angular-cli
seg
0.0.19

trailing-spaces
sha
0.4.1

vue-helper
she
4.3.2

simontest
Sim
1.9.10

java-generate-setters-getters
soh
8.0.1

html-to-css-autocompletion
sol
1.1.2

vscode-java-debugx
sou
1.0.3

autoimport
ste
1.5.4

code-spell-checker
str
4.0.21

move-ts
str
1.12.0

tabnine-vscode
Tab
3.195.0

cmantic
tde
0.9.0

vue-docs
tit
1.0.2

vscode-status-bar-format-toggle
tom
3.2.0

java-imports-snippets
tus
0.0.1

cmake
twx
0.0.17

vscode-lldb
vad
1.11.1

code-snippets
Vis
0.0.1

intellicode-api-usage-examples
Vis
0.2.9

vscodeintellicode
Vis
1.3.2

vscode-boot-dev-pack
vmw
0.2.1

rainbow-tags
vol
0.4.1

vscode-gradle
vsc
3.16.4

vscode-java-debug
vsc
0.58.1

vscode-java-dependency
vsc
0.24.1

vscode-java-pack
vsc
0.29.0

vscode-java-test
vsc
0.43.0

vscode-maven
vsc
0.44.0

vscode-spring-initializr
vsc
0.11.2024112703

volar
Vue
2.1.10

nodejs-extension-pack
wad
0.1.9

Java-extension-pack
wal
1.0.0

JavaScriptSnippets
xab
1.8.0

ReactSnippets
xab
2.4.0

clang-format
xav
1.9.0

plsql-language
xyz
1.8.2

dom-code-snippets
yon
1.0.2

vscode-java-saber
You
0.1.2

html-css-class-completion
Zig
1.20.0

vitest-explorer
Zix
0.2.46

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
g316j359:31013175
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

jdk23 => Java
c, cpp => C or C÷÷
/needsMoreInfo