text:
Pytest discovery stuck

Type: Bug
Behaviour
running tests discovery fails
Steps to reproduce:

have settings.json with:

{
    "python.testing.pytestArgs": [
        "--no-cov",
        "./services/sys/tests/",
        "./services/api/tests/",
    ],
"python.testing.autoTestDiscoverOnSaveEnabled": true,
...
}

save, tests are being found as expected
update the settings and add this folder to the args:
"./services/blueprints/tests/",
save again to do tests discovery
I get errors

[error] pytest test discovery error for workspace:  /Users/zuk.bar/dev/gemini
 _pytest.nodes.Collector.CollectError: ImportError while importing test module '/Users/zuk.bar/dev/gemini/services/api/tests/test_api.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
E   ModuleNotFoundError: No module named 'tests.test_api'
 Check Python Test Logs for more details.

_pytest.nodes.Collector.CollectError: ImportError while importing test module '/Users/zuk.bar/dev/gemini/services/api/tests/test_medicalkb.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
E   ModuleNotFoundError: No module named 'tests.test_medicalkb'
 Check Python Test Logs for more details.

_pytest.nodes.Collector.CollectError: ImportError while importing test module '/Users/zuk.bar/dev/gemini/services/api/tests/test_patient.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
E   ModuleNotFoundError: No module named 'tests.test_patient'
 Check Python Test Logs for more details.

_pytest.nodes.Collector.CollectError: import file mismatch:
imported module 'tests.test_umr' has this __file__ attribute:
  /Users/zuk.bar/dev/gemini/services/blueprints/tests/test_umr.py
which is not the same as the test file we want to collect:
  /Users/zuk.bar/dev/gemini/services/api/tests/test_umr.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
 Check Python Test Logs for more details.

Interrupted: 4 errors during collection
 Check Python Test Logs for more details.

Extension version: 2024.4.1
VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:43:08.196Z)
OS version: Darwin arm64 23.4.0
Modes:

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

User Settings

languageServer: "Pylance"

testing
• pytestArgs: "<placeholder>"
• pytestEnabled: true

Installed Extensions

Extension Name
Extension Id
Version

advanced-new-file
patbenatar.advanced-new-file
1.2.2

autoDocstring - Python Docstring Generator
njpwerner.autodocstring
0.6.1

Dev Containers
ms-vscode-remote.remote-containers
0.354.0

Django
batisteo.vscode-django
1.15.0

Docker
ms-azuretools.vscode-docker
1.29.0

ES7+ React/Redux/React-Native snippets
dsznajder.es7-react-js-snippets
4.4.3

GitHub Codespaces
GitHub.codespaces
1.16.19

GitHub Copilot
GitHub.copilot
1.184.0

GitHub Copilot Chat
GitHub.copilot-chat
0.14.1

GitHub Pull Requests
GitHub.vscode-pull-request-github
0.86.1

GitLens — Git supercharged
eamodio.gitlens
14.9.1

Go
golang.go
0.41.4

HashiCorp Terraform
hashicorp.terraform
2.30.1

IntelliCode
VisualStudioExptTeam.vscodeintellicode
1.3.1

IntelliCode API Usage Examples
VisualStudioExptTeam.intellicode-api-usage-examples
0.2.8

JavaScript and TypeScript Nightly
ms-vscode.vscode-typescript-next
5.5.20240424

JavaScript Debugger
ms-vscode.js-debug
1.88.0

JavaScript Debugger Companion Extension
ms-vscode.js-debug-companion
1.1.2

Jinja
wholroyd.jinja
0.0.8

Jupyter
ms-toolsai.jupyter
2024.3.1

Jupyter Cell Tags
ms-toolsai.vscode-jupyter-cell-tags
0.1.9

Jupyter Keymap
ms-toolsai.jupyter-keymap
1.1.2

Jupyter Notebook Renderers
ms-toolsai.jupyter-renderers
1.0.17

Jupyter Slide Show
ms-toolsai.vscode-jupyter-slideshow
0.1.6

Makefile Tools
ms-vscode.makefile-tools
0.9.10

Markdown Preview Enhanced
shd101wyy.markdown-preview-enhanced
0.8.13

Numbered Bookmarks
alefragnani.numbered-bookmarks
8.4.0

Pylance
ms-python.vscode-pylance
2024.4.1

Pyright
ms-pyright.pyright
1.1.360

Python
ms-python.python
2024.4.1

Python Debugger
ms-python.debugpy
2024.4.0

Python Environment Manager
donjayamanne.python-environment-manager
1.2.4

Python Extended
tushortz.python-extended-snippets
0.0.1

Python Extension Pack
donjayamanne.python-extension-pack
1.7.0

Python Indent
KevinRose.vsc-python-indent
1.18.0

Python Path
mgesbert.python-path
0.0.14

Python Poetry
zeshuaro.vscode-python-poetry
0.17.17

React
zhang-renyang.vscode-react
0.0.5

Table Visualizer for JavaScript Profiles
ms-vscode.vscode-js-profile-table
1.0.8

Terraform
4ops.terraform
0.2.5

Test Adapter Converter
ms-vscode.test-adapter-converter
0.1.9

Test Explorer UI
hbenl.vscode-test-explorer
2.21.1

System Info

Item
Value

CPUs
Apple M2 Pro (12 x 24)

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: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
4, 3, 4

Memory (System)
16.00GB (0.32GB free)

Process Argv
--crash-reporter-id 43161093-9af1-47a8-bfe2-ee00acef03ce

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
jchc7451:30973076
gee8j676:31009558
chatpanelt:31018789
dsvsc021:30996838
945dj816:31013170
pythoncenvpt:31022790

Hi! From your errors it seems like you might have some import errors within your test files like E   ModuleNotFoundError: No module named 'tests.test_api'. I would suggest testing it from the integrated terminal and running this python -m pytest --no-cov ./services/sys/tests/ ./services/api/tests/ since this is exactly what we are running through the extension. Check the errors when you run this and once you get it running right from the integrated terminal it should work from the test explorer! If not let me know

Thanks Elena!
this one works as expected:
python -m pytest --no-cov ./services/sys/tests/ ./services/api/tests/
but this one gives the errors below:
python -m pytest --no-cov ./services/sys/tests/ ./services/api/tests/ ./services/blueprints/tests/
errors:
___________________ ERROR collecting test_api.py ____________________
ImportError while importing test module '/Users/zuk.bar/dev/gemini/services/api/tests/test_api.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
E   ModuleNotFoundError: No module named 'tests.test_api'
________________ ERROR collecting test_medicalkb.py _________________
ImportError while importing test module '/Users/zuk.bar/dev/gemini/services/api/tests/test_medicalkb.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
E   ModuleNotFoundError: No module named 'tests.test_medicalkb'
_________________ ERROR collecting test_patient.py __________________
ImportError while importing test module '/Users/zuk.bar/dev/gemini/services/api/tests/test_patient.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.pyenv/versions/3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
E   ModuleNotFoundError: No module named 'tests.test_patient'
___________________ ERROR collecting test_umr.py ____________________
import file mismatch:
imported module 'tests.test_umr' has this __file__ attribute:
  /Users/zuk.bar/dev/gemini/services/blueprints/tests/test_umr.py
which is not the same as the test file we want to collect:
  /Users/zuk.bar/dev/gemini/services/api/tests/test_umr.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules

if I run only "blueprints":
python -m pytest --no-cov  ./services/blueprints/tests/
it passes....
I would say I tried these two variations:
"python.testing.pytestArgs": [
        "--no-cov",
        "./services/sys/tests/",
        "./services/api/tests/",
    ],

VS

    "python.testing.pytestArgs": [
        "--no-cov",
        "./services/blueprints/tests/"
    ],

both work individually, but if I add "blueprints" to the others, it just hangs because of these error probably.
We have a weird mono repo, with many "sub" poetry projects.
Maybe there is a way have a workspace that will maintain all of it?

Hi! Sorry I am still a bit confused, can you clarify which worked using the extension and which worked from the integrated terminal? Were there any cases that work from the terminal but not using the test explorer? I can only really help with these cases as something not working in both would suggest an issue with project setup. Thanks!

Hello! I am closing this issue since we have not heard back on the above question, please comment with the requested information if you are still experiencing this problem and I can re-open it. Thanks

authors: cliffqbio eleanorjboyd


text:
VSCodeCheckbox always has value == "on", regardless of if it's actually on or off.

Describe the bug
VSCodeCheckbox always has value == "on", regardless of if it's actually on or off.

