text:
500 Error on deploying

Does this occur consistently? Yes
Repro steps:

Click Deploy to Function app in the Azure explorer pane
Select the targeted function
Click "Deploy" on the dialog box

Action: azureFunctions.deploy
Error type: 500
Error Message: Failed with code "500".
Version: 0.24.1
OS: darwin
OS Release: 19.6.0
Product: Visual Studio Code
Product Version: 1.49.1
Language: en

Call Stack
new RestError extension.bundle.js:48:94460
extension.bundle.js:48:1291123
processTicksAndRejections task_queues.js:94:5

We can't repro with those steps alone - please add more detail for your specific situation

I think this is actually due to account permissions in Azure. I will close this, thanks.

authors: EricJizbaMSFT nogorilla

repo: microsoft/vscode-azurefunctions


text:
Remove kits/variants

Brief Issue Summary
Here is a bold ask, and I am not sure it makes sense, but I thought it would not hurt to bring it up.
Both https://code.visualstudio.com/docs/cpp/cmake-linux and https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/cmake-presets.md recommends using CMake Presets, the official way to share CMake configs in various ways.
VS Code seems to include a Kits and Variants option, but it is not recommended.
I have never tried Kits/Variants, so it is possible they bring something to the table that CMake Presets does not, but if they do not do that, would it not simplify a lot by removing support for Kits/Variants altogether?
The rationale behind this is to make it easier to get started with VS Code and the CMake Tools extension. For example the CMake Kits and CMake Variants mentions nothing about that CMake Presets is preferred, whilst the other pages links above does.
I think you can close this immediately if it makes no sense, but I am coming from a point of having read all docs and felt this would simplify quite a bit just plainly removing this concept if it adds no extra value on top of CMake Presets.
Another benefit if that CMake Presets works better with teams that prefer to e.g. use other tools such as Vim or Emacs.
CMake Tools Diagnostics
n/a

Debug Log
n/a

Additional Information
No response

Here is just one of many examples where this is confusing:
Reading https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/build.md it says:

CMake Tools builds by passing the --build flag to CMake. This flag is used as a generator-agnostic build invocation tool. CMake tools also passes --config <build-type>, based on the current build type from the active variant.

It speaks about variants such as if everyone had that, while that is not even recommended by other docs. Then going into the variants doc, it mentions nothing about the recommended CMake Presets approach. This leaves readers thinking they need to learn the Kits/Variants concept. Even if it is not recommended.

My team extensively uses variants at work, it would be a shame if this feature was removed.

@AnElectricalEngineer CMake Presets is better since it is editor agnostic. It is also a generic concept that if new developers in a team joins your project, they might have worked in another editor and never heard of variants/kits. So they have an unnecessary learning curve.
Imagine all editors out there had their own concept of kits/variants. Imagine maintaining all that for all editors, instead of just one way to do it: CMake Presets.
Forcing developers in any project to use a specific editor is in my opinion also a very bad practice. You'd strip those developers accustomed to other editors of their muscle mind/skills with such editors.
But the main point is still that CMake Presets is a generic concept that more people would be aware about.
I think supporting it just adds to confusion in general for how to use CMake with VS Code.
caveate: Still if kits/variants absolutely brings something to the table that CMake Presets does not, then it might be worth the added complexity.

I like the idea of presets because for my workflow I would prefer to have the build configurations managed wholly with source code (i.e. not depend on a VSCode extension), but the combinatorial explosion problem with presets is currently preventing me from doing that. That is at least one significant thing that variants bring to the table.

@clnhlzmn that is great feedback, then maybe this can be closed and revived in the future once those issues are solved. Unless there are many more of course.

source: gharchive/issue

authors: AnElectricalEngineer clnhlzmn thernstig

repo: microsoft/vscode-cmake-tools

license: MIT

license_type: permissive

license_source: github-api


text:
Regenerate response.

Hello, I would like to retry the given response please. Would also be nice to have an edit prompt.

You can now delete a request, and then use the arrow keys in the input to get the previous prompt from history, edit it, and resubmit it

repo: microsoft/vscode-copilot-release


text:
Too slow response and sometimes don't givine me any response at all

Type: Bug
Too slow response and sometimes don't givine me any response at all
Extension version: 0.23.2
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1195G7 @ 2.90GHz (8 x 2918)

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.70GB (5.58GB free)

Process Argv
--crash-reporter-id 6d148084-abd0-4d52-9e44-97081992db41

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

What model are you using? Can you still repro?

I am using Claude 3.5 Sonnet  and GPT4o alternately as Claude 3.5 sometimes slow, (Primarily Claude). Also in Tauri + React + Vite app auto completions is not working how to enable it ?

authors: joaomoreno mehdad-hussain


text:
Unable to start dev conatiner

VSCode Version: 1.13.1
Local OS Version: Windows 7
Name of Dev Container Definition with Issue:

My windows 7 is unable to run dev containers using Docker Toolbox.
The Problem is a trivial one, docker does not recognise the paths to mount.
Docker just can't handle the additional : in the path.
I copied the command and replaced the "c:\Users..." with "\c\Users..." and it worked.

Would it be possible to create a workaround?

Sorry, Wrong repository...

Sorry, Wrong repository...

I'm looking for solution, as I've got similar situation. @Flyffies, do you have any link to that?

Hi @DominikJaniec, sorry havent seen your comment.
Here is the other issue I opend:
https://github.com/microsoft/vscode-remote-release/issues/1179

authors: DominikJaniec Flyffies

repo: microsoft/vscode-dev-containers


text:
VS code 1.71.2 compatible issue not able to install

I'm trying to install this on VS Code 1.71.2 and getting error. Can you please make support for this version of VS Code or document what version is compatible. Thanks
Unable to install extension 'ms-python.flake8' as it is not compatible with VS Code '1.71.2'.

Is this from market place or are you manually trying to install using a VSIX.
The minimum version needed is 1.74.0.

authors: karthiknadig lazhazure


text:
Cell execution takes too long

Issue Type: Performance Issue
Of late, whenever I try and execute a cell on jupyter notebook on VS Code, the cell takes too long to execute.
A simple print hello statement, or a simple integer assignment to a variable takes 10-15 seconds. Note, this is the time it takes for the cell to start execution, not the total time taken to execute.
Once the cell starts to execute, it is very slow as well, but that's just my gut feeling.
Currently I am stuck on a simple list assignment (the list isn't large enough to overflow memory) and it's been 10 minutes but the cell still hasn't started execution.
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
Remote OS version: Linux x64 5.4.0-1054-aws

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)

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)
15.83GB (6.29GB free)

Process Argv
--crash-reporter-id 99e71ae7-6490-48f1-b1a0-10962d994c5f

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: TM_Remote_Instance

OS
Linux x64 5.4.0-1054-aws

CPUs
AMD EPYC 7R32 (4 x 3248)

Memory (System)
15.46GB (0.90GB free)

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	    87	 32956	code main
    0	   203	  2752	   gpu-process
    0	    40	 16444	   utility-network-service
    0	   761	 20288	   window (● sent-analysis.ipynb - tm-ml-sentiment [SSH: TM_Remote_Instance] - Visual Studio Code)
    0	    44	 23268	   window (undefined)
    0	    71	 24188	   extensionHost
    0	    86	 24940	   issue-reporter
    0	    25	 30112	   crashpad-handler
    0	    74	 31052	   shared-process
    0	    58	 16548	     ptyHost
    0	     4	 23320	       C:\WINDOWS\System32\cmd.exe /c (type "C:\Users\Abdullah\AppData\Local\Temp\vscode-linux-multi-line-command---_-emote_-nstance-758612387.sh" | ssh -T -D 64915 "TM_Remote_Instance" bash) & exit /b 0
    0	    25	 32120	         ssh  -T -D 64915 "TM_Remote_Instance" bash
    0	     6	 31776	       console-window-host (Windows internal process)
    0	     6	 32508	       console-window-host (Windows internal process)
    0	     4	 36344	       C:\WINDOWS\System32\cmd.exe /c (type "C:\Users\Abdullah\AppData\Local\Temp\vscode-linux-multi-line-command---_-emote_-nstance-953024260.sh" | ssh -T -D 50447 "TM_Remote_Instance" bash) & exit /b 0
    0	     9	 27416	         ssh  -T -D 50447 "TM_Remote_Instance" bash
    0	    35	 23332	     fileWatcher

Remote: SSH: TM_Remote_Instance
CPU %	Mem MB	   PID	Process
    0	     0	  6554	remote agent
    0	     0	  6652	   ptyHost
    0	     0	 14773	   /bin/sh -c /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	 14774	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	 25920	   extensionHost
    0	     0	 25958	   fileWatcher

Workspace Info

|  Remote: SSH: TM_Remote_Instance|    Folder (tm-ml-sentiment): 9 files|      File types: ipynb(3) csv(2) md(1) bin(1)
|      Conf files:;

Extensions (6)

Extension
Author (truncated)
Version

jupyter-keymap
ms-
1.0.0

remote-ssh
ms-
0.82.1

remote-ssh-edit
ms-
0.80.0

