61,364 questions
-2
votes
0
answers
14
views
platform.io serial monitor troubles with port index
I'm trying to connect a humidity sensor to my blues notecard using platform.io and I have successfully built, flashed, and uploaded my code but when I go to the serial monitor to test and see the ...
0
votes
0
answers
10
views
Creating cdk pipeline but it deletes itself
I am new to cdk and trying to create a simple pipeline from udemy course and at first its fine I even saw that the pipeline was being created and when it was almost complete i got a pipeline not found
...
0
votes
0
answers
10
views
VSCode ${selectedText} Variable Doesn't Work with Big Files( ~40 MB or bigger)
I use VSCode to work with some big proprietary log files (ASCII text). Part of the flow is to select small chunk of the text (< 20 characters) and invoke external task in terminal. The task ...
0
votes
1
answer
30
views
How do I set default document for an ASP.NET Core 8 web app in Azure App Services?
First time experimenting with creating an ASP.NET Core 8 web application in Visual Studio Code. I chose .NET 8 because it's the newest version. I am deploying it via Azure App Services. I am very ...
-4
votes
0
answers
18
views
how to automatically sync / copy all tabs in vscode across all split views
Is there any extension to automatically open tabs for a file in every split view panel? So that each split view has the same set of file tabs?
Right now, when I open a file, it only shows up as a ...
0
votes
1
answer
22
views
R Syntax Highlighting for RMD files in VSCode Suddenly Stopped / Changed
I went to create a new .rmd file in vscode and realized suddenly my syntax highlighting changed/stopped working. I basically stripped all my settings, and did a clean install of vscode and my ...
0
votes
1
answer
39
views
Pico Hardware SDK options not available for C++
I'm playing around with the Pico SDK and the extension in VS Code and it seems that when I produce a C++ file program instead of C, a number of the hardware options are no longer available to include. ...
1
vote
1
answer
26
views
Is it possible to change font size for a specific editor tab
Is it possible to change the font size of a specific editor tab.
i.e. I would like to change the font size of a specific opened file/tab to a different size from my usual global editor font size. It ...
0
votes
0
answers
25
views
Cannot ssh connect via VSCode Remote - SSH
I am having trouble to connect to my remote machine through the Remote - SSH in VSCode.
I am using Windows, and I managed to make the ssh connection work through WSL and even PowerShell. To be more ...
-4
votes
0
answers
35
views
Postman backend API and Angular Application [closed]
I need help getting my angular application to communicate with my backend api. I need my product to look like the attached image. I currently am using postman that takes JSON data, and it works ...
-7
votes
0
answers
44
views
vs code extensions wont download [closed]
i believe this problem is only for me. here is how to recreate it:
1.open the OFFICIAL vscode ide from Microsoft
2.try to install any extension...
and it wont work :(
a error was given saying the ...
-3
votes
0
answers
36
views
Setting up Python and MiniConda with Visual and multiple environments [closed]
Windows 11.
Currently, 3.10 is installed.
It is used with VSCode and venv. Mutiple projects each using their own venv.
I have recently installed 3.12.
Path has both 3.12 and 3.10.
I must install ...
-1
votes
0
answers
14
views
VS Code Custom Config settings.json variables not working correctly
I'm not sure what's going on with the ${config:NAME} method of using custom variable settings from the settings.json that used to work but now it's partially working.
According to mbomb007's answer (...
-4
votes
0
answers
67
views
vscode: incorrect package (Java) [closed]
picture0
src is my root file, and i have a file test right beneath it.
And in my Main.java, declaring package test as the file name.
why is my vscode keeps announcing package error.
chatgpt and ...
1
vote
1
answer
54
views
Is there a way to update the available virtual environments in VS Code? [closed]
I deleted some of the virtual environments (r-keras, r-tensorflow) a while ago. However, they still show up in the python environments in VS Code. How can I clear the cache for this and make sure they ...
-1
votes
0
answers
81
views
Installing Clang on Windows for VS code ( No manual found) [closed]
There are great manual about installation of Gcc on Windows in VS code as the Clang on Mac in VS code (https://code.visualstudio.com/docs/cpp/config-clang-mac) but none for Clang on Windows in VS ...
-2
votes
0
answers
55
views
Can't type anything in the VS Code terminal [closed]
I can't type anything in the terminal suddenly. It used to work fine, I don't think I did anything to the code or settings.
I've tried restarting VS Code and running it as administrator, closed and ...
-4
votes
0
answers
28
views
I can't write further commands in the terminal [duplicate]
I just started using git integrated with VS Code. whenever I use the command git diff main and I get this output I cannot further write any commands. Is there any solution to this problem? What can I ...
0
votes
0
answers
28
views
Change highlight text Font color in Visual Studio Code [duplicate]
I would like to change the font colour in the VS-code when I select a word. In the Setting.json, I used below
"workbench.colorCustomizations": {
"editor....
0
votes
1
answer
26
views
'Command python: select interpreter resulted in error [duplicate]
Following the installation of Visual Studio Code, Press Ctlr+Shift+P but python: Select Interpreter not able to configure/install. I got a message 'Command python: select interpreter resulted in error....
-1
votes
0
answers
19
views
flutter changes are not showing on emulator
[enter image description here][1][enter image description here][1]i have made some changes in main.dart but the changes are not reflecting in emulator. showing old screen on emulator
0
votes
0
answers
27
views
ActiveWin Only Counting VScode Tabs
I have created a code to track active time spent on websites and export it to a csv file called website_time_tracking.csv. When I ran it, it only gave the result of only tracking the amount of time ...
0
votes
0
answers
31
views
Pylance & Pylint report “could not be resolved” / “no-member” for a valid PyPI package in VSCode virtual environment
What configuration changes are needed in VSCode (or in my project layout) to make Pylance and Pylint recognize the installed cowsay package and its members? Is there a best practice for structuring ...
0
votes
1
answer
43
views
Debug React Native 0.78.2 in vscode
I'm trying to set up react native debugging in vscode. I'm running a react native 0.78.2 app (rn cli, old architecture) in an iOS simulator. I have had all sorts of errors trying to run it from inside ...
0
votes
0
answers
42
views
Hebrew suggestions fonts for VSCode not working on Linux
I recently installed Arch Linux and the KDE desktop environment. I installed VSCode using the visual-studio-code-bin package, and I installed Microsoft fonts from the ttf-ms-win11-auto package. I do a ...
-3
votes
0
answers
39
views
How to add on-hover tooltip method popups for Python in VS Code? [duplicate]
In Java you can hover over method names and IntelliSense in VS Code will display in a tooltip the comment above that method you wrote, as seen in my image below for the size() method for example:
I ...
0
votes
0
answers
52
views
"defineConstant" in pyrightconfig.json doesn't work in VSCode? [closed]
My __dev__ has been assigned in globals()['__builtins__'], thus I want VSCode to realize that __dev__ is not undefined. I try to use "defineConstant" in pyrightconfig.json,
"...
-1
votes
0
answers
44
views
What is the correct executable path name? [closed]
program (required)
Specifies the full path to the executable the debugger will launch or attach to. The debugger requires this location in order to load debug symbols.
I have an issue with my launch....
2
votes
1
answer
95
views
How to Use Clangd correcly without compile from time to time [duplicate]
From what I understand, Clangd relies on the compilation process. This means I need to compile my code periodically to get the most up-to-date syntax error information. (and every time I need to ...
0
votes
0
answers
16
views
How to get currently selected file via keyboard shortcut in VS Code extension development? [duplicate]
I'm developing a VS Code extension and need to implement a feature that retrieves the currently selected/focused file in the Explorer panel through a keyboard shortcut. Does VS Code provide built-in ...
-1
votes
0
answers
27
views
Is there a way to specify which auto imports should be recommended first in VSCode (in TypeScript)? [duplicate]
Is there a way to tell VSCode to:
Prefer local exports to library exports
Prefer import { Anchor } from "~/components/anchor"
Instead of import { Anchor } from "lucide-react"
...
0
votes
1
answer
30
views
Doxygen docstring displayable in vscode
I have a Python code, and I recently discovered Doxygen which generates the documentation automatically from the source code.
If I understood correctly, to make the generated code well detected by ...
0
votes
1
answer
23
views
WSL-2 and VS Code: How can I forward a port and have it be accessible to the external network?
I am attempting to create a simple webserver using nodejs on WSL-2 using VS Code. When I run the application, VS Code detects that the server is running and dynamically forwards a port for me. However,...
0
votes
1
answer
54
views
what are those orange boxes in vscode that i copied from mtr and how can i disable it?
image
When I copy output from mtr (My Traceroute) into Visual Studio Code, I see orange boxes appearing around some of the characters. What do these orange boxes represent, and how can I disable or ...
0
votes
0
answers
15
views
Port forwarded from ASGI server in devcontainer hangs on connection
I am running the following set up:
Running FastAPI server in a devcontainer via uvicorn src.main:app --reload --host 0.0.0.0 --port 13337
Forward the port using vscode's built-in port-forwarding ...
0
votes
0
answers
49
views
Getting code 503 in code-server on Ubuntu when trying to access Marketplace
I just installed code-server. When I try to access the Marketplace, I get, "Error while fetching extensions. Server returned 503".
This is my first time using VS Code as code-server and I ...
-1
votes
0
answers
39
views
Special Characters needing two backspaces to get erased on VS Code
I don't know how or why, but I have a specific code that when I reopenned it after a while, the letters with accent and ç was not normal letters. When trying to erase then, first it goes from ç to c ...
1
vote
1
answer
22
views
How to write numbers at the beginning of Arabic text
I have a set of string literals describing weather types in English:
weather_type = "01 Partly Cloudy"
weather_type = "02 Cloudy"
weather_type = "03 Dust"
I have also ...
0
votes
1
answer
56
views
In VS Code, how can I indent multiple lines by an equal amount, when their first character doesn't follow tab stops?
Suppose I have the following, where B is one space further indented than A and C
x = """
A
B
C
"""
How can I add a tab before each line? I.e.,
x = """
...
0
votes
0
answers
33
views
How to run and debug a x86 .NET 9.0 app with VS Code
When I want to run and debug my ASP.NET Core 9.0 Web API with VS 2022, it works well, but in VS Code, I get this error:
Unable to start program
'D:\Sources\MyProject\bin\Debug\net9.0\ArshidAPI.exe'.
...
-1
votes
1
answer
36
views
Why my language extension is only available in the user folder workspace?
I have created my first language extension in vsc (macos 14.7.5 Sonoma) using "yo code" in Terminal.
The folder has been correctly created in my users folder. I have moved that folder to ~/....
0
votes
1
answer
21
views
How to pass variables accessible from VsCode devcontainer.json to docker-compose.yml
In devcontainer.json we have access to these variables:
${localWorkspaceFolder}
${containerWorkspaceFolder}
${localWorkspaceFolderBasename}
${containerWorkspaceFolderBasename}
I have tried making ...
0
votes
0
answers
31
views
Can I apply different .textlintrc.json to different directory under the same workplace in VSCode?
I have my own tech blog made by Hugo, which supports multiple languages. And each of the directories for the posts are like:
content\ch\posts
content\ja\posts
content\en\posts
And I write the posts ...
0
votes
1
answer
85
views
VS Code 1.99 Remote-SSH fails due to old host kernel — is there a workaround?
I'm trying to connect from VS Code 1.99 (March 2025 release) to my Synology NAS (DSM 7.2.2) using the Remote - SSH extension, but since this update, I'm no longer able to connect. The connection fails ...
-1
votes
0
answers
23
views
Class declaration multiline conflict on autoformat
I get an error with Prettier/ESLint when I have a multiline class with extends and implements:
export class LongNamedComponent
extends AutoUnsubscribeComponent
implements OnInit, AfterViewInit {
...
0
votes
1
answer
40
views
How to remove all eslint and prettier changes from branch or pull request?
I just joined a new project that has no prettier and different set of eslint rules than those I use in my code editor (VS Code). For some reasons, my personal settings have overruled the project ...
-1
votes
0
answers
17
views
Add prompt directory from other directories
This page explains how to define prompt folders in a VS Code.
How can I add a folder that isn't part of the active workspace?
The idea is to create a dedicated prompt-library Git project, to share and ...
-2
votes
0
answers
21
views
vscode suddenly automatically generates dist dir [closed]
vscode suddenly automatically generates dist dir, how to fix? I am not using any of those exes that cause this issue!
I have seen this conversions:
Why is a folder named ".dist" ...
0
votes
1
answer
37
views
How to install Old Python 3.6 debugger for vscode
I want to run python script (3.6.9) in vscode.
According to this site, My vscode's python Debugger is not support for python debugger,so I try to install old python debugger as in the diagram below,
...
-2
votes
1
answer
43
views
Versions are different in VS code about screen and code --version in the termianl [closed]
when i type "code --version" in the terminal it says version is 1.99.3 but when I look at through help --> about the version is 1.85.1. how to fix?
In help > check for update. ...