To reproduce
Inside a webview panel:
     <VSCodeCheckbox label={"Label"} onChange={(e) => {
        console.log(e.target.value) // observe value always "on" when clicking the checkbox
      }}>Enabled</VSCodeCheckbox>

Desktop (please complete the following information):

OS Version: [e.g. macOS  12.4]
Toolkit Version: [e.g. v1.0.0]

Invalid, the property that should be looked at is "checked", not "value".

source: gharchive/issue

repo: microsoft/vscode-webview-ui-toolkit

license: mit

license_type: permissive

license_source: bigquery


text:
[loc][Query][VSCODE] Localizability of strings

Hi,
please help localization team to answer question from translator.
In case translator is not sure about context/meaning/localizability of string we raise a question to Core team.

Id
File Name Live Page Extended
String Resource ID
Full Source String
Extended Description

50456
vscode-extensions\git.xlf
0;   "extensions/git/dist/commands.confirm discard all"
Are you sure you want to discard   ALL changes in {0} files?\r\nThis is IRREVERSIBLE!\r\nYour current working   set will be FOREVER LOST.
what will placeholder be   replaced by?

50531
vscode-extensions\git.xlf
0;   "extensions/git/package.command.addRemote"
Add Remote...
Does "remote" refer to   "remote repository" here? Please confirm or advise.          Similar strings:     Add remote from URL     Add remote from {0}     Add Remote     0; "extensions/git/dist/commands.addFrom_Duplicated15"     0; "extensions/git/dist/commands.addfrom_Duplicated14"     0; "extensions/git/dist/commands.addremote"

50546
vscode-editor\vs_platform.xlf
0;   "src/vs/platform/undoRedo/common/undoRedoService.cannotWorkspaceRedoDueToInProgressUndoRedo"
Could not redo '{0}' across all   files because there is already an undo or redo operation running on {1}
What does the last placeholder   stand for? Please explain.                    Similar string:          Could not undo '{0}' across all files because there is already an undo or   redo operation running on {1}          0; "src/vs/platform/undoRedo/common/undoRedoService.cannotWorkspaceUndoDueToInProgressUndoRedo"

50744
vscode-extensions\ms-vscode.js-debug-nightly.xlf
0;   "browser.revealPage"
Focus Tab
is Focus a verb here meaning to   move active state?

50771
vscode-extensions\ms-vscode.js-debug-nightly.xlf
0;   "configuration.pickAndAttachOptions"
Default options used when   debugging a process through the Debug: Attach to Node.js Process command
Please confirm command is not to   be translated. Thanks!

@joaomoreno starting with you as the owner of Git. Please pass on when done.

what will placeholder be replaced by?

It will be replaced by a number greater than 1.

Does "remote" refer to "remote repository" here? Please confirm or advise. Similar strings: Add remote from URL Add remote from {0} Add Remote 0; "extensions/git/dist/commands.addFrom_Duplicated15" 0; "extensions/git/dist/commands.addfrom_Duplicated14" 0; "extensions/git/dist/commands.addremote"

A remote is a noun in git terminology; yes, it loosely means a remote repository.

Moving to @alexdima

@alexdima  still not answered

Sorry about that!

authors: PDostalek alexdima dbaeumer joaomoreno

repo: microsoft/vscode

license: MIT

license_source: github-api


text:
CompletionItem need a click Event, When selecting a completion item .

the return completion item form CompletionItemProvider.provideCompletionItems
When selecting a completion item in the editor,I want to get the selected completion item，and count the number。

CompletionItem#command

authors: jrieken monster-hui


text:
Test: detect high contrast and detect OS color scheme

Refs: #105715

[ ] windows @deepak1556
[ ] macOS @JacksonKearl
[ ] linux @aeschli
[x] anyOS (web) @bpasero

Complexity: 3
Create Issue

Test the settings window.autoDetectColorScheme and window.autoDetectHighContrast. They now work on MacOS and in the Web as well.
On the web:  High contrast detection is enabled on the latest Edge by default. On Chrome it has to be enabled with chrome://flags, enable Forced colors . light dark mode is enabled on Chrome by default, on Edge it has to be enabled in the Edge settings.
When window.autoDetectHighContrast is enabled (default on), VS Code reacts to high contrast change in the OS. When detected, it uses the theme specified at workbench.preferredHighContrastColorTheme.
When window.autoDetectColorScheme is enabled (default off), VS Code reacts to dark/light mode change in the OS. When detected, it uses the theme specified at workbench.preferredLightColorTheme and workbench.preferredDarkColorTheme

Test that VSCode detects the color scheme & hc changes
Test that VSCode switches to the preferred theme
Test that the workbench.colorTheme setting is changes to the new theme, but only in the user settings
Test that changes to the autoDetect settings to the preferred theme settings are honored.
Test that when toggling the the autoDetect settings back to off,  the theme that was used before is set again. (Note: the last used theme is not remembered across restarts of VSCode)
Test that when starting VSCode, any color scheme OS changes that happend while VSCode was closed are detected
Test that changing the current theme to a non preferred theme is honored and is only changed back to the preferred theme when there is an actual color scheme OS change detected.

I saw some weird behaviour with restoring the previous configured theme. I was editing my settings (in the file) and removed all of them, including the "window.autoDetectColorScheme": true one. When I saved, my previous theme came back into the settings file. I wonder if we can be more clever and not do this if I change the settings file myself.

Ubuntu 20.04 supports light/dark mode. Electron detects the scheme on startup, but has a bug that the update event is not working: https://github.com/electron/electron/issues/23861#issuecomment-650540860
So in VS Code, "window.autoDetectColorScheme": true works on Linux, but only on startup.

authors: aeschli bpasero


text:
Vscode panel bug

VSCode Version: 1.49.2
OS Version: ubuntu 18.04

Steps to Reproduce:

When i open up vscode in the panel, PROBLEMS tab is missing
I tried uninstalling/purging vscode  (including it's config and extensions) nothing

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

I wasn't able to reproduce this error.
What are the exactly steps you took when you say "When i open up vscode in the panel"?

Try the command View: Reset View Locations from the command pallette
If does not work, try to start code on a different user data directory. You can do this from command line code --user-data-dir <directory_path>


text:
Adopt UriIdentityService in WorkspaceService

The WorkspaceService manages the workspace and the workspace folders.
These folders are read from the config file or added from user input. To do that correctly, so that all URI are canonical, the UriIdentityServiceshould be used when the folders URIs are parsed.
The following utilities need the UriIdentityService as parameter:

toWorkspaceFolders,
rewriteWorkspaceFileForNewLocation
getStoredWorkspaceFolder

-> WorkspaceService/ConfigurationService needs the UriIdentityService

@sandy081 QQ: I recently did a quick scan of where we still use the generic isEqual which does not take casing into account and was wondering if we now missed a few places, specificially:

configurationService#contains which is I think used when adding folders to the workspace
extHostWorkspace has a few direct uses of isEqual too which also seem to be used in the context of adding folders to the workspace

I did not look closely enough if a change was needed or not.

Thanks for the pointers. I think they are needed and adopted these places to use proper extUri.

authors: aeschli bpasero sandy081


text:
Frequently asked to select cell language twice

Often the first time I change the cell language, I get a second quick pick to change the language immediately afterwards.

@JacksonKearl do you have detailed steps or you are seeing all the time? I tried your omnikernel sample but didn't reproduce.

Hm... if you select the entry with Enter it seems to reproduce all the time. Maybe the enter is double dispatching to both select the item and trigger the picker?

@rebornix
I can see this everytime myself.
Click on language bottom left of cell & in the quick pick select something & hit Enter key.

What happens:

Click the language status item
Quick pick shows up
Enter to pick one language

keydown for enter, quick pick dismisses, focus goes back to the language status item
keyup for enter, which triggers the language picker to activate again

fix is listening to keydown other than keyup, which aligns with workbench status bar item. cc @roblourens

authors: DonJayamanne JacksonKearl rebornix


text:
Provide the link to download the compatible vsix when extension installation fails

I understand that these extensions are primarily supported for Insiders(?), but shouldn't they also be available to the stable branch users?
I am unable to install on VSCode 1.54.3 (latest stable) with the following error:
Unable to install extension 'ms-vscode-remote.remote-containers' as it is not compatible with VS Code '1.54.3'.

Getting Insiders isn't the problem, but I just like using the stable branch of VSCode so that bugs aren't accidentally rolled out to my IDE.

VSCode Version: 1.54.3
Local OS Version: Big Sur 11.2.3

Steps to Reproduce:

Try installing "SSH - Containers"

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: N/A

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!

authors: VSCodeTriageBot ghost


text:
vs code don't open erroe

Issue Type: Bug
when i start the vscode i need to wiat for sometimes because it will prompt me that unable to load vs code please reopen it or close it.
VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:35:57.887Z)
OS version: Windows_NT x64 10.0.19042