jupyter
ms-
2022.5.1001601848

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.8

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vsclangdc:30486549
c4g48928:30513948

Thanks for filing this issue.
Please could you:

Reload VS Code
Create a notebook & run a simple cell with the statment print("Hello World")
Then select the command Jupyter: Show Output and copy all of the output from the output panel & paste that information here (it congtain information such as vscode, jupyter extension, jupyter, python version information & the logs required to determine what's going on)

Here you go:
[12:01:27.667] Log Level: 2
[12:01:27.668] remote-ssh@0.82.1
[12:01:27.668] win32 x64
[12:01:27.706] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a22544d5f52656d6f74655f496e7374616e6365227d", attempt 1
[12:01:27.706] "remote.SSH.useLocalServer": false
[12:01:27.706] "remote.SSH.showLoginTerminal": false
[12:01:27.706] "remote.SSH.remotePlatform": {"Jupyter":"linux","TM_Remote_Instance":"linux"}
[12:01:27.707] "remote.SSH.path": undefined
[12:01:27.707] "remote.SSH.configFile": undefined
[12:01:27.707] "remote.SSH.useFlock": true
[12:01:27.707] "remote.SSH.lockfilesInTmp": false
[12:01:27.707] "remote.SSH.localServerDownload": auto
[12:01:27.707] "remote.SSH.remoteServerListenOnSocket": false
[12:01:27.707] "remote.SSH.showLoginTerminal": false
[12:01:27.707] "remote.SSH.defaultExtensions": []
[12:01:27.708] "remote.SSH.loglevel": 2
[12:01:27.708] "remote.SSH.enableDynamicForwarding": true
[12:01:27.708] "remote.SSH.enableRemoteCommand": false
[12:01:27.708] "remote.SSH.serverPickPortsFromRange": {}
[12:01:27.708] "remote.SSH.serverInstallPath": {}
[12:01:27.711] SSH Resolver called for host: TM_Remote_Instance
[12:01:27.712] Setting up SSH remote "TM_Remote_Instance"
[12:01:27.751] Using commit id "30d9c6cd9483b2cc586687151bcbcd635f373630" and quality "stable" for server
[12:01:27.756] Install and start server if needed
[12:01:27.758] Checking ssh with "ssh -V"
[12:01:27.816] > OpenSSH_for_Windows_8.1p1
[12:01:27.817] > , LibreSSL 3.0.2

[12:01:27.826] Running script with connection command: ssh -T -D 51766 "TM_Remote_Instance" bash
[12:01:27.828] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[12:01:30.903] > ]0;C:\WINDOWS\System32\cmd.exe
[12:01:30.904] Got some output, clearing connection timeout
[12:01:33.674] > a769b16ed217: running
[12:01:33.730] > Acquiring lock on /home/muhammad/.vscode-server/bin/30d9c6cd9483b2cc586687151bcb
> cd635f373630/vscode-remote-lock.muhammad.30d9c6cd9483b2cc586687151bcbcd635f37363
> 0
[12:01:33.741] > Found existing installation at /home/muhammad/.vscode-server/bin/30d9c6cd9483b2c
> c586687151bcbcd635f373630...
> Checking /home/muhammad/.vscode-server/.30d9c6cd9483b2cc586687151bcbcd635f373630
> .log and /home/muhammad/.vscode-server/.30d9c6cd9483b2cc586687151bcbcd635f373630
> .pid for a running server
> Looking for server with pid: 32290
[12:01:33.758] > Found running server...
>
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
>
[12:01:33.774] > Checking server status on port 34727 with wget
[12:01:33.792] > a769b16ed217: start
> SSH_AUTH_SOCK====
[12:01:33.937] > DISPLAY====
> webUiAccessToken====
> listeningOn==34727==
> osReleaseId==ubuntu==
> arch==x86_64==
> tmpDir==/run/user/1014==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> extInstallTime====
> serverStartTime====
> connectionToken==a1111111-11aa-1111-aa11-a1111a111111==
> a769b16ed217: end
[12:01:33.938] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==34727==
osReleaseId==ubuntu==
arch==x86_64==
tmpDir==/run/user/1014==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==a1111111-11aa-1111-aa11-a1111a111111==

[12:01:33.939] Remote server is listening on 34727
[12:01:33.939] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":34727},"osReleaseId":"ubuntu","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/1014","platform":"linux","connectionToken":"a1111111-11aa-1111-aa11-a1111a111111"},"installUnpackCode":""}
[12:01:33.947] Starting forwarding server. localPort 51773 -> socksPort 51766 -> remotePort 34727
[12:01:33.948] Forwarding server listening on 51773
[12:01:33.948] Waiting for ssh tunnel to be ready
[12:01:33.950] [Forwarding server 51773] Got connection 0
[12:01:33.956] Tunneled 34727 to local port 51773
[12:01:33.957] Resolved "ssh-remote+7b22686f73744e616d65223a22544d5f52656d6f74655f496e7374616e6365227d" to "127.0.0.1:51773"
[12:01:33.981] ------

