61,264 questions
1
vote
1
answer
84
views
VS Code disable suggestion to replace C# var keyword with explicit type [closed]
While writing some C# I noticed that the editor is suggesting to replace all my var statements with the actual type. How do I turn this off?
I've gone through the all the options for the text editor ...
0
votes
1
answer
40
views
How to disable VSCode launch.json prioritize build folder
I have the following configuration in my launch.json file
{
"type": "node",
"request": "launch",
"name": &...
0
votes
1
answer
90
views
How to compile multiple .cpp files in a folder using visual studio code with MinGW?
I'm trying to compile my app using vs code and g++ on windows 11 without having to type all the files manually in the task.json file, but everytime I try to compile I get a fatal error :
cc1plus.exe: ...
-2
votes
1
answer
78
views
How to turn off the autocomplete suggestions in VSCode terminal (powershell)? [duplicate]
Whenever I type in the VSCode terminal, the autocomplete suggestion pops up right next to what I type and it's kinda annoying.
This feature appeared just today for me, and I tried checking JSON ...
0
votes
2
answers
81
views
VS Code does not recognize any Python interpreter
I installed pyenv-win in Windows 10 and followed the instructions to set all system variables and it works fine in the cmd.
> python --version
Python 3.10.2
When I try to use VS Code it doesn't ...
0
votes
1
answer
74
views
Cannot see the Solution Explorer in VS Code
I've installed the C# Dev Toolkit in VS Code. But the Solution Explorer doesn't show up for me.
This is my VS Code setup:
Version: 1.105.1 (system setup)
Commit: ...
2
votes
1
answer
93
views
Launching a python script in vscode with arguments I get FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\USERNAME\\FolderName'
I am trying to debug python code in vscode using a launch config that asks for command line arguments.
My script is located here:
C:\Users\USERNAME\FolderName - With Spaces\_MyHome\Documents\Dev\...
1
vote
1
answer
47
views
(::: {#thm-} ## title} problem folding math envs and outline
I have an issue with Quarto in VS Code whith folding and outlines.
Math envs have the syntax:
::: {#def-system}
This is a definition
:::
However, to give the enviroment a title you are suppose to use ...
0
votes
1
answer
71
views
Unable to step into torch.nn.functional.linear using VS Code debugging
I want to step into the linear function using VS Code's step-in , but it skips automatically when I click "step into". Could anyone help me with this?
I used DEBUG=1 when compiling PyTorch.
...
0
votes
1
answer
66
views
Is there a command to "accept both changes" and swap the order in VSCode?
I prefer to use the normal text editor (not the merge editor) to resolve merge conflicts in VSCode. Sometimes, I need to accept both changes, but want the new text from the "incoming" change ...
2
votes
1
answer
46
views
VsCode SSH Fails to Connect to CentOS: Failed to parse remote port from server output
I am consistently failing to connect to my CentOS server using the VS Code Remote - SSH extension. But I can connect and work successfully using a standard SSH client. The client PC and the server are ...
Advice
3
votes
2
replies
100
views
How to start Visual Studio Code PHP Server automatically
I'm using Visual Studio Code for website development, HTML, CSS, Javascript and PHP.
I'm trying to find a way to start the PHP Server automatically when I load Visual Studio Code.
It is just ...
Tooling
2
votes
3
replies
88
views
How do I get Java project code helper settings in VSCode?
I am a user of Eclipse and considering switching over to use VSCode for Java projects. One of the feature we have in Eclipse is code helper. When we type code, we can suggestions, be it methods or ...
0
votes
1
answer
70
views
Foreground text is dull and difficult to read on VSCodium/VSCode
I recently installed a fresh Arch build with the XFCE4 Desktop Environment on a laptop and installed VS Codium. I've used VS Code on the same device but on Windows earlier and on other devices without ...
3
votes
3
answers
304
views
How can I make some MCP servers disabled by default in new workspaces?
I am using GitHub Copilot in Visual Studio Code.
Some extensions (GitKraken, ...) sneakily add MCP servers. Whenever I open a new Visual Studio Code window in a new project, all these MCP servers are ...
0
votes
1
answer
48
views
Go To Type Definition function in Visual Studio Code
Is Visual Studio Code has tooltip Go To Type Definition function like Visual Studio or Rider, when you can go to definition by mouse clicking?
VS 2022 has option "Enable mouse click to perform Go ...
0
votes
0
answers
75
views
R Workspace not appearing on VSCode R Extension
I am using VSCode with the R extension. I followed the installation guides in: https://code.visualstudio.com/docs/languages/r
This used to work well, but all of a sudden, the R interactive space does ...
0
votes
2
answers
172
views
Why do I get a fatal JSON parse error when trying to install or load any extension in Visual Studio Code?
I have Visual Studio Code on a desktop running Windows 11, and whenever I try to install any extension, or even just try to list extensions, I get the following error:
[error] [Window] Expected ',' or ...
3
votes
1
answer
105
views
Is there a debugger API for VS Code?
I would like to know if there exists any way to interact programmatically with the vs code debugger during a session.
Python would be ideal, but JS/TS could also work. For the langages being debugged (...
1
vote
1
answer
226
views
How configure GitHub Copilot in VS Code to work with Azure OpenAI/Azure AI Foundry
I am trying to set up GitHub Copilot Chat with an Azure hosted OpenAI model.
But I am struggling to find an authorative answer on what to enter for the endpoint.
Some blog posts suggest: https://xxx....
-3
votes
1
answer
134
views
trying to get my vscode to run my c++ files to the output by default [closed]
Whenever i click the run button on my cpp code the top search bar drops down with multiple options that im not familiar with. i would just like it to run the code in my output or terminal.
0
votes
0
answers
87
views
How to force VSCode to make all auto-completion suggestions in ghost text?
AI-based auto-completions on VSCode seem to be suggested in normal syntax highlighting instead of ghost text. But this behavior does not seem consistent.
First suggestion is made in normal text.
...
0
votes
1
answer
89
views
VSCode DevContainer in linux doesn't recognize Docker, or the packages installed during build
I have a devcontainer set up as a work environment on Debian 13. Until recently, it was working perfectly fine, but recently I started getting error messages like this:
Once I was already inside the ...
1
vote
0
answers
132
views
Visual Studio Code instantly crashing on start up with blank screen (Windows 11 25H2)
I am currently on Windows 25H2 and for past the few weeks i am having problem with VSCode. It instantly crashes when i run VSCode in any way. I have uninstalled and reinstalled it like 20+ times now ...
-1
votes
0
answers
63
views
Visual Studio Code contains a visual corruption error [duplicate]
The screenshot shows the visual corruption that is plaguing my Visual Studio Code
Whenever I am running VS Code, there are small pixel deformations on the window that make it very difficult to ...