Can you show me a screenshot of that prompt?


text:
My PC Randomly crashing while using VSCode.

Issue Type: Bug
For a long time i have been using vscode but from 2-3 week i cannot use it as while working my pc randomly restart. For sometime i think it was my pc's fault then i recognize it happening only when i am working on vscode . I cannot last 3 4 minutes doing work . I have tried reinstalling ,deleting extension i don't know about, even deleting all data and starting a new sync but problem did not go. Please help me with this issue and it automatically restart on its own. I Have also tried deleting vscode cached files multiple times.
VS Code version: Code 1.58.2 (c3f126316369cd610563c75b1b1725e0679adfb3, 2021-07-14T22:10:15.214Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
Spec-
|CPUs|Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 x 3600)|
|Memory (System)|15.94GB

Recently i have also tried using vs code insider and it's same situation with it too. I used it for 3-4 minutes and suddenly my pc restart same as vscode

It was actually Tabnine extension which was causing issue. Now its fixed


text:
Integration tests: several new exceptions

Run scripts/test-integration.sh and see several new stacks:
[15399:0807/075712.251982:INFO:CONSOLE(241)] "[uncaught exception]: TypeError: Cannot read property 'takeOwnership' of undefined", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/bootstrap-window.js (241)
[15399:0807/075712.252044:INFO:CONSOLE(244)] "TypeError: Cannot read property 'takeOwnership' of undefined
    at InlineCompletionsModel.trigger (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.js:94:42)
    at InlineCompletionsModel.startSessionIfTriggered (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.js:87:18)
    at vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.js:55:22", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/bootstrap-window.js (244)
[15399:0807/075712.252068:INFO:CONSOLE(94)] "Uncaught TypeError: Cannot read property 'takeOwnership' of undefined", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.js (94)

and
Cannot read property 'getWordAtPosition' of null: TypeError: Cannot read property 'getWordAtPosition' of null
    at getDefaultRange (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.js:504:28)
    at provideInlineCompletions (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.js:513:37)
    at vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.js:278:36
    at createCancelablePromise (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/async.js:15:26)
    at InlineCompletionsSession.update (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.js:275:65)
    at RunOnceScheduler.runner (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.js:130:86)
    at RunOnceScheduler.doRun (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/async.js:616:22)
    at RunOnceScheduler.onTimeout (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/async.js:611:22)

and many of:
[15399:0807/075714.808236:INFO:CONSOLE(176)] "Error: Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!
    at DisposableStore.add (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:176:34)
    at vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/suggest/suggestController.js:84:33
    at IdleValue._executor (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/async.js:769:35)
    at IdleValue.get value [as value] (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/async.js:786:22)
    at SuggestController.stopForceRenderingAbove (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/suggest/suggestController.js:466:25)
    at vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/contrib/inlineCompletions/suggestWidgetAdapterModel.js:65:39
    at vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:130:17
    at Object.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/functional.js:18:25)
    at dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:99:27)
    at DisposableStore.clear (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:160:17)
    at DisposableStore.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:153:18)
    at SuggestWidgetAdapterModel.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:195:25)
    at dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:99:27)
    at DisposableStore.clear (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:160:17)
    at DisposableStore.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:153:18)
    at GhostTextModel.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:195:25)
    at dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:99:27)
    at DisposableStore.clear (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:160:17)
    at DisposableStore.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:153:18)
    at ActiveGhostTextController.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:195:25)
    at MutableDisposable.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:236:26)
    at dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:99:27)
    at DisposableStore.clear (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:160:17)
    at DisposableStore.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:153:18)
    at GhostTextController.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:195:25)
    at CodeEditorWidget.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/editor/browser/widget/codeEditorWidget.js:192:53)
    at dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:99:27)
    at DisposableStore.clear (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:160:17)
    at CodeCellRenderer.disposeTemplate (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js:800:38)
    at PipelineRenderer.disposeTemplate (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/browser/ui/list/listWidget.js:820:26)
    at ListView.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/browser/ui/list/listView.js:1029:38)
    at dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:99:27)
    at DisposableStore.clear (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:160:17)
    at DisposableStore.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/common/lifecycle.js:153:18)
    at NotebookCellList.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/base/browser/ui/list/listWidget.js:1368:30)
    at NotebookCellList.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/platform/list/browser/listService.js:213:19)
    at NotebookCellList.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/workbench/contrib/notebook/browser/view/notebookCellList.js:1057:19)
    at NotebookEditorWidget.dispose (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js:2101:24)
    at NotebookEditorWidgetService._disposeWidget (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/workbench/contrib/notebook/browser/notebookEditorServiceImpl.js:90:20)
    at vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode-electron-11.x/out/vs/workbench/contrib/notebook/browser/notebookEditorServiceImpl.js:45:30

Related to #130282. Caused by https://github.com/microsoft/vscode/pull/130037. Will investigate.

To clarify: these are not causing any tests to fail, it is just noisy output.

The log of a recent run of Electron Integration Tests does not contain inlineCompletions anymore.
I guess my fix was successful.

authors: bpasero hediet


text:
Visual studio code is not correctly using a graphic driver

Issue Type: Bug
I don't know why but everything is just like a broken window
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-5600U CPU @ 2.60GHz (4 x 2594)

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

Load (avg)
undefined

Memory (System)
15.87GB (7.61GB free)

Process Argv
C:\Users\hawar\Desktop\hawario --crash-reporter-id a4fc7e77-9439-4029-9b40-127323876a97

Screen Reader
no

VM
0%

Extensions (27)

Extension
Author (truncated)
Version

vscode-intelephense-client
bme
1.7.1

path-intellisense
chr
2.4.0

bracket-pair-colorizer
Coe
1.0.61

dart-code
Dar
3.26.0

flutter
Dar
3.26.0

vscode-eslint
dba
2.1.25

es7-react-js-snippets
dsz
3.1.1

vscode-html-css
ecm
1.10.2

prettier-vscode
esb
8.1.0

auto-rename-tag
for
0.1.8

code-runner
for
0.11.5

csharp
ms-
1.23.15

python
ms-
2021.9.1218897484

vscode-pylance
ms-
2021.9.1

jupyter
ms-
2021.8.2041215044

jupyter-keymap
ms-
1.0.0

remote-wsl
ms-
0.58.2

cmake-tools
ms-
1.8.1

cpptools
ms-
1.6.0

vscode-typescript-next
ms-
4.5.20210910

vetur
oct
0.34.1

material-icon-theme
PKi
4.10.0

LiveServer
rit
5.6.1

cmake
twx
0.0.17

vscodeintellicode
Vis
1.2.14

JavaScriptSnippets
xab
1.8.0

html-css-class-completion
Zig
1.20.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt678:30270856
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30358481
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlangct:30333562
binariesv615:30325510
vsccppwt:30364497
pythonvssor306:30344512
bridge0708:30335490
pygetstartedc2:30360494
bridge0723:30353136
pythonrunftest32cf:30365367
pythonf5test824cf:30361778
javagetstartedc:30364665
pythonvspyt187cf:30365362
pydsgsc2:30361791
vscus224cf:30358040
vssid140cf:30363604

/gifPlease


text:
Fold / Unfold for methods directly from the Outline

An example image can explain my feature request better than a thousand words:

