61,311 questions
0
votes
0
answers
14
views
How to configure environment path in WSL?
Using VScode with WSL trying to configure custom MCP servers, the vscode server itself runs a non-interactive shell. A non-interactive login shell means using bash -c or similar.
A non-interactive ...
0
votes
0
answers
10
views
Html or Markdown in debug console [closed]
I have managed to set up my VS Code for scripting in much the same way as LinqPad. The one thing I am missing is a way to show my output in a prettier way.
I have been experimenting with nugets like ...
0
votes
0
answers
16
views
VS Code interative window: incremental backward history search
I'm a long-time emacs/terminal/ipython user really trying to give VS Code a chance. In the Python "interactive window" I can use up/down arrows to cycle through previous commands.
I'm coming ...
0
votes
2
answers
47
views
How do I modify and save the changes made to a file using Python and VSCode?
I'm trying to modify the contents of a SET file by copying some of the data that is different from another SET file. The SET files come from two different GPS receivers of the same model, and the ...
-2
votes
0
answers
69
views
How to stop VS Code from building all projects in a workspace on startup
I work on a large monorepo. I normally keep java tools disabled, but sometimes I do actually need to edit Java projects. When I try to, all the hell breaks loose - Java Language Server starts building ...
0
votes
0
answers
78
views
When workspace include paths are defined, intellisense doesn't work any more on user ones
For coding with C++, I'm using the Microsoft provided C/C++ extension for Visual Studio Code.
I defined the paths from settings UI.
Include paths that are common to all my project are defined in the ...
-3
votes
0
answers
41
views
Get "Cannot read properties of undefined (reading 'inputs')" when adding MCP server
I get an error trying to add MCP servers to VS Code.
I click on one of the MCP servers on https://code.visualstudio.com/mcp
It opens the page in VS Code
I click install
It then shows an error:
...
1
vote
1
answer
30
views
Intelephense is showing Undefined Type errors that are not true
Windows 11: 24h2
VS Code: 1.102.1 (WSL: Ubuntu 24.04.2 LTS)
Intelephense: 1.14.4
Symfony: v6.4.23
PHP: 8.2.28
<?php
namespace App\Command;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\...
-1
votes
1
answer
37
views
How to bypass error warning when opening binary files or files with unrecognised format?
How do I bypass the warning in VSCode that I'm trying to open a binary file or a file with an unrecognised format?
This warning pops up whenever I try to open a binary file or a file with an rare file ...
-2
votes
0
answers
53
views
ReferenceError: document is not defined in VSCode when trying to connect js to html and load it into chrome browser [closed]
I am trying to do a project in a Chrome browser containing HTML, CSS, and JS. They are all within the same project folder and have no visible syntax errors. I am writing the code in VSCode. Within the ...
-7
votes
1
answer
151
views
I'm unable to use std::filesystem in Visual Studio Code
I installed Visual Studio Code on a MacBook Air M2. I installed the C/C++ extension pack and code runner.
When I tried to type this :
namespace fs = std::filesystem;
I get this error:
namespace std ...
-4
votes
0
answers
58
views
Python intellisense / type sensing seems broken on function overload [closed]
I have the following overloaded function:
# **************************************************************************************
@overload
def get_mount(
name: Literal["...
0
votes
0
answers
27
views
How in VS Code get a gif diff review experience similar to Cursor? With hotkeys to move to next changes, accept/decline, move to next file
With Claude Code or similar tools, a review of generated code becomes the most time-consuming part of the workflow.
Can we get experience similar to Cursor to review changes step by step when the ...
0
votes
1
answer
30
views
How to make VS Code recognize the environment variables of the SSH remote Windows host?
I have two machines:
A host machine (Windows 11) running VS Code
A Hyper-V guest VM (Windows 11): OpenSSH Server installed, running VS Code Server with a Python project pythonWebApp
I'd like to ssh ...
-2
votes
0
answers
45
views
Python command in conda virtual environment stopped working in Terminal [Windows 11 v1.102.0] [closed]
I've been using miniconda and python in the same setup for a couple of years. I usually write a script and run it through the terminal by typing "python script.py" or "python -m module&...