99 questions from the last 30 days
2
votes
0
answers
66
views
GitHub Copilot in VS Code triggers a KeyboardInterrupt error when opening PowerShell with conda environment [closed]
I'm encountering an issue when using GitHub Copilot in VS Code.
After Copilot agent modifies a file, it suggests a PowerShell command and asks whether I want it to run the command for me. When I click ...
1
vote
0
answers
89
views
VSCode Typescript Intellisense not suggesting methods from dynamic type or interface
I am writing an event system, comprised of EventTypes and EventListeners. I want to require that the listener methods implemented by an EventListener follow a certain expected structure. For example, ...
-1
votes
0
answers
43
views
VS code treats the address C://php.exe as h:/web/c:/php.exe
I installed the PHP Server extension for VS Code and added two lines to settings.json:
"php.validate.executablePath": "С://php-server//php.exe",
"phpserver.phpPath": &...
0
votes
1
answer
54
views
How to create a hover/context menu on a VS Code status bar item (like GitHub Copilot's menu)?
I'm developing a VS Code extension and want to add a menu that appears when hovering over or clicking a status bar item, similar to how GitHub Copilot displays its menu (see screenshot):
What I Want ...
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
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
51
views
Running Kotlin in VS Code Error - error: unresolved reference 'println'
I'm using Windows. I downloaded the Kotlin compiler from JetBrains/kotlin GitHub. It is a zip file (kotlin-compiler-2.2.21.zip). Then I extract the file and put it in the following path:
C:\Program ...
0
votes
0
answers
51
views
VS Code doesn't Recognize Unity Classes
For two days now, I've been having a rather strange problem.
The MonoBehaviour class isn't recognized by VS Code, with the following error:
Error while loading [...]: Exception thrown: System....
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
1
answer
52
views
Is there a quick way to edit snippets for the current language?
When I want to add a snippet for the current language, I open the command palette, type "snippet", go "Configure Snippets", then I have to select the language even though the file ...
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
0
answers
46
views
How do I change the editor's color settings for Visual Studio Code in order to see the javascript variable names that I have mistyped?
My color settings are for a black background of the editor and are "all white" for the text except for the curly brackets, for those I have separate colors.
Now, when I make a typo like ...
-2
votes
1
answer
40
views
VSCode custom extension throws an error about keybindings
I wanted to update my VSCode extension. But when running npm run test I get an error:
Error: Cannot find module './build/Debug/keymapping'
I tried to compare it with fresh extension, generated with ...
-4
votes
0
answers
25
views
Is the VSCode WSL extension open source?
Extension: WSL
I have a use case that requires modifying the WSL VSCode extension. The extension page takes you to a GH repo for vscode-remote-release, but the extension code isn't in there. I've look ...
0
votes
1
answer
61
views
VS Code Devcontainer modify line endings from LF to CRLF
I have a C++ Project (incl. some platform specific scripts) which I develop in VS Code.
The project contains a devcontainer for Linux which works well under Linux.
Development for Windows (without ...
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 ...
-5
votes
0
answers
96
views
Opening Google's Antigravity gives [process exited with code 1 (0x00000001)] [closed]
Whenever I Open Antigravity IDE opens successfully but also a terminal show with the editor saying that [process exited with code 1 (0x00000001)] when i close it the program starts normally but its ...
0
votes
1
answer
22
views
How to create a div in the active editor tab of VS Code via extension?
I want to create a div that is always placed on the top right of the current active editor window of VS Code via an extension. Ideally, the div is show even when the user change tab.
I tried to find a ...
0
votes
0
answers
48
views
Using VS Code and R on compute node of HPC server: cannot plot
I am trying to use VS Code (from a Windows laptop) to:
SSH into the institutional cluster (which uses SLURM).
Launch an interactive session with srun --pty -N1 -n1 --mem=4G --time=03:00:00 /bin/bash (...
-1
votes
0
answers
13
views
Set up server launch configurations in vscode
I am trying to move from eclipse to vscode.
I want to set up various Tomcat server configurations so that I can run my web app in different environments.
I have installed Tomcat to c:\servers\tomcat. ...
Advice
0
votes
0
replies
26
views
What do the badges mean in VSCode's source control graph display?
Last year, VSCode added badges to the right side of its source code graph view. See the lavender cloud badge here:
Another badge looks like a branch:
The VSCode documentation talks about the ability ...
0
votes
0
answers
26
views
Automatic command to run at startup shows error of return value not being string type
I have the following in my tasks.json file:
{
"label": "closealleditorsingroup",
"type": "shell",
"command": "${input:...
Best practices
0
votes
0
replies
23
views
How to enforce VSCode client ID in MCP flow?
Our team built an MCP Server that uses Server Metadata Discovery and returns a WWW-Authenticate challenge with resource_metadata when the Authorization header is missing. Some users receive the “DCR ...
0
votes
0
answers
14
views
branch background color in vscode status bar
Is there a way to change the background color of git checkout item in vscode status bar.
I looked here but they have only for remote item.
there is "statusBarItem.activeBackground" but I ...
0
votes
0
answers
43
views
How to display relative paths when using Peek Definition in VScode?
When I am using VScode Peek Definition to quickly view the definition of a function, a pop-up window displays that the path of the file where the function is defined is an absolute path D:\Test\...