Please add these cool little icons for folding / unfolding methods directly from the Outline (obviously also the method will be brought into the user's scrolling view). And also please provide a configuration that when enabled, unfolding each method in the outline, will fold all the others(no more than one method will be unfolded at the same time).
Thank you.

Also as a side-note (not directly related to this feature request), there are a few feature requests among the issues that have requested having the visibilities (public/private/etc.) on the symbols (and in the outline) as well (and ideally, to be able to filter only the public ones too), but they are all closed stating that they were duplicates, however, searching in the issues, I couldn't find the main issue that these were duplicates of. So I wanted to re-mention that request here too, to support it, and it is not terribly unrelated to my request too since both relate to the symbols and the outline.

Thanks for the idea, but we don't have plans to add such a feature.

authors: aderchox aeschli


text:
Can't open developer tools

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

VS Code Version: 1.62.2
OS Version: Windows 10 Enterprise LTSB

Steps to Reproduce:

Use a portable version of vscode (Download zip file of VSCode > Create "data" directory in vscode directory)
Attempt to open developer tools
nothing happens
Same goes for process explorer, but nothing shows in the window.

I can't open developer tools too. I am using Debian. I have installed VS code from the official .deb package. But I can open process explorer.

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

authors: deepak1556 flleeppyy kirillsafin


text:
Support commands in markdown preview

From: https://github.com/microsoft/vscode/issues/138389
Supporting isTrusted in markdown preview would be useful for test consumers. Additionally, it could be neat to have in release notes where it would let us have "try it now" links 🙂

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


text:
How to edit notebook output line height

How to edit notebook output line-height，as shown below.
I spent much time to find a way, but I failed.

Thanks bot, it doesn't need 20 upvotes, it's a valid feature request we should look into.

fixed as part of #123149

您好，我是范仁义，您的邮件我已经收到，我会尽快处理，谢谢。

authors: amunger fry404006308 rebornix


text:
Recover deleted files

Issue Type: Performance Issue
Good day! l lost my files trying to track by files with git, really frustrating right now. what should be done to recover files back?
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.15063
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz (4 x 2494)

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)
3.92GB (1.71GB free)

Process Argv
--crash-reporter-id 858467cb-44d1-4da7-9497-ab904ee8e1db

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	    92	  6040	code main
    0	    10	   848	   crashpad-handler
    0	   130	  1300	   window (USER-INFO - Visual Studio Code)
    1	   152	  1564	   gpu-process
    0	    69	  8212	   shared-process
    0	    32	  8944	     ptyHost
    0	     6	  8628	       winpty-process
    0	     9	 10392	         console-window-host (Windows internal process)
    0	    60	 10564	         C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    0	    32	 10648	     fileWatcher
    0	    20	  8376	   utility-network-service
    0	    93	 10344	   extensionHost
    0	    96	  8644	     "C:\Users\hp\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\hp\.vscode\extensions\zenclabs.reactpreview-0.7.1\dist\server\bundle.js --node-ipc --clientProcessId=10344
    0	    30	  9716	     "C:\Users\hp\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\hp\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\css-language-features\server\dist\node\cssServerMain" --node-ipc --clientProcessId=10344
    0	    26	 10748	     "C:\Users\hp\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\hp\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=10344
    1	    48	 10664	   issue-reporter

Workspace Info
|  Window (USER-INFO - Visual Studio Code)
|    Folder (USER-INFO): 0 files
|      File types:
|      Conf files:;

Extensions (24)

Extension
Author (truncated)
Version

zcy-emmet
alf
0.1.9

simple-react-snippets
bur
1.2.6

npm-intellisense
chr
1.4.1

path-intellisense
chr
2.8.0

jshint
dba
0.11.0

vscode-eslint
dba
2.2.2

node-snippets
dev
0.1.1

es7-react-js-snippets
dsz
4.4.3

vscode-npm-script
eg2
0.3.24

eventlistener-intellisense
fat
0.0.1

beautify
Hoo
1.5.0

node-module-intellisense
lei
1.5.0

vscode-JS-CSS-HTML-formatter
lon
0.2.3

nodejs-repl
los
0.5.15

vscode-docker
ms-
1.20.0

live-server-preview
neg
0.1.4

vscode-for-node-js-development-pack
nod
2.0.1

LiveServer
rit
5.7.4

vscodeintellicode
Vis
1.2.17

vscode-icons
vsc
11.10.0

cors-browser
Wsc
1.0.11

emmet-live
yse
1.0.0

reactpreview
zen
0.7.1

js-runner
Zol
3.2.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyl392:30425749
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30442554
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstartedc:30433508
vsclayoutctrc:30437038
vsrem710cf:30416617
dsvsc009:30440023
pythonvspyt640:30442238
vsbas813:30436447
vscscmwlcmc:30438804
helix:30440343

Maybe, seems like duplicate of #143195 #139991 (from titles)

@Mosespimor, could you please elaborate on the steps that resulted in you losing your files? Thank you!

authors: Mosespimor hello-smile6 lszomoru


text:
macOS accessibility: Releasing ctrl after opening ctrl+tab quick switch menu does not dismiss it, when using Keyboard Viewer or Synergy

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

VS Code Version: 1.65.1 (Universal)
OS Version: macOS 12.2.1 (21D62)

Steps to Reproduce:
My personal complaint here is when using VSCode through Synergy, but the same issue is present when using macOS's own built-in Keyboard Viewer, so this looks like an accessibility bug beyond an arbitrary side-effect of some third-party software.
Keyboard Viewer steps:

In VSCode for Mac, open multiple files
Open the Keyboard Viewer accessibility tool
Click the ctrl key
Click the tab key
See that the VSCode quick switch menu opens
See that the keyboard state no longer has the ctrl key held
See that the VSCode quick switch menu is still open <-- problem
(The menu can still be dismissed/accepted by clicking the ctrl key on and off again, or with the enter key)

Synergy steps:

Get a Mac and a Windows PC on the same network
Install VSCode and Synergy (1.14.3) on the Mac
Install Synergy (1.14.3) on the PC
Configure Synergy to send the PC mouse+keyboard input to the Mac
In VSCode on the Mac, open multiple files
Verifying behavior of non-Synergy UX:
Using a keyboard directly attached to the Mac...
...hold ctrl
...press tab
...see that the VSCode quick switch menu opens
...release ctrl
...see that the VSCode quick switch menu closes
Demonstrating buggy behavior of Synergy UX:
Using Synergy to send keyboard input from the PC to the Mac over the network...
...hold ctrl
...press tab
...see that the VSCode quick switch menu opens
...release ctrl
...see that the VSCode quick switch menu is still open! <-- problem
(The menu can still be dismissed/accepted with the enter key)