[12:01:34.019] [Forwarding server 51773] Got connection 1
[12:01:34.488] [Forwarding server 51773] Got connection 2
[12:01:46.037] [Forwarding server 51773] Got connection 3
[12:01:46.039] [Forwarding server 51773] Got connection
``` 4

Transferring to VS Code as this seems to be an issue with remote SSH connections (something we've had pref issues with in the past).
@rebornix /cc

repo: microsoft/vscode-jupyter


text:
Tensorboard integration cannot see the needed packages in any conda env on a remote host

Type: Bug

Behaviour
Expected vs. Actual
Using the "launch tensorboard" command gives me options to launch a tensorboard session from a specific directory.
What actually happens is this error:

Even though the minimum needed versions are installed on all conda envs on the machine, and seen by the command logged in the Output pane.
Running it manually gives:
$ conda run -n dev --no-capture-output python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py -c "import tensorboard; print(tensorboard.__version__)"
>>>PYTHON-EXEC-OUTPUT
2.4.1
<<<PYTHON-EXEC-OUTPUT
$ conda run -n dev --no-capture-output python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py -c "import torch_tb_profiler; print(torch_tb_profiler.__version__)"
>>>PYTHON-EXEC-OUTPUT
0.4.0
<<<PYTHON-EXEC-OUTPUT

Steps to reproduce:

Run from a remote environment.
Choose the "launch tensorboard" command.
Get the error asking to install the correct versions.
Click the button to install them.
Retry. Still doesn't work.
If instead you run tensorboard manually by tensorboard --logdir $logdir then open the UI locally via the forwarded port, it works. Opens fine in the local browser and shows everything.

Diagnostic data

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

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

Experiment 'pythonaacf' is active
Experiment 'pythonTensorboardExperiment' is active
Experiment 'PythonPyTorchProfiler' is active
Experiment 'pythonDeprecatePythonPath' is active
Experiment 'pythonInterpreterInfoUnpinned' is active
LSP Notebooks experiment is disabled -- not in treatment group
LSP Notebooks interactive window support is disabled -- not in LSP Notebooks experiment
> conda info --json
Python interpreter path: /opt/conda/envs/dev/bin/python
[ERROR 2022-7-26 14:37:44.457]: Failed to initialize source map support in extension
> /bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/interpreterInfo.py
> /bin/python3 ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/interpreterInfo.py
> /usr/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/interpreterInfo.py
> /usr/bin/python3 ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/interpreterInfo.py
> /opt/conda/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/interpreterInfo.py
> conda run -n dev --no-capture-output python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/printEnvVariables.py
> /opt/conda/envs/dev/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/interpreterInfo.py
Starting Pylance language server.
> conda run -n dev --no-capture-output python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py -c "import tensorboard; print(tensorboard.__version__)"
> conda run -n dev --no-capture-output python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py -c "import torch_tb_profiler; print(torch_tb_profiler.__version__)"
> conda run -n dev --no-capture-output python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py -c "import tensorboard; print(tensorboard.__version__)"
> conda run -n dev --no-capture-output python ~/.vscode-server-insiders/extensions/ms-python.python-2022.13.12381007/pythonFiles/get_output_via_markers.py -c "import torch_tb_profiler; print(torch_tb_profiler.__version__)"

User Settings

Multiroot scenario, following user settings may not apply:

languageServer: "Pylance"

terminal
• activateEnvironment: false

Extension version: 2022.13.12381007
VS Code version: Code - Insiders 1.71.0-insider (1a582f7c079d1eb4c89d4f637da2fc2fcb688b31, 2022-08-15T05:17:18.259Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: Yes
Remote OS version: Linux x64 5.0.0-1032-azure

Duplicate of https://github.com/microsoft/vscode-python/issues/19591

authors: DonJayamanne munael


text:
Cannot import modules from other folders, even if included in Workspace Folder

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
I opened VSCode Jupyter Notebook and saved an ipynb file in the folder DMPNN.
This ipynb uses a kernel called arc_env
In the workspace called DMPNN, I added the three folders:

ARC
RMG-Py
RMG-databse

I changed my workspace settings with this line:
"jupyter.notebookFileRoot": "${workspaceFolder}"
Now, when I try to run the following cell
from arc.rmgdb import *

I receive the error ModuleNotFoundError: No module named 'arc'

VS Code Version
1.74.2
Jupyter Extension Version
v2022.11.1003412109
Jupyter logs
info 12:12:23.374: Disposing kernel .jvsc74a57bd0a8e45e6ea0d065fb717d160fb5d287a0349dfeff0060689ffcf9b9b81111ffd2./home/calvin/mambaforge/envs/arc_env/python./home/calvin/mambaforge/envs/arc_env/python.-m#ipykernel_launcher for notebook /home/calvin/Code/DMPNN/generate_molecules.ipynb due to selection of another kernel or closing of the notebook
info 12:12:23.375: Dispose Kernel '/home/calvin/Code/DMPNN/generate_molecules.ipynb' associated with '/home/calvin/Code/DMPNN/generate_molecules.ipynb'
[I 12:12:23.387 NotebookApp] Kernel shutdown: 7f06dafb-5287-4495-9569-4c1452484046
info 12:12:28.004: Attempting to start a server because of preload conditions ...
info 12:12:28.506: Got env vars with python /home/calvin/mambaforge/envs/t3_env/bin/python, with env var count 112 and custom env var count 0 in 1ms
info 12:12:32.982: Starting Jupyter Session startUsingPythonInterpreter, .jvsc74a57bd0a8e45e6ea0d065fb717d160fb5d287a0349dfeff0060689ffcf9b9b81111ffd2./home/calvin/mambaforge/envs/arc_env/python./home/calvin/mambaforge/envs/arc_env/python.-m#ipykernel_launcher (Python Path: /home/calvin/mambaforge/envs/arc_env, EnvType: Conda, EnvName: 'arc_env', Version: 3.7.15 (default, Nov 24 2022, 21:12:53)
[GCC 11.2.0]) for '/home/calvin/Code/DMPNN/generate_molecules.ipynb' (disableUI=false)
[I 12:12:32.984 NotebookApp] Creating new notebook in
info 12:12:33.009: installMissingDependencies /home/calvin/mambaforge/envs/arc_env/bin/python, ui.disabled=false for resource '/home/calvin/Code/DMPNN/generate_molecules.ipynb'
info 12:12:33.010: Got env vars with python /home/calvin/mambaforge/envs/arc_env/bin/python, with env var count 112 and custom env var count 0 in 1ms
info 12:12:33.016: Process Execution: > ~/mambaforge/envs/arc_env/bin/python -c "import ipykernel"
> ~/mambaforge/envs/arc_env/bin/python -c "import ipykernel"
info 12:12:33.089: Spec argv[0] updated from '/home/calvin/mambaforge/envs/arc_env/bin/python' to '/home/calvin/mambaforge/envs/arc_env/bin/python'
info 12:12:33.090: Got env vars with python /home/calvin/mambaforge/envs/arc_env/bin/python, with env var count 112 and custom env var count 100 in 1ms
[I 12:12:33.109 NotebookApp] Kernel started: a917a3a0-805c-4a0b-9f02-a01bca983583, name: pythonjvsc74a57bd0a8e45e6ea0d065fb717d160fb5d287a0349dfeff0060689ffcf9b9b81111ffd2
[W 12:12:33.117 NotebookApp] delete /generate_molecules-jvsc-2bbc6612-6b68-491d-8aec-9c143b620a1bf7a505a7-f609-44bd-9b06-71d0a2c8244e.ipynb
info 12:12:33.450: Started session for kernel startUsingPythonInterpreter:.jvsc74a57bd0a8e45e6ea0d065fb717d160fb5d287a0349dfeff0060689ffcf9b9b81111ffd2./home/calvin/mambaforge/envs/arc_env/python./home/calvin/mambaforge/envs/arc_env/python.-m#ipykernel_launcher
info 12:12:33.451: UpdateWorkingDirectoryAndPath in Kernel
info 12:12:33.767: Cancel all remaining cells true || Error || undefined

Coding Language and Runtime Version
Python 3.7.15
Language Extension Version (if applicable)
v2022.20.1
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local

I am having a similar issue

@Laxzal
Since I dont have the code, please could you try the following at your end

Create a python file named /home/calvin/Code/DMPNN/generate_molecules.py or similar and add the same code that you have in the notebook
Open the terminal in VS Code
Activate your environment in the terminal
Run the python file /home/calvin/Code/DMPNN/generate_molecules.py

& let me know if this works, my guess is that this fails as well. Hence closing this as a duplciate of https://github.com/microsoft/vscode-jupyter/issues/12531
If this is not the case then please feel free to re-open this issue or ping me here and I'll re-open this issue.

Hey @DonJayamanne
Following your instructions, I created the file and ran the code in VSCode terminal and was able to run it.

Thanks, will check this out.

@Laxzal
Looking at your code I don't see the arc folders
Please could you share more information on the files and paths

Closing this issue as its been over 4 weeks, since the information was requested.
We'll be happy to reopen the issue when the requested information has been provided.

authors: DonJayamanne Laxzal kfir4444


text:
Cannot restore cell output options after making it scrollable

Environment data

VS Code version: 1.78.0
Jupyter Extension version (available under the Extensions sidebar): v2023.4.1011241018
Python Extension version (available under the Extensions sidebar): v2023.8.0
OS (Windows | Mac | Linux distro) and version: linux (debian sid)
Python and/or Anaconda version: conda 23.1.0
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Steps to reproduce:

Create a jupyter interactive window.
Execute there some statement tha would produce a lot of simple-text print output, such as the following:

for i in range(1000):
    print(i,i,i)

At the bottom of the produced output for that cell, click where it says "View as a scrollable element".
Try to switch the cell back to how it was before clicking the scrollable button above.

Expected behaviour
Should have such an option in the right-click menu of the cell or in the left rectangle in blue that's shown when scrolling through the cell outputs.
Actual behaviour
Not possible to turn it back to how it was before clicking to make it scrollable, and not possible to open the output in a simple text editor window from there.
Logs

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

XXX

you can use notebook.cell.toggleOutputScrolling to toggle it back

Yes, I would also greatly appreciate a button that would undo making a cell output a scrollable element

@amunger, thanks, that helps.  If anybody is wondering how to run notebook.cell.toggleOutputScrolling on Windows, it's mapped by default to Ctrl+K Y

closing as there hasn't been enough votes for this to be implemented

authors: amunger david-cortes notuntoward


text:
Support Documentation.* Metadata on Data Source Kind Parameters

Preflight Checklist

[X] I have installed the latest version of Power Query SDK.
[X] I have checked existing resources, including the common issues and the release notes.
[X] I have searched for similar issues.

Problem
In Power BI Desktop, the input boxes displayed for a data source kind's parameters are labeled with their literal M-code parameter names.
Example:

Desired Solution
Query Editor can use metadata associated with a function's type to improve the details displayed in its UI for the function. Could the data source kind configuration dialog do the same?
For example:

Suggest that the presence of metadata Documentation.Name on a parameter would override its input box label. (Example: meta [Documentation.Name = "Database Server"] on the parameter corresponding to the above-displayed input box would cause it to be labeled "Database Server" instead of the current "databaseServer".)
Meta Documentation.LongDescription could map to a tooltip displayed when hovering over the parameter input box or over an (i) icon displayed next to its label.
The first value in meta Documentation.SampleValues could be displayed as light-gray text in the parameter's input box, prefixed with 'Example: '.

Alternatives and Workarounds
No response
Additional Context
No response

That is exactly what I was looking for...just did not realize that it also worked with the data source kind UI.
Sorry to bother you!

repo: microsoft/vscode-powerquery-sdk


text:
Better visibility for "viewed" file trees

It is great that you can mark files as "viewed" when reviewing pull requests from VS Code. Example:

When reviewing large PRs, users typically collapse folders they are done with. It would be great if the collapsed folders show the same "viewed" tick icon as well (only when all of its children are marked as such). This should go all the way up to the "Files" root node, to make sure all files are reviewed:

It would also be great to have the ability to mark whole folders as "viewed", by having the same button on folder nodes as well. This is really important for folders with many automatically-generated/lock files.
Thanks!

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/3274

repo: microsoft/vscode-pull-request-github


text:
org in issue query causes crash

Extension version: 0.60
VSCode Version: 1.76.0
OS: Linux x86_64

Version: 1.76.0
Commit: 92da9481c0904c6adfe372c12da3b7748d74bdcb
Date: 2023-03-01T10:25:16.105Z
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.76.0 Chrome/102.0.5005.196 Electron/19.1.11 Safari/537.36

Steps to Reproduce:

Set githubIssues.queries as shown below in settings.json (repro seems more consistent with more queries but it's also possible with a single one)
"githubIssues.queries": [
    {
        "label": "All issues of microsoft/vscode 1",
        "query": "org:microsoft state:open repo:microsoft/vscode"
    },
    {
        "label": "All issues of microsoft/vscode 2",
        "query": "org:microsoft state:open repo:microsoft/vscode"
    },
    {
        "label": "All issues of microsoft/vscode 3",
        "query": "org:microsoft state:open repo:microsoft/vscode"
    },
    {
        "label": "All issues of microsoft/vscode 4",
        "query": "org:microsoft state:open repo:microsoft/vscode"
    },
]

Wait for the next issue refresh (on settings.json save event, manually triggered by clicking the refresh button or when restarting VSCode)

VSCode crashes with The window terminated unexpectedly (reason: 'crashed', code '133')

Logfile created with code <workspace> --profile <repro_profile> --log trace --verbose &> trace.log: trace.log
I used a empty VSCode profile with only GitHub.vscode-pull-request-github installed and githubIssues.queries set as mentioned above.
Extension version 0.56 is the last version that does not crash.

It looks like the issue isn't org, but rather that if you set an org then repo isn't used. So with the above queries, you end up trying to retrieve all issues in all microsoft repos times 4. This is a lot of issues, and it's this that is causing the crash, not the use of org.
We shouldn't crash if there are so many issues, but instead warn that we can't fetch them all.

So with the above queries, you end up trying to retrieve all issues in all microsoft repos times 4. This is a lot of issues, and it's this that is causing the crash, not the use of org.

This ended up being incorrect. The slowness and crash are actually caused by the number of internal objects and listeners we create.

With the stable extension, I see the window stop responding. With the pre-release, this doesn't happen and it is able to load and show results. It stopped loading at some point and I got an error about the extension making too many requests, but that's probably expected?

Yes, the notification about too many requests is expected.

authors: alexr00 roblourens rohime


text:
Improve setting description for default interpreter setting

Same issue as this: https://github.com/microsoft/vscode-mypy/issues/144
Improve description of the default value of the setting. When it's set to [], it will use the Python extension's selected interpreter. If it's set to a path, it will use that value as the interpreter. See this PR: https://github.com/microsoft/vscode-mypy/pull/152/files

Hi @luabud, hope you're doing well!
I will be participating in GHC 2023 and I am interested to work on this issue. Do we have to wait until the Open Source Day starts to be assigned an issue or could it be assigned before as well?

@aku1310 done!

repo: microsoft/vscode-pylint


text:
Select Python Interpreter Error

Issue Type: Bug
Whenever I am trying to run python code from the Play/Run button on the right side top it's showing me an error and telling me to choose a Python interpreter when I'm clicking on it it says current as of the path given in the user,setting.json. and not showing any python either, it even asking me to download python, but I have already installed it and mentioned it's path in the setting.json as well but when I'm running via the run code in terminal it's working, please fix this, otherwise, it will be really problematic to run further codes here.
Hope to see this fixed Really Soon.
Extension version: 2020.3.69010
VS Code version: Code 1.43.1 (fe22a9645b44368865c0ba92e2fb881ff1afce94, 2020-03-18T07:01:20.184Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 2712)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
11.89GB (5.43GB free)

Process Argv

Screen Reader
no

VM
0%

I am having a very similar problem. The python extension puts the warning icon in the lower left corner of the program with the message "Select Python Interpreter". I also get a pop-up dialog with an error message stating that "Python is not installed. Please download and install python before using the extension.  Source: Python (extension)". But python is installed, on the system path, in the vscode settings pythonPath variable. I can run python from within the vscode integrated terminal.
The correct path to the python interpreter actually shows up when I click on the warning message although it doesn't seem to be in effect.
Version: 1.44.1 (user setup)
Commit: a9f8623ec050e5f0b44cc8ce8204a1455884749f
Date: 2020-04-11T01:48:12.622Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Python Version: python 3.8.2 64-bit installed from the python.org to c:\py38. Both c:\py38 and c:\py38\scripts are on the system path. The vscode pythonPath variable is set to c:\py38\python.exe.
Virtual Environments: none
Output from interpreterInfo.py:
{
"versionInfo": [  3, 8, 2,"final  ],
"sysPrefix": "C:\py38",
"version": "3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)]",
"is64Bit" :true
}

This looks similar to https://github.com/microsoft/vscode-python/issues/9576#issuecomment-576462590 . Can you share your logs, similar to the way they are shared in that comment?

This looks similar to #9576 (comment) . Can you share your logs, similar to the way they are shared in that comment?

-1586887757351.log

I am having the same issue, I've been working with it since february and everything was fine, suddenly yesterday started to give me some errors and today I have this issue that I don't know how to solve it.
I have two venv in the project to be used, also the conda... but anyone appears.

I also leave you here the output from python:
output.txt

I am facing exactly same problem, I think after install cumulative windows update of August 11, 2020-KB4569745 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows 10 Version 2004 this problem was rise although code is working fine but it is so annoying.
I am using two environments from conda(virtual enve) and one installed in my system (base) and while running my code sometime it leads to error because of this.
Please help me out ASAP it will be great help.

Hey guys I found one solution  first i tried to disable the python extension but that didn't helped so tried to re-install it that worked for me.

Starting with the 2021.10.* we have a new discovery system that should work better in these scenarios. Please try it, and if you continue to run into issues, please file a bug with logs after setting "python.logging.level": "debug".

repo: microsoft/vscode-python


text:
Testing config doesn't work if using a .code-workspace file.

I ran into this while trying to validate #6417.

clone ptvsd: https://github.com/Microsoft/ptvsd
open in VS Code
when prompted, choose to load the workspace file
run the Python: Configure Tests command
choose "pytest"

At this point it should go to selecting the "root" folder.  However, it does nothing.  The ptvsd.code-workspace file is unchanged.  The workspace settings file (.vscode/settings.json) is only partially updated:
{
    "python.testing.unittestEnabled": false,
    "python.testing.nosetestsEnabled": false,
    "python.testing.pytestEnabled": true
}

I tried manually configuring it:
{
    "python.testing.unittestEnabled": false,
    "python.testing.nosetestsEnabled": false,
    "python.testing.pytestEnabled": true,
    "python.testing.pytestArgs": [
        "."
    ]
}

When I run the Python: Discover Tests command it says I don't have a test framework configured.
If I close the folder and then re-open it and decline using the workspace file then everything works fine.

This is unrelated to testing UI changes. So removing the verification-found on this.

Closing as stale.

authors: ericsnowcurrently karrtikr karthiknadig


text:
Add syntax highlighting

Type: Feature Request
It would be great if syntax hilighting was available in the serial monitor. This is usually realy helpfull when reading logs.
Thanks

@JackHerRrer Am I correct to assume that this is a related request to #4, #42, #11 ?

@JackHerRrer Ah, that helps a lot. Thanks for the explanation.
I should note that the reason that the "VSCode Log Output Colorizer" isn't compatible with our extension is because that extension is specifically for things that show up on Output panes, while our extension is its own view.
Either way, I'll mark this as an enhancement request and we will take stock of the backlog and see if/where it fits.
Thanks for the feedback!

We've discussed this in more depth, per @gcampbell-msft comment above the output colorizer isn't compatible with our view as we aren't an output pane. We're also considering some other changes to our view at the moment that would further complicate satisfying this request. As such we're not going to pursue this.

authors: JackHerRrer gcampbell-msft robotdad

repo: microsoft/vscode-serial-monitor


text:
Add search provider for scheme vscode-test-web

Hello 👋
I've investigated the file search provider proposal in order to solve #39
Unfortunately, actually filtering seems to be blocked by https://github.com/microsoft/vscode/issues/200892 (edit: only on the provider side, filtering happens on the client)
I'm testing with https://github.com/wkillerud/vscode-scss/tree/repro/no-search-provider and npm linking in ./web. The language server now gets a list of files in the workspace, where before it would get nothing.

This seems to be working pretty well over on https://github.com/wkillerud/vscode-scss/compare/main...wkillerud:vscode-scss:repro/no-search-provider
I noted over on https://github.com/microsoft/vscode/issues/200892#issuecomment-1859115602

It looks like the filtering is done correctly on the client-side / in VS Code, so the provider can return all files as "matches" and still kind of work.

I'll mark this as ready for review.

Thanks @wkillerud !

source: gharchive/pull-request

authors: aeschli wkillerud

repo: microsoft/vscode-test-web


text:
The test tab is unsable

it is telling me to configure the test framework for python i tried extensions
pytest,and untest it is teling that the test configuration failed

\extPython

/extPython

repo: microsoft/vscode


text:
Explorer: drag and drop of files and folders to other window explorer only copies files

I think I would expect the same behaviour when I drag and drop files and folders from the finder where I am asked if the folders are added to the workspace or copied into.
We might not be able to do this given Electron, but I still wonder why files copy while folders do not.
Steps:

open 2 windows
drag and drop a selection of files and folders to the other window explorer
only files get copied in

The issue here is that we simply do not allow DnD of folders between VS Code windows currently. So files have no influence here. Simply take one folder in Win A and drag it over to Win B and it will not work.
The issue is that we currently disable it here
And the original drag event does not contain the data needed to do the folder copy. Thus extractResources here does not handle it.
Maybe we could change the dragged data such that it just contains the uri of dragged folders and when they get dropped we simply do fileService.copy?

@isidorn yeah I think this code maybe originates from a time where we did not ask the user to copy or add the folder, so it was potentially a dangerous operation with lots of files getting copied. Now that we have this check I would think we can remove it and get the dialog, no?
Given it already works with files, I would expect it would just work for folders too?

@bpasero I removed the check and it did not just work. Though assigning to August to investigate more.

Moving to debt week.

Pushed a fix for this, it should now work nicely.
Bonus: I handle the explorer drop as a potential adding of a workspace root only if it dropped top level. Which I think makes this flow nicer. Anyways try it out and let me know how it goes

authors: bpasero isidorn


text:
TS Server fatal error:  Cannot read property 'text' of undefined

Issue Type: Bug
❗❗❗ Please fill in the sections below to help us diagnose the issue ❗❗❗
TypeScript Version: 4.1.0-dev.20200914
Steps to reproduce crash
1.
2.
3.
TS Server Log
❗Server logging disabled. To help us fix crashes like this, please enable logging by setting:
"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.
TS Server Error Stack
Server: semantic
TypeError: Cannot read property 'text' of undefined
    at getSourceTextOfNodeFromSourceFile (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:13450:55)
    at getTextOfNode (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:13475:16)
    at Object.declarationNameToString (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:13787:66)
    at getDisplayName (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:39842:53)
    at declareSymbol (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:39956:111)
    at bindExportsPropertyAssignment (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:42066:17)
    at bindWorker (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41762:29)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41651:13)
    at bindExpressionStatement (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40716:13)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40201:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at /Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40142:94
    at Object.forEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:188:30)
    at bindEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40149:16)
    at bindEachFunctionsFirst (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40142:13)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40247:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at visitNode (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27435:24)
    at Object.forEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27565:21)
    at bindEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40152:16)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40250:21)
    at bindContainer (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40099:17)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41665:21)
    at Object.forEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:188:30)
    at bindEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40149:16)
    at visitNodes (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27440:24)
    at Object.forEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27618:24)
    at bindEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40152:16)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40250:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at visitNode (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27435:24)
    at Object.forEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27522:21)
    at bindEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40152:16)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40250:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at Object.forEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:188:30)
    at bindEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40149:16)
    at visitNodes (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27440:24)
    at Object.forEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27620:24)
    at bindEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40152:16)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40250:21)
    at bindContainer (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40134:17)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41665:21)
    at Object.forEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:188:30)
    at bindEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40149:16)
    at bindCallExpressionFlow (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41077:21)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40229:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at visitNode (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27435:24)
    at Object.forEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27631:24)
    at bindEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40152:16)
    at bindCallExpressionFlow (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41081:21)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40229:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at bindReturnOrThrow (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40551:13)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40182:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at /Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40142:94
    at Object.forEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:188:30)
    at bindEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40149:16)
    at bindEachFunctionsFirst (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40142:13)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40247:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at visitNode (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27435:24)
    at Object.forEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:27565:21)
    at bindEachChild (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40152:16)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40250:21)
    at bindContainer (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40099:17)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41665:21)
    at Object.forEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:188:30)
    at bindEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40149:16)
    at bindCallExpressionFlow (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41077:21)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40229:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at bindExpressionStatement (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40716:13)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40201:21)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41662:21)
    at /Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40142:94
    at Object.forEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:188:30)
    at bindEach (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40149:16)
    at bindEachFunctionsFirst (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40142:13)
    at bindChildren (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40241:21)
    at bindContainer (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:40099:17)
    at bind (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:41665:21)
    at bindSourceFile (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:39708:17)
    at Object.bindSourceFile (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:39647:9)
    at initializeTypeChecker (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:77643:20)
    at Object.createTypeChecker (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:43696:9)
    at Object.getTypeChecker (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:104892:79)
    at synchronizeHostData (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:145287:21)
    at Proxy.getProgram (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:145369:13)
    at ConfiguredProject.Project.updateGraphWorker (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:150226:53)
    at ConfiguredProject.Project.updateGraph (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:150159:42)
    at ConfiguredProject.updateGraph (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:151093:63)
    at ProjectService.createLoadAndUpdateConfiguredProject (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:152797:25)
    at ProjectService.assignProjectToOpenedScriptInfo (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:153695:44)
    at /Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:154018:97
    at Object.flatMap (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:513:25)
    at ProjectService.applyChangesInOpenFiles (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:154018:41)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/Users/panzhixuan/.vscode/extensions/ms-vscode.vscode-typescript-next-4.1.20200914/node_modules/typescript/lib/tsserver.js:155037:46)

VS Code version: Code 1.49.0 (e790b931385d72cf5669fcefc51cdf65990efa5d, 2020-09-10T17:39:53.251Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

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

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 2

Memory (System)
16.00GB (1.61GB free)

Process Argv
--crash-reporter-id 473d3987-4943-4573-9ed8-858b7bc10751

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

ng-template
Ang
0.1001.0

vscode-eslint
dba
2.1.8

githistory
don
0.6.9

gitlens
eam
10.2.2

cshtml
fir
0.1.3

auto-close-tag
for
0.5.8

auto-rename-tag
for
0.1.4

svg
joc
1.3.9

Angular-BeastCode
Mik
10.0.3

vscode-docker
ms-
1.5.0

vscode-language-pack-zh-hans
MS-
1.49.1

csharp
ms-
1.23.2

vscode-typescript-next
ms-
4.1.20200914

debugger-for-chrome
msj
4.12.10

vetur
oct
0.27.3

view-in-browser
qin
0.0.5

markdown-preview-enhanced
shd
0.5.13

pdf
tom
1.1.0

vscode-counter
uct
2.2.0

Duplicate of microsoft/TypeScript#40513


text:
Please expose TRACK_DISPOSABLES to extensions

vscode appears to have the ability for some simplistic tracking of disposables:
https://github.com/microsoft/vscode/blob/8c91bd827848f1710d055c39d80d04c59bb55463/src/vs/base/common/lifecycle.ts#L16
Would it be possible to expose this to developers of extensions, for example via an environment variable, so that it could be toggled in during development?

fyi @mjbvz

This is not a fully implemented feature and has a lot of false positives. It will not do what you want and was only created to be used by VS Code devs (specifically, by me)

authors: dcermak jrieken mjbvz


text:
terminal

VSCode Version:
OS Version:

Steps to Reproduce:

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

/needsMoreInfo

authors: franctp usernamehw


text:
Source Control Malfunction

Issue Type: Bug
I have opened a folder, and it is NOT a git repository. Even so, Source Control seems active from my last opened folder, which was a repository. When I run
git init

and make some changes and stage and commit them, source control is not updated, it continues to show the changes before the commit
VS Code version: Code - Insiders 1.56.0-insider (550035808407c15252e581e8abe1b820b9d311ee, 2021-04-02T05:15:44.248Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz (4 x 2395)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: unavailable_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: unavailable_offskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: unavailable_off

Load (avg)
undefined

Memory (System)
5.95GB (0.88GB free)

Process Argv
D:\Python\Django-Todo-App --crash-reporter-id bfffbe94-005d-491f-a5cd-cca13086bd12

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

code-gnu-global
aus
0.2.2

vscode-django
bat
1.4.0

path-intellisense
chr
2.3.0

vscode-html-css
ecm
1.10.2

auto-rename-tag
for
0.1.6

vscode-pull-request-github
Git
0.25.0

kite
kit
0.142.0

python
ms-
2021.3.680753044

vscode-pylance
ms-
2021.3.4

jupyter
ms-
2021.6.718745073

cpptools
ms-
1.2.2

autodocstring
njp
0.5.4

material-icon-theme
PKi
4.6.0

java
red
0.76.0

vscodeintellicode
Vis
1.2.12

vscode-java-dependency
vsc
0.18.2

vscode-java-pack
vsc
0.13.0

vim
vsc
1.19.3

jinja
who
0.0.8

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30244316
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt875:30259475
pythonvsnew554:30265444
pythontb:30258533
pythonvspyt943:30277000
openwsldoc:30278403
vscoresta800:30283263
vspre833cf:30267465
pythonptprofiler:30281269
vscnewfiletext:30280636
vshan820cf:30276953
pythondataviewer:30283452

This could also be a performance issue, so I will have to see about that

@eamodio @Satwik29 , I'm facing the same issue. https://stackoverflow.com/questions/66980159/vscode-not-showing-changes-in-source-control , Source control is not updating changes made. I'm on version 1.55.2 , commit ending f30d.

Can you post logs from the Git output channel when this happens?

git status -z -u
git symbolic-ref --short HEAD
git for-each-ref --format=%(refname)%00%(upstream:short)%00%(upstream:track)%00%(objectname) refs/heads/xxxx refs/remotes/xxxx
git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(*objectname)
git remote --verbose
git config --get commit.template
git log --format=%H%n%aN%n%aE%n%at%n%ct%n%P%n%B -z -n21 -- /Users/xx/xx/xx/xx/xx/xx/xx.json

authors: Satwik29 ashiyo eamodio


text:
Previously opened folders not being reopened on macOS

VS Code Version: 1.55.2
OS Version: macOS (M1) Big Sur 11.2.3

Steps to Reproduce:

Open a folder in VSCode File -> Open...
Close VSCode with the red traffic light button
Reopen VSCode
VSCode does not reopen the folder and "Untitled-1" is present.

Does this issue occur when all extensions are disabled? Yes

I additionally checked for any related settings and found window.restoreWindows, but it was already set to all and the behavior is the same when changing it to any other value.
Edit: After further testing, it reopens the window VSCode is permanently closed via cmd + Q or by right clicking the VSCode icon and clicking Quit

Closing as this is apparently normal for macOS and I should be force quitting instead.


text:
Control extension identity in hoisted npm modules that are outside of the extension folder in extension development mode

If extension development uses yarn to hoist npm packages up the directory tree, and the extension folder is in a sub-folder, VSCode doesn't recognize the extension if require('vscode') runs in a module that is in the hoisted packages. Because of this proposed APIs cannot be enabled and other VSC features that depend on the extension identity are broken.
Directory tree:
d:/src/Cascade/vscode
| --- liveshare/core/dist/src/file-system-provider/WorkspaceProvider.js <-- some of the extension code lives here.
|
| --- node_modules/ <-- yarn hoists the code here, including the code from the above folder.
       | --- @vs/liveshare-core/dist/src/file-system-provider/WorkspaceProvider.js <-- yarn created a symlink that points to the above .js file.
|
| --- extension/ <-- extension folder. That's what --extensionDevelopmentPath points to.
       | --- package.json. It has "main": "src/out/extension"
       | --- src/out/extension.js <-- Extension entry point.

When code from WorkspaceProvider.js tries to require 'vscode', it fails to recognize the extension.
Extension host logs:
[2021-06-17 11:32:38.850] [exthost] [warning] Could not identify extension for 'vscode' require call from d:\src\Cascade\vscode\liveshare\core\dist\src\file-system-provider\WorkspaceProvider.js. These are the extension path mappings:
	d:\src\Cascade\vscode\extension -> ms-vsliveshare.vsliveshare
        ...

This issue is only relevant during development. Released extension uses webpack and doesn't have this issue.
So, the question is, how to tell vscode in extension development mode that some of the folders outside of the extension's directory still belong to the extension.

/duplicate of https://github.com/microsoft/vscode/issues/124820

@jrieken In my case, the symlinks are not the factor. Even if there were no symlinks at all, and all the files just existed in their respective locations, the issue would still occur. I don't think it's a dupe, unless, of course, if you're developing a solution that may fix both of the bugs.

In case of #124820, npm link creates a symlink inside the extension directory's node_modules. In my case, resolve('my_code') loads the code from {extension_folder}../node_modules/my_code, which is outside of the extension folder whether symlinks are involved or not. The feature request is to be able to configure VSCode so it treats {extension_folder}../node_modules as belonging to the extension.

authors: IlyaBiryukov jrieken


text:
Add an inline X button to our filter/search input boxes to quickly clear it

I would love to have an x inside many of our filter/search-type input boxes to quickly clear the input. I do this SO often and I always go looking for the non-existent button 😄
A few examples:

Extensions search
Search input
Debug Console filter box
Problems filter box
Settings filter box

Don't we already do this in most places? It looks like debug + problems are the only ones that don't (debug only clears the results)
Extensions

Search

Settings

Wow, never noticed that in the tool bar before. I still think it should be in the input -- like in the settings UI. When I said settings search, I apparently meant the split JSON settings search box (but since that is getting removed, no need)

Adding @roblourens for thoughts. I think making it inline for the search input can get confusing with the search options that get toggled there.

Bringing this back up, after playing around with the test view I actually do like the filter inline and wonder if there is a way to combine these two as you suggest like:
No text
When there is no text we can show the filter button but clear

With text
With text we then show  the clear button

The exception would probably be the search fields as that has lots of search options already (filter wouldn't apply but clear would). I'll post in our ux channel to see what people think.

What goes in the filter button? We have this in the editor toolbar

would those move? I don't think they are used often enough to be promoted

yea my though was that all filters would go there. I personally use the modified settings query often but maybe i'm in the minority. We could also add to the list to bring more discoverability to these filters:

I feel like most of these input boxes have too many icon buttons as it is, and I don't think this is needed

authors: eamodio misolori roblourens


text:
Git-related settings lost

Issue Type: Bug
In the last build or so, git-related settings have disappeared and it seems that git is no longer configured.
The pull requests and issues extension reports that it can't load and git must be installed. The git tool in the toolbar tells me that that if I want to enable git features, I must enable git in my settings. Clicking on the "settings" link in that advice, the settings window opens with "git.enabled" pre-populated in the search bar, but there are no results showing, only the message "No settings found".
Typing only "git" in the settings search returns almost nothing:

VS Code version: Code - Insiders 1.58.0-insider (57930758db9e2c83f59b9ee1851400bd16192d32, 2021-06-30T05:14:00.370Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 x 4008)

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

Load (avg)
undefined

Memory (System)
31.94GB (20.55GB free)

Process Argv
--crash-reporter-id af1c7f06-1fe5-4a50-bddd-2de5a14c940d

Screen Reader
no

VM
0%

Extensions (110)

Extension
Author (truncated)
Version

project-manager
ale
12.2.0

svelte-intellisense
ard
0.7.1

zls-vscode
Aug
1.0.4

spellright
ban
3.0.58

toml
be5
0.5.1

vscode-unison
Ben
0.3.0

emojisense
bie
0.8.0

markdown-checkbox
bie
0.1.3

better-toml
bun
0.3.2

path-intellisense
chr
2.3.0

codeswing
cod
0.0.16

gitignore
cod
0.7.0

bracket-pair-colorizer-2
Coe
0.2.1

transformer
dak
1.11.1

vscode-deno
den
3.6.1

githistory
don
0.6.16

xml
Dot
2.5.1

arturo
drk
0.2.7

gitlens
eam
11.5.1

vscode-npm-script
eg2
0.3.22

json-tools
eri
1.0.2

magic-racket
evz
0.5.7

vscode-firefox-debug
fir
2.9.4

vscode-svelte-snippets
fiv
0.5.0

code-runner
for
0.11.4

shell-format
fox
7.1.0

godot-tools
gee
1.1.2

copilot
Git
1.1.1899

vscode-pull-request-github
Git
0.27.1

go
gol
0.26.0

cloudcode
goo
1.13.0

gc-excelviewer
Gra
3.0.42

terraform
has
2.13.0

rest-client
hum
0.24.5

output-colorizer
IBM
0.1.2

figma
ide
0.1.1

r
Iku
2.0.0

vscode-k3d
ine
0.0.10

Ionide-FAKE
Ion
1.2.3

Ionide-fsharp
Ion
5.5.9

Ionide-Paket
Ion
2.0.0

svelte-vscode
Jam
0.9.3

search-node-modules
jas
1.3.0

plantuml
jeb
2.15.1

vscode-gnupg-tool
JHe
1.3.9

vscode-text-pastry
jkj
1.2.0

vscode-peacock
joh
3.9.1

language-julia-insider
jul
1.3.12

vscode-gutter-preview
kis
0.27.1

nim
kos
0.6.6

node-module-intellisense
lei
1.5.0

rust-analyzer
mat
0.2.654

rainbow-csv
mec
1.8.1

vscode-docker
ms-
1.14.0

csharp
ms-
1.23.12

vscode-edge-devtools
ms-
1.2.0

vscode-kubernetes-tools
ms-
1.3.3

python
ms-
2021.6.944021595

vscode-pylance
ms-
2021.6.3

jupyter
ms-
2021.7.985709665

remote-containers
ms-
0.185.0

remote-ssh
ms-
0.65.7

remote-ssh-edit
ms-
0.65.7

remote-wsl
ms-
0.58.2

vscode-remote-extensionpack
ms-
0.21.0

cmake-tools
ms-
1.7.3

cpptools
ms-
1.4.1

powershell
ms-
2021.6.2

vsliveshare-pack
ms-
0.4.0

debugger-for-chrome
msj
4.12.12

debugger-for-edge
msj
1.0.15

vscode-react-native
msj
1.5.1

gradle-language
nac
0.2.3

vetur
oct
0.34.1

red
red
0.4.3

java
red
0.80.0

vscode-commons
red
0.0.6

vscode-microprofile
red
0.2.0

vscode-quarkus
red
1.8.0

vscode-yaml
red
0.20.0

shellman
Rem
5.5.1

LiveServer
rit
5.6.1

shebang-snippets
rpi
0.1.4

partial-diff
ryu
1.4.3

scala
sca
0.5.3

scala-snippets
sca
0.1.0

metals
sca
1.10.6

imba
scr
0.5.2

code-settings-sync
Sha
3.4.3

incremental-search
sie
0.2.1

vscode-hexdump
sle
1.8.1

rewrap
stk
1.14.0

imba
tir
0.4.0

pdf
tom
1.1.0

cmake
twx
0.0.17

vscode-lldb
vad
1.6.5

vscodeintellicode
Vis
1.2.14

vscode-vlang
vla
0.1.8

vscode-java-debug
vsc
0.34.0

vscode-java-dependency
vsc
0.18.5

vscode-java-pack
vsc
0.17.0

vscode-java-test
vsc
0.30.1

vscode-maven
vsc
0.31.0

vscode-icons
vsc
11.5.0

codetour
vsl
0.0.56

gistfs
vsl
0.2.9

gitdoc
vsl
0.0.8

quokka-vscode
Wal
1.0.381

ballerina
wso
2.1.0

local-history
xyz
1.8.1

I had the same problem, but after uninstalling Julia Insider, everything worked fine.

@asampal Do you have Julia Insiders installed too?

Yes, I have it too. Uninstalling also resolved the problem for me.

We moved to a new build setup and accidentally published a broken insider build of the Julia extension. Fix is incoming, I hope to get it out in less than an hour.

authors: Soyukke asampal davidanthoff eamodio


text:
Provide a way to stop changing the focus to Explorer when selecting new files

I'd like it so that when I am using debug the focus doesn't change to Explorer each time a different file gets opened as I step through the code. Same goes for when using Search - I'd like the search pane to persist so that I can keep opening different files quickly while I find what I'm looking for.
When I'm doing either of these actions, I don't need the explorer - the file info is available in the tab header. Its a great nuisance to have to switch back to the debug/serach pane each time.
To be clear, I'm not talking about Auto Reveal.

explorer.autoReveal: false
There is no other way around this. Or you are not explaining the issue clearly enough

authors: isidorn nickchomey


text:
Reset VS Code after extended time of nonuse

What if: Many users that open VS Code after many years of not using it could have a better experience when they started with a fresh install.
The reasons for bad experience amplify each other, and we can't expect that a user re-evaluates each of these when re-opening an old install:

🗂 The last opened workspace is no longer relevant or has just been a playground to test out VS Code.
⚙ Workspace and user settings become outdated as the developer environment evolved and changed.
🧩 Installed extension choices were mere explorations or have been become legacy since.

We saw this frequently in usertesting: A participant who self-reported as not using VS Code downloads the most recent version and after launch, defaults to the last opened workspace. There is usually have little or no recollection of the project they are looking at. Even worse, VS Code is set up in unexpected ways, binary paths changed, and some of the extensions are legacy or deprecated.
We expect this to be common, as it is easy to download and install VS Code just to try it out. It takes little space, so keeping it around afterwards doesn't hurt.
What could reset mean:

Don't restore the last-opened folder, as it provides little context.
Sticky prompt to restart after downloading critical updates for VS Code and extensions
Offer to reset VS Code's user-data
Something else?

Related, Firefox does something similar for similar reasons (old extensions, performance issues, etc).

I think blowing up the user data dir would would do most of the things we want (1 and 3)
Regarding 2. there are always some critical security updates. And it can as well happen that the next monthly release has some security fix even if the user updates regularly. So I would think about this problem unrelated to the long period of inactivity.
@bpasero what do you think about user data blowup after some period of inactivity?

Related to / duplicate of:

https://github.com/microsoft/vscode/issues/130510
https://github.com/microsoft/vscode/issues/22613

We cannot "blow up user data dir" because it may contain backups of unsaved changes.

@bpasero I think we can blow up user data dir because:

We would first ask the user to confirm
We would only ask the user after an extended period of time of inactivity (thus reducing chances that something useful in is in the hot exit state)
This is similar to how we ask users are they sure they want to close vscode when they have unsaved files (hot exit disabled)

So we should just make sure that the dialog when we ask the user makes it clear that unsaved changes in files will be lost.

I am not entirely sure we can technically delete the user data dir via a restart of the app, because we would basically have to delete it on startup before the ready event. @deepak1556 can maybe chime in if it is save to do so.
To be honest, I have not heard of an application that would behave like this, so I am not sure this makes sense. What is the motivation?

@bpasero Firefox does this. And I actually got that dialog - it gave me a feeling of being offered to cleanse my previous sins and start fresh.
Motivation: user tried out vscode couple of years ago and left it in a bad state (broken settings.json, hid the activity bar and has no clue how to bring it back...). In a user study it happened that a user had created a chrome launch configuration in his user settings, and now he was trying to setup PHP debug which was impossible due to his old user configuration which is shared across workspaces and does not allow our "let us help you start debugging" experience.
I think we will see more and more users coming back to VS Code after some time as they give us a 2nd chance.
Though let's first see if it is possible at all from @deepak1556

Downside of this is that it would be another dialog.
Since I hate dialogs in general, I am not 100% convinced we need this.

User data dir not only contains vscode application data but also lot of configurations for the runtime which get processed before the ready event. So I would strongly advice nuking the directory while the application runs, the application is always free to touch files that it owns inside that directory, so maybe focus on deleting only those data ? But if you really want to start fresh, then try this flow

Confirm with user about starting with fresh state
Launch the app and set a new user data path via app.setPath https://github.com/electron/electron/blob/main/docs/api/app.md#appsetpathname-path
Delete the old directory in any of the successive runs

Yeah we do have situations where we change the user data dir dynamically even after starting but before ready event. Mainly to support the portable mode:
https://github.com/microsoft/vscode/blob/9520f0a515e7e24802c92f885a0efb242fca3831/src/vs/platform/environment/node/userDataPath.js#L49-L49

To simplify, we could break down this work into 1. Don't restore the last-opened folder. (reasonably uncontroversial) and 3. Offer to reset VS Code's user-data (will require some tweaking and experimentation) entry.

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

authors: bpasero deepak1556 digitarald isidorn


text:
VS Code freezes when using PHP Debug and PHP Xdebug

Issue Type: Performance Issue
I have been using these two extensions along with VS Code for almost a year now with no issues. Last week, I tried to debug a php page and it was not working anymore. I uninstalled and reinstalled the extensions many times. I also reset IIS webs server for PHP and verified nothing has changed on my Windows 10 Pro PC. I finally got it working again but it takes like 3-5 minutes for the VS Code to unlock and display at the break point. From there F11 works fine. It does this on every page breakpoint coming from Chrome to VS Code. At the breakpoint, VS Code flashes immediately on the taskbar. Opening VS Code to walk through, shows the app frozen for minutes until active again. After getting this far, I noticed that VS Code was updated in August to 6.1. That would be the only thing that changed (which I wish I knew before hand) on my pc! So logic dictates VS Code version 1.6 as the most likely cause! Please check it out and fix if possible. Thanks! Paul
VS Code version: Code 1.60.0 (e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff, 2021-09-01T10:41:52.311Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8 x 3392)

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

Load (avg)
undefined

Memory (System)
31.94GB (26.45GB free)

Process Argv
--crash-reporter-id eedfb54f-df69-4190-b77a-4f75ef872706

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    1	    82	  1404	code main
    0	    24	  1996	   crashpad-handler
    0	    82	  5136	   shared-process
    0	    74	 12932	     ptyHost
    0	    67	   764	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	     6	 12764	       console-window-host (Windows internal process)
    1	    74	 12412	   window (Issue Reporter)
    0	    37	 14040	   utility
    0	   128	 15408	   window (Welcome - ElectroRestore - Visual Studio Code)
    0	    12	  5408	     watcherService
    0	    11	  2336	       console-window-host (Windows internal process)
    0	   121	  7096	     extensionHost
    0	    84	 16172	   gpu-process

Workspace Info
|  Window (Welcome - ElectroRestore - Visual Studio Code)
|    Folder (ElectroRestore): 363 files
|      File types: jpg(81) php(68) asp(63) png(18) inc(13) txt(12) js(11)
|                  css(8) svg(7) json(6)
|      Conf files: launch.json(2) settings.json(2)
|      Launch Configs: php(2);

Extensions (4)

Extension
Author (truncated)
Version

vscode-intelephense-client
bme
1.7.1

vscode-mysql-client2
cwe
4.1.2

php-debug
fel
1.17.0

php-xdebug
kak
0.0.7

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30358480
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
pythonvssor306:30344512
bridge0708:30335490
pygetstartedc2:30360494
bridge0723:30353136
pythonf5test824:30361777
javagetstartedc:30351792
vsdyn321cf:30356811
pythonvspyt187cf:30362783
pydsgsc2:30361791
vscus224cf:30358040
vssid140cf:30362081

Please open an issue against https://github.com/xdebug/vscode-php-debug/issues since this appears to be an issue with the debug extension.


text:
Git operations fail due to empty VSCODE_GIT_ASKPASS_EXTRA_ARGS

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

VS Code Version: 1.62.2
OS Version: Debian 12

Steps to Reproduce:

Run env | grep VSCODE_GIT_ASKPASS_EXTRA_ARGS returns VSCODE_GIT_ASKPASS_EXTRA_ARGS=
Move to a git repository and run git fetch returns: remote: HTTP Basic: Access denied
Run export VSCODE_GIT_ASKPASS_EXTRA_ARGS="--ms-enable-electron-run-as-node"
Running git fetch then works.

VSCODE_GIT_ASKPASS_EXTRA_ARGS should be set to --ms-enable-electron-run-as-node.
Output of process.versions in debug console:
ares: "1.16.1"
brotli: "1.0.9"
chrome: "91.0.4472.164"
electron: "13.5.2"
icu: "68.1"
llhttp: "2.1.3"
microsoft-build: "10663358"
modules: "89"
napi: "7"
nghttp2: "1.41.0"
node: "14.16.0"
openssl: "1.1.1"
unicode: "13.0"
uv: "1.40.0"
v8: "9.1.269.39-electron.0"
zlib: "1.2.11"

The same problem is also present in 1.62.1. 1.62.0 is the last working version.

Facing the same issue. Had to revert to 1.62.0 which fixed the issue. I'm using Xubuntu 20.04.3.

@lszomoru I ran into the same issue on version 1.62.2, using Ubuntu 20.04 LTS. Setting the envvar as above fixed it

This issue should be fixed in 1.62.2. Can you please confirm that you are able to reproduce the issue with the latest version?

I can confirm it happens with 1.62.2 and 1.62.1 and all extensions disabled as well.

I have the same issue happens with the latest version 1.62.2

I am unable to repro with snap version of vscode following the steps at https://github.com/microsoft/vscode/issues/137183#issue-1053060480. Can anyone please share a screen capture with exact steps to repro the issue ? Thanks!
Also it would be great if you can start with NODE_DEBUG="child_process" code --verbose and attach the log when the failure happens.

I am using the deb package https://packages.microsoft.com/repos/vscode stable/main amd64 code amd64 1.62.2-1636665017.

code.log

The problem is not limited to the terminal, builtin git operations fail as well.

Thanks for the steps, we were able to narrow down the root cause. I will ping here again once the fix is rolled into our insiders for testing.

Thanks @deepak1556 and @tpambor
Just added "git.terminalAuthentication": false to .vscode/settings.json which allows auth creds to be passed via terminal.
Once the fix is released, "git.terminalAuthentication" in settings.json to true which is the default value or even removed to avoid confusion.

facing the same issue in version 1.62.2 Setting the envvar as above fixed it. thanks for this

The same problem is present in INSIDER build also

Closing for verification.

Fix is now available with latest insiders Version: 1.63.0-insider (d450b04c783dfa6f83dc439017767acccd4e9fac) and will be shipped with recovery release 1.62.3 this week. Please give it a try and sorry for the breakage!

I can confirm that the insider build is working now. Thanks @deepak1556 and others involved!

3. export VSCODE_GIT_ASKPASS_EXTRA_ARGS="--ms-enable-electron-run-as-node"

me devuelve este error
help me
Missing or invalid credentials.
Error: connect ECONNREFUSED /run/user/1000/vscode-git-c0839b2070.sock
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '/run/user/1000/vscode-git-c0839b2070.sock'
}
Missing or invalid credentials.
Error: connect ECONNREFUSED /run/user/1000/vscode-git-c0839b2070.sock
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '/run/user/1000/vscode-git-c0839b2070.sock'
}
remote: No anonymous write access.
fatal: Autenticación falló para

@MichelVarela what exact version number of VS Code are you running?

My issue was closed and was pointed back to this issue, which is supposed to be fixed in 1.62.3.  However this issue is still not fixed for me in 1.62.3, Ubuntu 21.04
On any git command, eg a:  git fetch:
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/some-repo.git/'

My issue was closed and was pointed back to this issue, which is supposed to be fixed in 1.62.3. However this issue is still not fixed for me in 1.62.3, Ubuntu 21.04
On any git command, eg a: git fetch:
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/some-repo.git/'

Does this reply
solve anything for you?

@deepak1556 with WSL, it is still not working, tried  "git.terminalAuthentication": false as well

authors: KorigamiK Leigh-M MichelVarela Pinche-Dev a-samir97 alexr00 deepak1556 gjsjohnmurray maxisam tpambor uberkaz vasudev-gm x07


text:
Restarting JS debugger

Issue Type: Bug
in line with the previous issues I have reported about the JS debugger not finding a session when restarting, I just double tapped the Restart Debugger button and this notification came up:
Error processing launch: Error: Ambiguous match found for serviceIdentifier: Symbol(ISourcePathResolver)
	at /home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:465158
	at g (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:465172)
	at y (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:465347)
	at /home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:465881
	at Array.forEach (<anonymous>)
	at /home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:465860
	at Array.forEach (<anonymous>)
	at y (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:465407)
	at Object.t.plan (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:466326)
	at /home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:457512
	at e._get (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:457421)
	at e.getAll (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:456318)
	at t.Binder.getLaunchers (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:1225375)
	at t.Binder._boot (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:1226449)
	at /home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:1224812
	at t.default._onMessage (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:1319102)
	at /home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:1317549
	at i.fire (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:1252302)
	at Socket._handleData (/home/jasonzuvela/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/extensions/ms-vscode.js-debug/src/extension.js:2:1324941)
	at Socket.emit (events.js:315:20)
	at addChunk (internal/streams/readable.js:309:12)
	at readableAddChunk (internal/streams/readable.js:284:9)
	at Socket.Readable.push (internal/streams/readable.js:223:10)
	at TCP.onStreamRead (internal/stream_base_commons.js:188:23)

VS Code version: Code 1.61.2 (6cba118ac49a1b88332f312a8f67186f7f3c1643, 2021-10-19T14:57:20.575Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Remote OS version: Linux x64 5.10.60.1-microsoft-standard-WSL2

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

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

Load (avg)
undefined

Memory (System)
31.82GB (3.64GB free)

Process Argv
--crash-reporter-id 9d1b4a74-6c23-44d3-9db5-383def926efe

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 5.10.60.1-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2207)

Memory (System)
24.92GB (2.49GB free)

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

bracket-pair-colorizer-2
Coe
0.2.1

remote-containers
ms-
0.202.5

remote-wsl
ms-
0.58.5

gitlens
eam
11.6.1

prettier-vscode
esb
9.0.0

restore-terminals
Eth
1.1.6

vscode-graphql
Gra
0.3.26

vscode-docker
ms-
1.18.0

vsliveshare
ms-
1.0.5090

vsliveshare-audio
ms-
0.1.91

vsliveshare-pack
ms-
0.4.0

vetur
oct
0.35.0

prisma
Pri
3.5.0

indenticator
Sir
0.7.0

language-stylus
sys
1.14.1

vscodeintellicode
Vis
1.2.14

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30384386
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsqsis200:30402083
vsaa593cf:30376535
vssld246:30401890
pythonvs932cf:30404740
vscop804:30404766
vs360cf:30404996

I wasn't able to reproduce this particular issue, but sessions can 'leak' if I spam the restart button. I think the editor should guard against this.
@roblourens my initial thought is to add a new Stopping state to the State used in IDebugSession and disable stop/restart commands when the session is in that state. Does that sound reasonable?

Makes sense

This seems resolved with my lifecycle improvements in js-debug https://github.com/microsoft/vscode-js-debug/pull/1619

authors: connor4312 jasonzuvela-wywm roblourens


text:
Enable Bracket Pair Colorization By Default

We want to explore enabling bracket pair colorization by default and gather some feedback.
For now, we will just enable it for Insiders. If only a neglectable amount of users complain (they can still turn it off) while the majority likes the feature, we will roll it out for stable.
FYI @alexdima @egamma

Count me as one of the complaining users. I've disabled it so the problem's fixed for me, my gut feeling is that most users wouldn't want this but could be wrong.

Not a big fan myself. It would be great if there was clear documentation on how to disable this new colorization scheme, thank you :)

authors: Tyriar hediet therealgilles


text:
python kernel process dies because of deprecated support for extra string quotes in traitlets

Issue Type: Bug
My python kernel dies when I run ibm_db.connect() or ibm_db_dbi.connect() in VS Code 'interactive' mode or in Jupyter notebook cells. Here is the console output:
Error 08:48:19: Disposing session as kernel process died ExitCode: undefined, Reason: /usr/local/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'b13bc39e-6f5f-4a5e-b875-93a86653eb31' instead of 'b"b13bc39e-6f5f-4a5e-b875-93a86653eb31"'.
  warn(

Info 08:48:19: Dispose Kernel process
Error 08:48:19: Raw kernel process exited code: undefined

I cannot reproduce the issue outside of VS Code; the same function runs fine in the Terminal and in Jupyterlab. In all cases, I'm using the same python environment and packages.
MacOS 12.2.1
Python 3.9.10
python3 -m pip install ipykernel jupyterlab pandas ibm-db
VS Code version: Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T14:33:49.188Z)
OS version: Darwin x64 21.3.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 (4.19GB free)

Process Argv
--crash-reporter-id 91bde56a-ddbf-4e4b-9ab2-5db38b83b07e

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

gather
ms-
2022.3.0

python
ms-
2022.2.1924087327

vscode-pylance
ms-
2022.3.1

jupyter
ms-
2022.2.1030672458

jupyter-renderers
ms-
1.0.6

remote-containers
ms-
0.224.2

remote-ssh
ms-
0.76.1

remote-ssh-edit
ms-
0.76.1

autodocstring
njp
0.6.1

vscode-data-preview
Ran
2.3.0

vscodeintellicode
Vis
1.2.17

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30451275
dsvsc008:30440022
pythonvsnew555:30450902
vscscmwlcmt:30438805
vscgsvidc:30447482
cppdebugcf:30451567
pynewfile477cf:30450039

/extPython

authors: gjsjohnmurray parodayco