61,011 questions
1
vote
1
answer
25
views
Why does vscode restore the csproj file each time when I do a dotnet run?
I created a console app in vscode, each time when I run dotnet run the csproj is restored. It takes a few seconds before I see the result of dotnet run and when I update the code and save and then ...
-2
votes
0
answers
26
views
Run C++ File without Generating Extra Files in VSCode
I'm setting up my VSCode environment for use with C++. Almost everything works: I have the extension and with it proper intellisense for C++, I can compile and run it via the terminal, etc.
However, ...
0
votes
0
answers
10
views
VSCODE: Editable git diff main view
My workflow is:
checkout new branch from main
write code
add commits as I progress, (they will eventually get squashed).
cleanup diff with main 1 file at a time to prepare for code review. Ideally in ...
0
votes
1
answer
44
views
VSCode displaying blue chain link icon in the gutter on every line
This icon appears by every line on every new file I create in VSCode. When I save the file, the icon disappears from every line, except the first:
This is not exclusive to C++, it happens with any ...
-4
votes
0
answers
51
views
Icon "chain" vscode
My VS Code from one day to another started appearing this icon as if it were a chain, next to the first line of files, and if skip line begins to appear in all, has anyone gone through this problem? I'...
0
votes
0
answers
17
views
Five Server path incorrect
I am creating a simple webpage that just renders 'hello' in the browser. But the 'live server' isn't opening this file in the browser.
On my home directory in Documents is a directory called 'drag and ...
0
votes
0
answers
28
views
VS Code built-in Markdown Preview
I want to get a counter-increment list style in VSCode Markdown Preview.
This is my test.md:
<link rel="stylesheet" href="./teststyle.css">
1. level 1
1. level 1.1
...
-1
votes
0
answers
9
views
How to select iOS simulator in VSCode for MacOS
I am building a Maui app in VSCode on Macos. When I hit F5 to debug it always starts up an iPad simulator.
How can I choose iPhone instead?
-1
votes
0
answers
25
views
Can I have a "settings.json" file on a per-project basis?
Given:
I have (want to have) multiple projects in Visual Studio Code that might have multiple targets and multiple settings.json files.
Example:
I have a workspace/project where I am writing remotely ...
0
votes
0
answers
31
views
How to find undefined class methods in JS without hovering [duplicate]
Assume the following example:
export default class TestClass{
constructor (){
this.init();
this.doOtherStuff();
this.doMoreStuff();
}
init(){
//do stuff
...
0
votes
0
answers
25
views
How use Scala with Maven in VSC?
I just started a job where Scala and Maven are used in practically all the projects, and I was wondering if anyone knows of a good setup to use VSCode with both. While IntelliJ is fine, I really ...
1
vote
0
answers
18
views
VS Code isolated PowerShell Process (not integrated) when executing / debugging
I am using the latest VS Code version for a PS 5.1 app. Problem is that the integrated PS fails now when using the latest version of AZ.Account and Az.Ressources with this error message.
Method '...
0
votes
0
answers
13
views
Gradle Connection Failed Server not responding
I'm getting an error in VS Code when I try to run my startup app, Veggie Vibes. I built the whole project in Android Studio on my Ubuntu PC. I ran the app in Chrome because I didn't have the emulator ...
0
votes
0
answers
11
views
Problem connecting VSCode to GitHub repository with ROS2 project
I want to run a project on ROS2 from a GitHub repository. I had a project running a few weeks ago. I went to the ~/ros2_ws workspace, typed the command ros2 launch webots_ros2_suv robot_launch.py and ...
0
votes
0
answers
33
views
Detecting if Python code is run under Visual Studio Code (or other) Python debugger
I have Python and Pandas code which does complex Pandas series calculations for thousands of series and runs these calculations parallel for speedup using multiprocessing.
It seems Visual Studio Code ...