You can further verify that both Keyboard Viewer and Synergy seem to be maintaining the correct keyboard state by using KeyCastr on the Mac (with KeyCastr's "Svelte" visualizer selected). KeyCastr shows that the ctrl key is released, but VSCode still keeps the quick switch menu open.

This is interesting... have you experienced this behavior with other keybindings?
@alexdima is there a chance that how we handle keybindings could be causing this?

The quick pick is independently listening for a keyup event here outside of the keybinding dispatching, because the keybinding service dispatches on keydown. That code might have a problem, or the keyboard viewer might not be sending keyboard events in 100% the same way as the physical keyboard.

have you experienced this behavior with other keybindings?

No, I haven't. I wouldn't call my testing exhaustive here, by any means, but I have put a few dozen hours into this setup and it seems to work fine except for ctrl+tab.

I found this issue thread from Synergy's support team.
My issue is different but also related to keypress.
The GitLens extension for VS Code doesn't capture ⌥ opt + click combination and only detects the click without ⌥ opt.
I thought this is an issue in Synergy but KeyCastr is actually able to show both ⌥ opt and click.
So, the problem is probably in VS Code and/or GitLens extension.

@TylerLeonhardt Any thoughts on prioritizing this? Synergy may be a less-common way to use VSCode, but for the people who do use VSCode through Synergy, it's an all-day thing and it's hard to ignore the friction caused by an awkward ctrl-tab experience.

authors: TylerLeonhardt afriza alexdima kibiz0r


text:
Anaconda extension on Apple M1 silicon

The Anaconda extension from Microsoft is not available on Apple M1 silicon. I could not see it in the list of extensions on my MacBook M1. however it is available on my windows laptop.
can you provide if and when this extension will be available on VScode for M1 silicon?

Can you please provide the link of the extension in the Marketplace?

Thanks for asking.
On my windows laptop when searching for extensions it does not show up.
however I have it LOCAL-INSTALLED as "Anaconda Extension Pack v1.0.1"
On my windows laptop, the "Resources" heading does not exist for this
extension pack.
Seems like this is a combination of two extensions packed together?
Categories: Extension Packs
identifier: ms-python.anaconda-extension-pack
The Anaconda Extension Pack is a set of extensions that enhance the
experience of Anaconda customers using Visual Studio Code. It includes the
following set of Visual Studio Code extensions:

Microsoft Python Extension for Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=ms-python.python
YAML Support by Red Hat:
https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml

Best regards,
Fikret Calikoglu
On Wed, 13 Apr 2022 at 10:13, Sandeep Somavarapu @.***>
wrote:

Can you please provide the link of the extension in the Marketplace?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/147349#issuecomment-1097639821,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACSTDYWGDWYZV46RUDMBZ4TVEZXZHANCNFSM5TJU5J5Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

It seems this extension does not exist in the Marketplace. May be you might have side loaded it using VSIX?

you are right that it is no more in the marketplace. so I am closing the issue.
thanks for your support.


text:
Very prominent "Go to review" button

I often by accident click on the wrong button when adding a comment, imho this action is way too prominent there because it seems like the primary button to add the comment.
//cc @daviddossett also because both buttons have the same color

The Start Review button is a Go to Review button once you have already started a review. But since you verified the button colors this is still verified.


text:
keys functions

Issue Type: Performance Issue
i don't know why all the functions keys are not working on this app please help me and fixed it
VS Code version: Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:46:01.075Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-8130U CPU @ 2.20GHz (4 x 2208)

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

Load (avg)
undefined

Memory (System)
7.88GB (3.13GB free)

Process Argv
--crash-reporter-id dd656424-51d6-4bdc-8e5e-3f00c1278f8b

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    2	    94	 13476	code main
    0	    39	  6920	   utility-network-service
    0	   126	  8176	   gpu-process
    0	    26	 11016	   crashpad-handler
    0	   101	 13828	   shared-process
    0	    72	 11752	     ptyHost
    0	    76	 13120	     fileWatcher
    0	   202	 15040	   window (style.css - dashboard - Visual Studio Code)
    3	    89	 15224	   issue-reporter
    0	   406	 15264	   extensionHost
    0	    73	   744	     "C:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Zahra\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-2.0.0\node_modules\vscode-webhint\dist\src\server.js c:\Users\Zahra\AppData\Roaming\Code\User\globalStorage\ms-edgedevtools.vscode-edge-devtools "Microsoft Edge Tools" --node-ipc --clientProcessId=15264
    0	    77	  7520	     "C:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Zahra\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js --node-ipc --clientProcessId=15264
    0	   108	 10032	     "C:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Program Files\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=15264
    0	    89	 10052	     "C:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Program Files\Microsoft VS Code\resources\app\extensions\css-language-features\server\dist\node\cssServerMain" --node-ipc --clientProcessId=15264
    0	    74	 11432	     "C:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Zahra\.vscode\extensions\dbaeumer.vscode-eslint-2.2.3\server\out\eslintServer.js --node-ipc --clientProcessId=15264
    0	   102	 14076	     "C:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Zahra\.vscode\extensions\ms-python.vscode-pylance-2022.5.1\dist\server.bundle.js --cancellationReceive=file:6a6cb3b183712b0feddea1ab333ee83d90413809fd --node-ipc --clientProcessId=15264

Workspace Info
|  Window (style.css - dashboard - Visual Studio Code)
|    Folder (dashboard): 12 files
|      File types: jpg(9) JPG(1) html(1) css(1)
|      Conf files:;

Extensions (52)

Extension
Author (truncated)
Version

delphi-keybindings
ale
9.5.0

vscode-eclipse-keybindings
alp
0.16.1

vscode-database
baj
2.2.3

c28n-vs
C28
0.0.46

poor-code-runner
cek
0.2.2

python-live-coding
Cod
1.1.6

html-progressbar
con
0.0.1

canvas
cub
1.4.1

canvas-best-practice
cub
1.1.0

vscode-eslint
dba
2.2.3

gitlens
eam
12.0.7

themeswitch
Foo
1.0.5

code-runner
for
0.11.8

p5canvas
gar
1.7.0

vscode-test-explorer
hbe
2.21.1

live-html-previewer
hdg
0.3.0

Python-autopep8
him
1.0.2

vscode-emacs
hir
0.1.1

hq-live-server
hqj
0.0.11

python-coding-conventions
igr
0.0.4

wrap-your-code
jin
1.1.2

vscode-pegjs-live
joe
0.0.2

intellij-idea-keybindings
k--
1.5.1

kite
kit
0.147.0

vs-live-share-mdns
lhe
0.0.11

vscode-python-test-adapter
lit
0.7.1

vsls-pomodoro
los
0.1.0

fluent-icons
mig
0.0.17

vscode-edge-devtools
ms-
2.0.0

vscode-postgresql
ms-
0.3.0

python
ms-
2022.4.1

vscode-pylance
ms-
2022.5.1

jupyter
ms-
2022.3.1000901801

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.8

remote-wsl
ms-
0.66.3

atom-keybindings
ms-
3.0.9

sublime-keybindings
ms-
4.0.10

test-adapter-converter
ms-
0.1.6

vs-keybindings
ms-
0.2.1

vsliveshare
ms-
1.0.5615

debugger-for-chrome
msj
4.13.0

sqltools
mtx
0.23.0

python-coding-tools
nil
1.0.3

LiveServer
rit
5.7.5

code-spell-checker
str
2.2.3

code-spell-checker-estonian
str
0.1.5

python
tht
0.2.3

pdf
tom
1.2.0

python-extended-snippets
tus
0.0.1

vim
vsc
1.22.2

code-translate
Yeo
0.0.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vsclangdf:30486550

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

can you please provide more information on this issue about what the exact steps are and the expected behavior? additionally, have you tried disabling all extensions with the command Reload with Extensions Disabled

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

authors: Abdulmuzillu VSCodeTriageBot sbatten


text:
git should throw FileNotFound or similar FS-error when failing to read a file

There is this which makes non-existent files appear as the empty string. This causes headaches for the 3wm-editor because we cannot differentiate between the case of empty and missing/deleted/merged files
This can be reproduce by typing git merge --abort while the merge editor is open

It's actually going to break other things in the diff editor and quick diff feature. Needs real testing to investigating if there are other ways to accomplish what the empty string is currently accomplishing across the workbench features.

There have been some issues related to quick diff that I addressed by pushing a fix for this issue -  https://github.com/microsoft/vscode/pull/236676. I have validated that the quick diffs are working as expected following the change. I will do more testing around the diff editor for the working tree and the index focusing on new/deleted/ignored files as these were the files that used to be returned as an empty file. I would like to ask you to keep an eye out as well as let me know if you see any issues. Thanks!

authors: joaomoreno jrieken lszomoru


text:
The service dies unexpectedly

Type: Bug
I have a project with multiple subprojects, each have their own tsconfig.json files. As the project has grown, the performance of VSCode has degraded. It can no longer finish initialization, and since I've configured "format on save" I cannot even save the file anymore because the process dies while formatting the file.
VS Code version: Code 1.70.2 (Universal) (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:36:37.829Z)
OS version: Darwin arm64 21.6.0
Modes:

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 4, 3

Memory (System)
16.00GB (2.10GB free)

Process Argv
. --crash-reporter-id 9e1c7fdf-d5ab-4a3e-856f-965d5f90efbe

Screen Reader
no

VM
0%

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

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

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

authors: VSCodeTriageBot mjbvz volkanunsal


text:
Cannot Type In Terminal

I am unable to type in the terminal on VS code. Because I can't type I can no longer run or submit projects.
Version: 1.73.1
Commit: 6261075646f055b99068d3688932416f2346dd3b
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15
Embedder: codespaces

disable terminal.integrated.gpuAccleration as it's not supported on certain versions of safari
/duplicate #165416


text:
"Add Folder to Workspace" does not show in "context menu" as mentioned in docs

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

VS Code Version: 1.73.1
OS Version: Ubuntu 22.04.1 LTS

Steps to Reproduce:

Open a folder with vscode which has subfolders
Click in the subfolder and look for the "Add Folder to Workspace" as mentioned in docs: https://code.visualstudio.com/docs/editor/multi-root-workspaces
Option is not there

Basically the problem is that the "Add Folder to Workspace" does not show up when you right click a folder inside the Explorer. Docs mention that should happen.

I think you have to use the File menu entry the first time, because the context menu entry only appears on a root folder, and when the workspace only has one root folder it doesn't appear in the tree.

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

authors: VSCodeTriageBot gjsjohnmurray italomaia


text:
cursors is wider than it should be

Type: Performance Issue
cursors is wider than it should be
VS Code version: Code 1.74.2 (Universal) (e8a3071ea4344d9d48ef8a4df2c097372b0c5161, 2022-12-20T10:26:09.430Z)
OS version: Darwin x64 21.6.0
Modes:
Sandboxed: No

System Info

Item
Value

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

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

Load (avg)
4, 4, 4

Memory (System)
8.00GB (0.03GB free)

Process Argv
--crash-reporter-id 8c09b41c-76d6-479f-a991-b1c45edbfc01

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   18	   123	 87425	code main
    0	    41	 87430	   gpu-process
    0	    16	 87431	   utility-network-service
    0	   205	 87433	   window (demoMoo.js — nodeSeever)
    0	   115	 87439	   shared-process
    0	    33	 87441	     ptyHost
    0	     0	 87447	       /bin/zsh -il
    0	    25	 87445	     fileWatcher
    0	     0	 90026	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    9	   180	 87440	   extensionHost
    0	    33	 87470	     /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node --max-old-space-size=3072 /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /var/folders/j3/27r1pyzd2pjdqztzbk31xtj00000gn/T/vscode-typescript501/ab716022ebaddbf3cdd6/tscancellation-f2ac4310b59b57ee0cfd.tmp* --globalPlugins typescript-lit-html-plugin,typescript-tslint-plugin,@vsintellicode/typescript-intellicode-plugin,ms-vsintellicode-typescript --pluginProbeLocations /Users/allengregorystewart/.vscode/extensions/bierner.lit-html-1.11.1,/Users/allengregorystewart/.vscode/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.3.4,/Users/allengregorystewart/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.29,/Users/allengregorystewart/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.29 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
    0	    41	 87471	     /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node --max-old-space-size=3072 /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /var/folders/j3/27r1pyzd2pjdqztzbk31xtj00000gn/T/vscode-typescript501/ab716022ebaddbf3cdd6/tscancellation-1fe2e3b783019d82b581.tmp* --globalPlugins typescript-lit-html-plugin,typescript-tslint-plugin,@vsintellicode/typescript-intellicode-plugin,ms-vsintellicode-typescript --pluginProbeLocations /Users/allengregorystewart/.vscode/extensions/bierner.lit-html-1.11.1,/Users/allengregorystewart/.vscode/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.3.4,/Users/allengregorystewart/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.29,/Users/allengregorystewart/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.29 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
    0	    33	 87487	       /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/allengregorystewart/Library/Caches/typescript/4.9 --enableTelemetry --typesMapLocation /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
    0	    41	 87474	     /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/allengregorystewart/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.1/node_modules/vscode-webhint/dist/src/server.js /Users/allengregorystewart/Library/Application Support/Code/User/globalStorage/ms-edgedevtools.vscode-edge-devtools Microsoft Edge Tools --node-ipc --clientProcessId=87440
    0	    25	 87475	     /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/allengregorystewart/.vscode/extensions/sburg.vscode-javascript-booster-14.0.1/dist/server/server.js --node-ipc --clientProcessId=87440
    0	    25	 87476	     /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/allengregorystewart/.vscode/extensions/formulahendry.auto-rename-tag-0.1.10/packages/server/dist/serverMain.js --node-ipc --clientProcessId=87440
    0	   115	 87481	     /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/allengregorystewart/.vscode/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.6/dist/server/server.js --node-ipc --clientProcessId=87440
    0	    25	 87509	     /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/allengregorystewart/.vscode/extensions/dbaeumer.vscode-eslint-2.2.6/server/out/eslintServer.js --node-ipc --clientProcessId=87440
    0	    82	 87519	     /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/allengregorystewart/.vscode/extensions/streetsidesoftware.code-spell-checker-2.12.0/packages/_server/dist/main.js --node-ipc --clientProcessId=87440
    0	    33	 87548	     /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/allengregorystewart/Dropbox/My Mac (AllenM-bM^@M^Ys iMac)/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=87440
    0	    74	 89929	   issue-reporter

Workspace Info
|  Window (demoMoo.js — nodeSeever)
|    Folder (nodeSeever): 25 files
|      File types: js(17) html(3) txt(2) json(1)
|      Conf files:;

Extensions (141)

Extension
Author (truncated)
Version

rainbow-brackets
2gu
0.0.6

better-comments
aar
3.0.2

es7-javascript-class-snippets
abr
0.4.0

node-essentials
afr
1.1.0

react-hooks-snippets
AlD
1.2.0

project-manager
ale
12.7.0

pug
ama
1.0.1

jest-snippets
and
1.9.1

react-pure-to-class-vscode
ang
1.1.8

vscode-apollo
apo
1.19.11

ejs-snippets-and-color-highlighting
Ayu
0.0.5

frontend-pack-js
bca
0.0.5

vscode-icontheme-nomo-dark
be5
1.3.6

lit-html
bie
1.11.1

vscode-tailwindcss
bra
0.9.1

simple-react-snippets
bur
1.2.7

vscode-exports-autocomplete
cap
0.5.4

quokka
Cen
1.4.0

node-snippets
chr
1.3.3

npm-intellisense
chr
1.4.4

vscode-css-modules
cli
0.4.2

gitignore
cod
0.9.0

inline-html
col
0.3.0

vscode-markdownlint
Dav
0.48.1

vscode-eslint
dba
2.2.6

githistory
don
0.6.19

es7-react-js-snippets
dsz
4.4.3

vscode-babel-coloring
dza
0.0.4

gitlens
eam
13.2.0

vscode-html-css
ecm
1.13.1

EditorConfig
Edi
0.16.4

vscode-npm-script
eg2
0.3.29

vsc-material-theme
Equ
33.6.0

vsc-material-theme-icons
equ
2.5.0

prettier-vscode
esb
9.10.3

git-project-manager
fel
1.8.2

vscode-firefox-debug
fir
2.9.8

vscode-jest-runner
fir
0.4.59

flow-for-vscode
flo
2.2.0

auto-close-tag
for
0.5.14

auto-complete-tag
for
0.1.0

auto-rename-tag
for
0.1.10

code-runner
for
0.11.8

docker-explorer
for
0.1.7

duplicate
gee
1.0.2

vscode-pull-request-github
Git
0.56.0

css2react
got
1.0.1

vscode-graphql
Gra
0.8.4

vscode-graphql-execution
Gra
0.1.6

vscode-graphql-syntax
Gra
1.0.5

todo-tree
Gru
0.0.220

npm-dependency-links
her
1.2.0

headwind
hey
1.7.0

vscode-npm-dependency
how
1.2.2

elixir-ls
Jak
0.12.0

search-node-modules
jas
1.3.0

react-vscode-extension-pack
jaw
1.0.0

better-dockerfile-syntax
jef
1.0.2

svg
joc
1.4.26

react-native-snippet
jun
0.5.6

nims
Jun
0.1.2

rn-full-pack
kel
1.1.0

node-module-intellisense
lei
1.5.0

vscode-styled-components-snippets
lXS
1.0.2

json-to-ts
Mar
1.7.5

yarn-lock-syntax
mar
0.2.0

Kotlin
mat
1.7.1

vscode-language-babel
mgm
0.0.36

git-graph
mhu
1.30.0

dotenv
mik
1.0.1

vscode-azureresourcegroups
ms-
0.5.6

vscode-cosmosdb
ms-
0.19.2

vscode-docker
ms-
1.23.3

vscode-edge-devtools
ms-
2.1.1

vscode-kubernetes-tools
ms-
1.3.11

isort
ms-
2022.8.0

python
ms-
2022.20.1

vscode-pylance
ms-
2022.12.20

jupyter
ms-
2022.11.1003412109

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.12

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

remote-wsl
ms-
0.72.0

atom-keybindings
ms-
3.2.0

azure-account
ms-
0.11.2

vscode-typescript-tslint-plugin
ms-
1.3.4

vsliveshare
ms-
1.0.5788

vscode-react-native
msj
1.10.0

color-highlight
nau
2.5.0

vscode-jest
Ort
5.1.0

vscode-react-native-storybooks
Ort
2.7.1

docker-compose
p1c
0.3.5

convert-css-in-js
pau
1.1.3

vscode-versionlens
pfl
1.0.10

material-icon-theme
PKi
4.23.0

vscode-react-refactor
pla
1.1.3

tsimporter
pmn
2.0.1

polacode
pnp
0.3.4

nextjs-snippets
Pul
0.0.5

quicktype
qui
12.0.46

typescript-hero
rbb
3.0.0

fabric8-analytics
red
0.3.6

vscode-yaml
red
1.10.1

vscode-sort-json
ric
1.20.0

live-sass
rit
3.0.0

LiveServer
rit
5.7.9

mongo-snippets-for-node-js
roe
1.3.12

vscode-sass-format
sas
1.1.7

vscode-javascript-booster
sbu
14.0.1

git-merger
sha
0.4.1

code-settings-sync
Sha
3.4.3

markdown-preview-enhanced
shd
0.6.5

git-autoconfig
shy
0.0.2

vsc-quokka-statusbar
ske
1.3.6

vscode-fileutils
sle
3.5.0

snipsnap-vscode
sni
1.1.1

autoimport
ste
1.5.4

code-spell-checker
str
2.12.0

move-ts
str
1.12.0

node-pack
Swe
0.1.16

sass-indented
syl
1.8.23

ejs-snippets
Tao
0.1.0

payloadcms-snippets
Tec
0.0.7

techiecouch-reactjs-react-native
Tec
0.0.9

alphabetical-sorter
ue
2.0.1

highlight-matching-tag
vin
0.10.1

intellicode-api-usage-examples
Vis
0.2.6

vscodeintellicode
Vis
1.2.29

vim
vsc
1.24.3

gitblame
wad
10.1.0

vscode-todo-highlight
way
1.0.5

vscode-import-cost
wix
3.3.0

change-case
wma
1.0.0

es7-react-js-snippets
woo
2.4.0

JavaScriptSnippets
xab
1.8.0

ReactSnippets
xab
2.4.0

php-debug
xde
1.29.1

shell-command-status
yer
0.0.1

markdown-all-in-one
yzh
3.5.0

vscode-open-in-github
ziy
1.3.6

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1:30587005
2e4cg342:30602488
gswce1:30612156
iaj6b796:30613358
f6dab269:30613381
fim-prod:30623723
vscsbc:30628655

Does this reproduce when disabling all extensions? Press F1 and then choose Developer: Reload Window with Extensions Disabled

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

authors: VSCodeTriageBot agstew alexdima


text:
Functions are showing in output when I run code

Type: Bug
Hello,
Node was installed and now I can run code for certain lines of code but for functions everytime I run code, the fucntion won't create an output in the Output tab or in Terminal
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:33:31.852Z)
OS version: Windows_NT ia32 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz (4 x 3392)

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

