All Questions
Tagged with vscode or visual-studio-code
61,026 questions
-6
votes
0
answers
39
views
VS Code and terminal disfunctioning [closed]
Anything I run, the result is (zsh: abort )
-1
votes
0
answers
31
views
How can a VS Code extension expose per-instance MCP tools to non-Copilot agents?
I’m developing a VS Code extension, Weld Merge, and I'd like to expose features to agents running in the IDE - claude/codex/antigravity/cursor. A little merge conflict context helper and an ...
0
votes
1
answer
56
views
VS Code text randomly highlighted in grey, green, red, and other colors while editing code
I've been dealing with this issue for a while and can't figure out what feature is causing it or how to disable it.
While editing code in VS Code, portions of text are highlighted with different ...
0
votes
0
answers
55
views
VS Code terminal cannot see project files but external PowerShell can - same path [duplicate]
VS Code integrated terminal runs in the correct project path but dir only shows 3 files. External PowerShell in the exact same path shows all 20+ project files correctly.
What I tried:
Verified both ...
Best practices
1
vote
2
replies
133
views
How can I connect Gemini to my flutter application?
How can I connect Gemini to an app made with vscode flutter that is moderately acceptable? I tried it with the use of the API key but I get the error that that API is not accepted?
-1
votes
0
answers
75
views
VSCode + Unity 6 integration : no suggestions when typing
I followed this official tutorial to make Unity 6 and Visual Studio Code work together. I'm supposed to have everything working, with highlights, suggestions, and even code snippets.
Currently, all I ...
-1
votes
0
answers
46
views
Cannot auto-format into multiline on long list (array or object)
My typescript code when onSave keep into long list like below
export type { IRegister, ILogin, IActivation, UserExtended, SessionExtended, JWTExtended }
but I was expecting onSave to be multi-line ...
0
votes
0
answers
42
views
Solidity by Nomic Foundation extension only shows errors when typing manually, but fails/freezes on large copy-paste in VS Code (Foundry)
I am using the Solidity by Nomic Foundation extension in VS Code for a Foundry project on macOS.
I am facing a weird behavior where the inline error highlights (red squiggly lines) work perfectly fine ...
2
votes
1
answer
157
views
+50
How to copy only path of a folder, without file name, in VS Code?
I'm using this code to copy path of a file:
{"key": "ctrl+shift+alt+f11","command": "copyFilePath","when": "!editorFocus"},
{"key":...
0
votes
1
answer
214
views
+50
Keyboard shortcut to save file unless editor is untitled in VS Code
I would like to have keyboard shortcut that will save changes for the active editor only for files that already exist. It will do nothing on "Untitled" tabs.
I tried this code:
{"key&...
1
vote
0
answers
71
views
GDB hook-stop not triggered when next/step is interrupted by a software breakpoint (__BKPT)
I experiencing a specific behavior in GDB where the standard hook-stop is completely bypassed if a next (Step Over (F10)) or step (Step Into (F11)) command is interrupted by a software breakpoint ...
Advice
1
vote
3
replies
98
views
Using Chat with Codex
I'm confused about the Chat feature in VSCode. Is this specific to Copilot or is is supposed to work with other platforms like Codex and Claude?
I have installed the Codex extension and have been ...
Advice
0
votes
7
replies
169
views
Regex Search & Replace over multiple lines in Visual Studio Code
I want to turn python code triple quote strings that can possibly span multiple lines into comments using Visual Code. For example, turn
'''line 1'''
to
#'''line 1'''
or
"""
line1
...
Advice
1
vote
1
replies
67
views
Git submodule update button in VSCode GUI?
Is there not a button for git submodule update in the Source Control GUI in VSCode?
Tooling
0
votes
3
replies
99
views
Repo state at a particular commit in VS Code
In VS Code, how can I see the state of the repo at a particular commit ?
I don't want to the the patch, but the state (ie all files) of the repo at a given commit. I would like to avoid having to type ...
0
votes
1
answer
60
views
VSCode always jumping [to the first suggestion] when i navigate inside "IntelliSense" box [one you get by pressing ctrl+space]
as you can see I'm trying to navigate to get window.location.href , but whenever i navigate down it automatically gets me to the first suggestion, this can be very annoying when i press ctrl+space to ...
-1
votes
0
answers
102
views
How to increase the font size of GitHub Copilot sidebar UI elements in VS Code?
I want to increase the font size of certain UI elements around the GitHub Copilot sidebar dialog box (the message's context items, agent mode selector, model selector, etc.). In the following ...
-1
votes
0
answers
81
views
Does VSCode Copilot not provide token usage information when using Editor Inline prompts?
I want to compare the difference between editor inline prompts vs chat prompts. I have used the same prompt for inline and chat, see the differences below:
Inline prompt:
Chat prompt:
Both prompts ...
-1
votes
0
answers
116
views
Can I change the font size of text in the Extensions view in Visual Studio Code?
I have tried for while, but I can't figure out how to increase font size on Extensions page. It's so small and it's really hard to read it extensively.
That is the text that is explaining what ...
Tooling
0
votes
0
replies
94
views
Visual Studio Code - Show buttons of explorer always, not only on hover?
Maybe, for some of you it might appear impossible, but my workflow is slowed down considerably by the fact that now, the buttons to create a file or folder are only shown on hover. I always have to ...
0
votes
0
answers
92
views
CoPilot doesn't execute actions in Agentic mode with local LLM
I'm playing with local ollama model (qwen2.5-coder:7b) trying to connect it to CoPilot.
The local model is detected without issues.
Then, in Agent mode I give it a simple task like "Add a string ...
-3
votes
0
answers
66
views
Copy the list of files found in VSCode from CTRL+P (Quick Open list)
How can I copy the list of files in VSCode from the Quick Open list? Is there a native command to do this?
important note: there are of course OS/application specific workarounds - on windows, I could ...
-3
votes
0
answers
159
views
How to get rid of this black box in Terminal?
I am new to VS Code. I installed the C/C++ extension and as you can see, this black box starts appearing when I'm typing or deleting the text in Terminal. It's not even consistent, so I'm assuming ...
Tooling
1
vote
1
replies
92
views
Is it possible to have vscode activate a conda environment for building *without* using python?
I use vscode to write my manuscripts in Rmarkdown, with a makefile that builds the manuscript into a word doc, pdf, etc. In the past, I've used renv to manage package dependencies, but it occurred to ...
-2
votes
1
answer
608
views
How to configure VS Code to use llama.cpp, running locally?
The configuration file I'm trying to use:
[
{
"name": "My Custom Endpoint",
"vendor": "customendpoint",
"apiType": "...
Advice
0
votes
1
replies
66
views
Does VSCode github copilot charge extra for use of Semantic Indexing
Currently Semantic Indexing is turned off by default in VS Code Github Copilot for Enterprise licenses. I could not find any documentation regarding pricing impact if it is enabled. Would it cost ...
0
votes
1
answer
62
views
VS Code Node.js "launch" breakpoints not binding on Windows (attach works) — depends on Node version
On Windows, my VS Code launch debug config stopped hitting breakpoints. The breakpoint shows "Unbound breakpoint", a debugger; statement is ignored, the program runs to completion and exits ...
Advice
0
votes
3
replies
63
views
Dreamweaver (confused) user looking for conversions
I'm just looking for some starting points, for instance in Adobe Dreamweaver, it's Shift + Return for a <br /> code. What's the equivalent in VSCode?
And is there a guide or table or something ...
0
votes
0
answers
78
views
VS code with cmake presets
I am using VS Code with the CMake Tools extension. I am also creating a CMake "preset" defining my build tools, etc. If I manually select the CMake preset by name in the VS Code GUI, this ...
1
vote
1
answer
60
views
VS Code terminal opens in ~ instead of workspace folder on WSL
I've just moved to a new laptop and installed MS Code, using Ubuntu with WSL. Unlike on the old laptop, when I open a terminal in VS Code, it opens in ~ rather than in the project workspace folder.
3
votes
2
answers
170
views
How to override commit author via Visual Studio Code UI
I'm doing pair programming with two users on a single workstation. In order to adequately reflect who was driving at the time an individual commit is performed, we need to regularly change the author ...
Advice
0
votes
0
replies
43
views
Vscode Jupyter Notebook Mardown Preview Font
I am trying to change the font that is used for previewing a Mardown cells inside a Jupyter Notebook File (.ipynb) within VS Code.
Initially I tried changing the standard Mardown preview font-family ...
Advice
0
votes
3
replies
89
views
VS Code Source Control ignores nested Git repository directory in parent repository view
I have a project containing some private files, such as API keys, database files, and personal settings, stored in different directories
To keep a versioned backup of those files that I can clone on ...
Tooling
0
votes
2
replies
72
views
How to have two panes side-by-side sharing same environment?
I work with VS Code. I have one .ipynb file - my main script - and I would like to have another pane with another .ipynb notebook by its side where I can do some add hoc stuff with variables generated ...
Tooling
1
vote
0
replies
40
views
Pylance conflicting with Pyright
VSCode
I have both extensions installed and working: Pyright and Pylance. I know that Pylance has its own version of Pyright, but the problem is that when I disable (remove) Pyright, Pylance stops ...
0
votes
0
answers
133
views
HTML Validation Extension in Visual Studio Code reports invalid figure but it should be fine?
I use Visual Studio Code and the site is still not online, but almost finished.
I'm a great fan of accessibility, so I use for example figure elements like this, i.e. with role="group":
<...
Tooling
1
vote
2
replies
112
views
How to optimize the scanning of git repositories in VScode
In order to improve load time I want to specify which locations vscode should search for repos. So I added this to settings.json in the workspace:
.vscode/settings.json
"git....
Tooling
1
vote
1
replies
58
views
Debugging PHP with the VSCode buildin browser (set XDEBUG_SESSION)
Just discoverd the build in browser in VSCode. It would be awesome to debug PHP code as well. But how to set the XDEBUG_SESSION cookie in the build in browser sessions?
My compose.yaml:
name: ${...
Advice
0
votes
1
replies
130
views
Multi-repository workspace in VS Code Agent window
in the VS Code agent window, how to select a workspace that has multiple github repositories?
In the VS Code's normal window, you could have a workspace that had multiple folders, and when using ...
1
vote
0
answers
67
views
How to disable ClearType/smoothing in VsCodium?
The following picture shows side to side VS 2026 18.6.0 (left) and VSCodium 1.116 (right), with the same font (CaskaydiaMono NF Regular), with ClearType disabled at the system level (Win 11 Pro 25H2).
...
4
votes
0
answers
252
views
Unable to fully uninstall built-in GitHub Copilot Chat extension from VS Code
I am using the latest version of VS Code on Windows.
I was able to uninstall the normal GitHub Copilot extension using:
code --uninstall-extension github.copilot --force
But when I try to uninstall ...
2
votes
2
answers
150
views
Vs code extension issue or laravel itself?
I am using Laravel 13, working in VS Code with the PHP Intelephense extension.
When writing a standard Eloquent query with a where clause, my IDE highlights the code with a red squiggly line and ...
0
votes
1
answer
265
views
On Linux gcc debugger gets stucked on &"warning: GDB: Failed to set controlling terminal: Operation not permitted\n" [closed]
Previously I was able to debug c++ fine it would give this warning initially:
&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
and then the program would ...
-3
votes
0
answers
58
views
VS Code cannot import CSS [duplicate]
I'm trying to set up a small Lit project.
Whenever I try to import a CSS file on VS Code it gives me the next error:
Cannot find module './styles/first-project.styles.css' or its corresponding type ...
1
vote
1
answer
106
views
dbt Power User extension: "outputs not specified" error despite valid local profiles.yml and dbt debug passing
I'm facing a persistent validation error with the dbt Power User extension in Vs code. The extension flags my dbt_project.yml with: Runtime Error: outputs not specified in profile 'boond_analytics'.
...
0
votes
2
answers
988
views
Agent window in vscode using claude max
I really like the new agent window, and I am using with my claude code max subscription. In the agent window I started seem messages like:
You've use 80% of your session rate limit.
and I looked into ...
Advice
0
votes
0
replies
131
views
Are VS Code Copilot Agent Debug Log Token Counts the Exact Billing Metrics?
I was checking the Agent Debug Logs in VS Code for a GitHub Copilot Chat session and saw metrics. I would like to understand whether the numbers shown here are authoritative for usage-based billing ...
Advice
0
votes
1
replies
104
views
VS Code integrated browser is blocked
I want to use the VS Code integrated browser, however that browser is blocked by my company's IT for not being an approved browser (the approved browser's are Edge, Internet Explorer, Chrome, and ...
Advice
0
votes
2
replies
127
views
Rustfmt Keeps on Collapsing My iterator Chains
How do I prevent rust-analyzer / rustfmt from collapsing my manually formatted iterator chains?
A while ago i saw someone expand and collapse iterator chains as the mouse cursor came in contact with ...
1
vote
0
answers
49
views
How to stop VS Code Python Debugger from switching tabs, opening terminal and the debugger up on the sidebar?
Whenever starting debug with Microsoft's Python Debugger extension, the terminal pulls up, which covers up half the editor. When it hits a breakpoint, the debugger tab is chosen on the sidebar, and ...