Load (avg)
undefined

Memory (System)
7.94GB (3.44GB free)

Process Argv
--crash-reporter-id 64ae5a58-ab49-4d7e-8430-7b97dc11a2ce

Screen Reader
no

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

es7-javascript-class-snippets
abr
0.4.0

vscode-node-readme
ben
3.0.2

java-run
cao
1.1.4

vscode-npm-source
dku
1.0.0

javadebugger
don
0.1.5

auto-node
dud
0.0.7

EditorConfig
Edi
0.16.4

code-runner
for
0.12.0

search-node-modules
jas
1.3.0

vsc-python-indent
Kev
1.18.0

python-path
mge
0.0.14

vscode-exec-node
mir
0.5.5

js-debug-nightly
ms-
2023.2.317

node-modules-resolve
nau
1.0.2

indent-rainbow
ode
8.3.1

vs-code-node-require
tgr
1.10.2

python-extended-snippets
tus
0.0.1

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

This is an issue with your code, you are not calling that function

authors: roblourens tonywatson-github


text:
[Accessibility]: Set Selection Anchor and Select from Anchor to Cursor does not work in a11y terminal buffer

CC @meganrogge
The following does not work in a11y terminal buffer. Would you please support them?

Set Selection Anchor (Ctrl+K, Ctrl+B)

Select from Anchor to Cursor (Ctrl+K, Ctrl+K)

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

authors: VSCodeTriageBot jooyoungseo


text:
Recommendation to search from Marketplace is not shown

I opened VS Code with a brand new profile (--profile-temp --user-data-dir /foo/tmp) and opened .arb file. I was expected to see a notification "Marketplace has extensions that can help with '.arb' files" but nothing appeared.
I put a breakpoint inside promptRecommendations() in fileBasedRecommendations.ts and noticed that when this.recommendationsByPattern.get('.arb') is called, the set of extensions returned does not match those you get when yous earch "ext:arb" in the marketplace search. It returns a number of unrelated extensions, which are then discarded for not being ARB extensions, so ultimately no prompt is shown.

For example, in the list fetched in code is the Go extension, the CSharp extension, the Python extension, the PowerShell extension. But when I search the marketplace I get:

As a result, promptRecommendations never calls promptFromRecommendations, so promptRecommendedExtensionForFileType is also never called, which is where the file-type prompt is usually handled.
(@sandy081 FYI - I notice you made some changes in this area in #177181, so perhaps you have some context about how this works and whether this is a bug, or the behaviour is not exactly as I expect?).

Thanks! :)

We decided to remove the recommendation on file type extension feature. More details here https://github.com/microsoft/vscode/issues/188467
Thank you!

authors: DanTup isidorn


text:
Late start

Type: Bug
Start lately
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i5-1240P (16 x 2112)

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

Load (avg)
undefined

Memory (System)
15.69GB (5.91GB free)

Process Argv
D:\React Tutorial\redux --crash-reporter-id 7e8442cc-ec47-4f1a-b161-247a3e80f2c4

Screen Reader
yes

VM
0%

Extensions (50)

Extension
Author (truncated)
Version

vscode-django
bat
1.10.0

simple-react-snippets
bur
1.2.7

java-run
cao
1.1.4

javadebugger
don
0.1.5

python-environment-manager
don
1.0.4

python-extension-pack
don
1.7.0

java-debug
DSn
0.0.2

es7-react-js-snippets
dsz
4.4.3

gitlens
eam
13.6.0

prettier-vscode
esb
9.12.0

code-runner
for
0.12.0

vscode-javac
geo
0.2.45

vscode-pigments
jas
2.0.0

vsc-python-indent
Kev
1.18.0

json
Mee
0.1.2

prettify-json
moh
0.0.3

mongodb-vscode
mon
0.11.1

isort
ms-
2022.8.0

python
ms-
2023.8.0

vscode-pylance
ms-
2023.5.20

jupyter
ms-
2023.4.1011241018

jupyter-keymap
ms-
1.1.0

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-powertoys
ms-
0.0.8

vscode-jupyter-slideshow
ms-
0.1.5

cmake-tools
ms-
1.14.31

cpptools
ms-
1.15.4

cpptools-extension-pack
ms-
1.3.0

autodocstring
njp
0.6.1

developer-theme-dark
Raj
5.0.0

vscode-rapidapi-client
Rap
1.10.2

vscode-services
rap
1.0.2

java
red
1.18.0

LiveServer
rit
5.7.9

java-generate-setters-getters
soh
8.0.0

python-extended-snippets
tus
0.0.1

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.50.0

vscode-java-dependency
vsc
0.22.0

vscode-java-pack
vsc
0.25.11

vscode-java-test
vsc
0.38.2

vscode-maven
vsc
0.41.0

vscode-spring-initializr
vsc
0.11.2

vscode-icons
vsc
12.4.0

jinja
who
0.0.8

vscode-java-saber
You
0.1.2

json
Zai
2.0.2

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
a9j8j154:30646983
showlangstatbar:30737416
azdwalk:30721579
pythonms35:30701012
7ij38806:30736111
pythonfmttext:30731395
fixshowwlkth:30730052
pythongtdpathcf:30739705

Are you using Mcafee antivirus? If so please see https://github.com/microsoft/vscode/issues/178962

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

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

authors: VSCodeTriageBot gjsjohnmurray ujjawal92


text:
TS Server fatal error:  Opening project directory via SMB share causes errors.

Type: Bug
TypeScript Version: 5.0.4
Steps to reproduce crash

Start Project on Linux Server (Linux hera 5.15.0-71-generic #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux)
Create SMB share for project directory.
On Windows 11 open VSCode with Typescript and JavaScript Language Features Extension v1.0.0
Open project directory on Network Share in VSCode.

TS Server Error Stack
Server: syntax
Error: Debug Failure. False expression: //hera/jessegreathouse/hpe-fe-take-home/node_modules/@types/react/ts5.0/index.d.ts linked to nonexistent file //HERA/jessegreathouse/hpe-fe-take-home/node_modules/@types/react/ts5.0/index.d.ts
    at realPath (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:42011:9)
    at getOriginalAndResolvedFileName (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:40972:28)
    at createResolvedModuleWithFailedLookupLocationsHandlingSymlink (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:40797:48)
    at nodeModuleNameResolverWorker (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:41943:10)
    at nodeModuleNameResolver (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:41878:10)
    at resolveModuleName (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:41628:18)
    at resolveModuleName2 (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:122831:27)
    at Object.resolve (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:122858:47)
    at resolveNamesWithLocalCache (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:122896:29)
    at Object.resolveModuleNameLiterals (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:122981:12)
    at InferredProject2.resolveModuleNameLiterals (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:171594:33)
    at resolveModuleNamesWorker (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:118147:20)
    at resolveModuleNamesReusingOldState (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:118243:14)
    at processImportedModules (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:119779:27)
    at findSourceFileWorker (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:119541:7)
    at findSourceFile (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:119406:20)
    at c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:119355:22
    at getSourceFileFromReferenceWorker (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:119324:26)
    at processSourceFile (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:119353:5)
    at processRootFile (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:119149:5)
    at c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:117934:41
    at forEach (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:2308:22)
    at createProgram (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:117934:5)
    at synchronizeHostData (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:135422:15)
    at Object.getProgram (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:135494:5)
    at InferredProject2.updateGraphWorker (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:172176:41)
    at InferredProject2.updateGraph (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:172113:32)
    at _ProjectService.assignOrphanScriptInfoToInferredProject (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:174423:13)
    at _ProjectService.assignProjectToOpenedScriptInfo (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:176043:12)
    at c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:176273:64
    at flatMap (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:2556:17)
    at _ProjectService.applyChangesInOpenFiles (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:176273:24)
    at updateOpen (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:177418:29)
    at c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:179985:69
    at IpcIOSession.executeWithRequestId (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:179977:14)
    at IpcIOSession.executeCommand (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:179985:29)
    at IpcIOSession.onMessage (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:180027:51)
    at process.<anonymous> (c:\Users\jessegreathouse\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:181594:14)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:958:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:84:21)

VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

System Info

Item
Value

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

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

Load (avg)
undefined

Memory (System)
63.92GB (48.49GB free)

Process Argv
--crash-reporter-id 2be97805-c845-439f-b390-9c2dda35433a

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

vscode-systemd-support
han
1.0.1

vscode-docker
ms-
1.25.1

csharp
ms-
1.25.7

remote-wsl
ms-
0.78.5

propertylist
zho
0.0.2

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
2i9eh265:30646982
showlangstatbar:30737416
azdwalk:30721579
pythonms35:30701012
pythonfmttext:30731395
fixhidewlkth:30730051
pythongtdpath:30739704

On the surface, it seems that this might be an issue around UNC Paths
The above article talks about only allowing UNC paths (network paths that start with \\), but I see in the error log it is referencing paths with with the forward slash style //.
I'm not sure if this is the actual cause, but I guess its just the first thing that came to mind.


text:
Extension Marketplace error message is not user friendly when offline.

Originally posted by @bhavyaus in https://github.com/microsoft/vscode/issues/184082#issuecomment-1574102424

We do detect if the error is an offline error and I am seeing following during then

We do detect if the error is an offline error and I am seeing following during then

Typing in a search text in that input field throws the XHR error.

I am seeing the same error also when typing

Got it. If I start VS Code when already offline, I see the error that you are seeing. If I go offline AFTER VS Code has started and then try to use the marketplace, I see the XHR failed error.

Strange. I see offline message either way. Can you please enable log level to trace and see what network log says?

I'm seeing the same error in the logs as well

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

authors: VSCodeTriageBot bhavyaus sandy081


text:
Window: single logic core full usage & memory usage grow uniformly

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

VS Code Version: 1.79.2 & 1.80.0-insider
OS Version: Windows 11   22631.1835

Steps to Reproduce:

Juse open vscode.

Hello. When opening the vscode, I see that my single logic core shows full usage in task manager. It's so strange so I use "Process Hacker" to see what happened. Well, "threads" shows Code - Insiders.exe!cppgc::internal::WriteBarrier::DijkstraMarkingBarrierRangeSlow+0x6a69f0 occupys CPU so much and memory usage grows uniformly. In vscode's task manager, it shows the thread is window [1] ... and window [2] ... ( task manager window).
I think it is a bug in vscode 1.79.2. Additionally I install an insider version and find the same bug, so I am sure it is not due to my extensions.

The thread Stack shows:

It changes in real time and the last stationary one is Code.exe!v8::Platform::SystemClockTimeMillis+0x102455 .

OS is updated to Windows 11 22631.1900 (beta channel) and the problem still exists. Well, it occurs randomly. Yesterday it didn't happened but today it appeared again. I guess it is a bug of OS.
Same with issue https://github.com/microsoft/vscode/issues/185462.

Does this issue repro with latest stable 1.84 ? If it does, can you provide the command line of the process with high cpu usage.

Seem that I forget to report it. On Windows 11 22635.2700, it have not happened with VSCode 1.84.2. Although I do not know the specific reason, I believe this problem has been solved. Thank you for your patience!


text:
git diff on untracked new file shows erroneous removal of non-existant first line

Type: Bug

create a file with some contents in an existing git working dir
go to git tab, select file

the diff viewer shows that line #1 is being replaced. this is wrong: there is no prior version containing line #1.

also repos on github.dev 1.18.2
VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 4.4.0-19041-Microsoft
Connection to 'wsl+centos7' could not be established

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)

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

Load (avg)
undefined

Memory (System)
47.85GB (16.33GB free)

Process Argv
C:\Users\PiersH\AppData\Roaming\com.bostrot\WSL Distro Manager\wslmanager_01.log

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-22.04

OS
Linux x64 4.4.0-19041-Microsoft

CPUs
Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2901)

Memory (System)
47.85GB (16.31GB free)

VM
0%

Connection to 'wsl+centos7' could not be established
Extensions (12)

Extension
Author (truncated)
Version

autoconf
mae
0.2.0

remote-containers
ms-
0.309.0

remote-ssh
ms-
0.106.4

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.4

vscode-remote-extensionpack
ms-
0.24.0

remote-explorer
ms-
0.4.1

remote-server
ms-
1.4.3

gitlens
eam
14.3.0

cpptools
ms-
1.17.5

cpptools-extension-pack
ms-
1.3.0

markdown-all-in-one
yzh
3.5.1

(2 theme extensions excluded)

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

not sure how the repro instructions are unclear.
in this video I:

create a new file "NEW_FILE"
put some contents in it
go to the git tab, and select the file

you can clearly see that the diffs show the removal of line #1 (the first line in red), included in my screenshot above.
this is a regression. previous versions of vscode did not do this.

is that enough info?

@hediet, could you please take a look at this? Thanks!

This works as designed, the problem is just that we treat non-existing files as empty files.
For empty files, the behavior makes sense.
Thus, this is a feature request about showing file creations/deletions in a different way.

authors: Spongman VSCodeTriageBot hediet lszomoru


text:
Typescript is not working

Type: Bug
Just start any project go to typescript file and typescript won't work
2023-11-16 08:54:51.669 [info] Starting TS Server undefined
2023-11-16 08:54:51.669 [info] Using tsserver from: d:\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js undefined
2023-11-16 08:54:51.669 [info]  Forking...
2023-11-16 08:54:51.669 [info]  Starting...
2023-11-16 08:54:51.669 [info]  Forking...
2023-11-16 08:54:51.669 [info]  Starting...
I tried to reinstall vscode with clean install (removing %APPDATA%\Code and %USERPROFILE%.vscode) and also tried to install vscode insider. Tried to install old vs code version 1.83.1 and even 1.79.2. Tried to uninstall and install typescript on my pc. And also tried installing JavaScript and TypeScript Nightly extension. Nothing helps
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i5-12500H (16 x 3110)

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

Load (avg)
undefined

Memory (System)
31.71GB (16.98GB free)

Process Argv
--crash-reporter-id 63068e24-c310-4645-bfb4-0b620df73fb7

Screen Reader
no

VM
0%

Extensions (23)

Extension
Author (truncated)
Version

path-intellisense
chr
2.8.5

vscode-eslint
dba
2.4.2

githistory
don
0.6.20

gitlens
eam
14.5.0

vscode-html-css
ecm
1.13.1

prettier-vscode
esb
10.1.0

auto-rename-tag
for
0.1.10

json-to-ts
Mar
1.7.5

vscode-language-babel
mgm
0.0.40

dotenv
mik
1.0.1

color-highlight
nau
2.5.0

gremlins
nho
0.26.0

indent-rainbow
ode
8.3.1

material-icon-theme
PKi
4.31.0

quicktype
qui
12.0.46

autoimport
ste
1.5.4

code-spell-checker
str
3.0.1

code-spell-checker-polish
str
2.1.1

iconfont-preview
stx
0.0.5

vscodeintellicode
Vis
1.2.30

gitblame
wad
10.5.1

pretty-ts-errors
yoa
0.5.2

html-css-class-completion
Zig
1.20.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30880072
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
f6dab269:30613381
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixtcf:30871695
pythonregdiag2cf:30871583
pyreplss2:30886141
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016cf:30886111
dsvsc017:30886112
dsvsc018:30886114
aa_t_chat:30882232

Just start any project go to typescript file and typescript won't work

What specifically doesn't work?

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

authors: VSCodeTriageBot mjbvz patryksliwinski