Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
0 answers
3 views

Live Server in VSCode Not Refreshing Browser Despite Autosave Enabled

I am facing an issue with the Live Server extension in Visual Studio Code. Even though I have enabled Autosave and set it to 100ms, the browser does not refresh automatically when I make changes to my ...
Vishesh Krishna S A's user avatar
0 votes
0 answers
15 views

vscode debug nuxt3 for client side issue

I am using VSCode to debug a Nuxt 3 client-side application. My question is: if I run the debug configuration with client:chrome in VSCode, do I still need to manually start the app with npm run dev? ...
stewchicken's user avatar
0 votes
0 answers
8 views

Emulator top bar is cropping when using VS Code and flutter

Trying flutter for the first time. When I launch my flutter app in emulator, its app bar is not visible as it is being cropped. See screenshot below. At first, I thought there is some issue with app ...
Frank Martin's user avatar
  • 3,435
-1 votes
0 answers
63 views

How to install and use C library in macOS? [closed]

I'm a beginner in C. I'm using macOS (Sequoia) and vscode. Let's get to the point, I want to use zip.h library so I installed libzip through homebrew. (brew install libzip) But my vscode and gcc still ...
code's user avatar
  • 63
0 votes
0 answers
28 views

Setting up a ST7789 TFT display in C++ for Raspberry Pi Pico W

I loaded the pio_st7789_lcd example from pico-examples (https://github.com/raspberrypi/pico-examples) into VSC and it works fine on my Pico W with an attached ST7789 128x160 module. But I only worked ...
Martin's user avatar
  • 157
-1 votes
1 answer
27 views

How to create and run a virtual environment for my Python programs in VS Code ? I want a few selected programms to run in a separate environment [duplicate]

I am using VS Code text editor for my Python programming. I need to know how to create virtual environments in VS Code for a project specific file. I haven't tried anything since I am unaware of the ...
arjun 's user avatar
0 votes
1 answer
39 views

Getting errors while opening workflow as designer in azure logic apps standard on vs code

When I'm opening logic app workflow as designer, I'm getting the below errors. Error in determining project root. Please confirm project structure is correct. EnvironmentCredential is unavailable. No ...
VivekAnandChakravarthy's user avatar
-2 votes
0 answers
21 views

VSC adding project name as a field to package.json

I'm facing an issue where the following keeps appearing in the dependencies section of my package.json: "myProjectName": "file:" This also modifies my package-lock.json file, ...
Maksym Słotwiński's user avatar
0 votes
0 answers
23 views

Pytest import issue with VSCode

I literally just had Pytest working fine, I have the correct conda env selected in VSCode. I tried to run a test just then, and it can't find my folder 'modules' which is in my project directory. The ...
Max's user avatar
  • 629
0 votes
0 answers
13 views

Can't build/open in devcontainer in VSCode/Ubuntu due to lstat failure during docker build

I ma trying to open this repo in devcontainer using VSCode running on Ubuntu, but it fails for some strange reason: mcr.microsoft.com/vscode/devcontainers/java:11 [6654 ms] Start: Run: docker buildx ...
Alexandr Savochkin's user avatar
1 vote
1 answer
28 views

Can I run the microsoft compiler cl in the terminal on linux?

Following this method : https://linuxiac.com/how-to-install-vs-code-on-linux-mint/ I've just installed VSCODE on linuxmint. On windows I can run the compiler on the command line simply typing: cl Is ...
tinyfiledialogs's user avatar
-3 votes
0 answers
31 views

Why does Github Co-Pilot stopped working properly? [closed]

Im working on an App currently and helping me out with GitHub Copilot. It worked the whole time for like 8 hours straight and now it suddenly just gives me unfinished or completly wrong lines of code. ...
Willi's user avatar
  • 1
0 votes
0 answers
5 views

Adapting Compilation Chain from MPLAB X IDE to VS Code with MPLAB Plugins

My code builds fine in the MPLAB X IDE (v5.454), but for usability I want to use VS Code with the MPLAB extensions. My requirements include the use of the xc32 compiler v2.40. The example video does ...
spaceKelan's user avatar
0 votes
0 answers
11 views

Unexpected import warning when import a submodule in a .pyc file in VSCode

( I don't know whether I should tag this question with vscode, because I'm not sure if it is just a VSCode problem, or it's also due to something in python importing or pybind, or even it's just ...
LibrarristShalinward's user avatar
1 vote
0 answers
25 views

VSCode update to 1.96.0 / Libs paths in Nx Monorepo are not recognized

I am not sure where exactly the issue is, however just by elimination I think it is VS Code and not Nx, Typescript or Angular, as I have only restarted VSC and it updated itself to the newer version ...
pop's user avatar
  • 3,684
-1 votes
0 answers
28 views

JS - VSCode no consol.log output in Terminal

I have an issue with loggin output to my terminal: I run node version 23.4.0 Using Node and writing JS in my CLI on windows works perfectly fine In Vs Code, I have created the file app.js app.js ...
user9193424's user avatar
0 votes
0 answers
13 views

vs code Go To Definition for alias path css import in Astro project does not takes to original file but to client.d.ts file

I have Astro based project where using path alias for css file. { "paths": { "@/assets/*": [ "src/assets/*" ] } } and here is importing css ...
xkeshav's user avatar
  • 54k
0 votes
0 answers
16 views

Is it possible to debug a go program in vscode as a child/debugee of a visual studio debugger session?

This is a bit unusual, so let me try and explain. I have a go program running in vscode, it dynamically loads a dll (this is all in windows) and calls function in it. I'd like to debug the vscode go ...
stu's user avatar
  • 8,775
-2 votes
0 answers
20 views

Which is incorrect, Nautilus (linux file explorer) or VSCode? Modified sort shows arrow pointing in different directions

When I list the folders in Nautilus (file explorer - Gnome Nautilus 46.2) on my Ubuntu 24.04.1 LTS box and I click the [Modified] column so I can view the most recently modified folders & files I ...
raddevus's user avatar
  • 9,039
0 votes
0 answers
25 views

VSCode background processes triggering SSO in Python code

I have a Python repo that I'm working on in VSCode. The repo structure is like this: main_repo -- utils ---- client ------ my_client.py my_client.py contains this code: class CustomClient(DataClient):...
Carlo's user avatar
  • 1,580
0 votes
0 answers
91 views

Why does my visual studio code(vscode) terminal output "^c? [duplicate]

#include <iostream> int main() { std::cout << "test" << std::endl; return 0; } I set it up and ran it for the first time to do cpp from Windows to vscode. I ...
GaNi's user avatar
  • 1
0 votes
0 answers
25 views

Visual Studio update broke R integration?

After VS Code installed an update yesterday (2024-12-11), it doesn't cooperate with R anymore. When selecting code and trying to run it: command r.runSelection not found When running code from source: ...
Rob Hanssen's user avatar
-1 votes
0 answers
57 views

broken input in vscode when running C program [closed]

Is there any way to solve the following problem? I have a blockchain project in C, but I made a simple program below to demonstrate the problem. At some point, the inputs start to break and it becomes ...
isacpc's user avatar
  • 9
0 votes
0 answers
34 views

Rust debugging in VS Code Windows Aarch64 or Arm64ec

Attempting to debug rust with VS Code on a windows pc with Qualcomm Snapdragon X1 Elite X1E-78 results in error This platform (win32-arm64) is not supported. Adding the screenshot here since it's not ...
Richard Phillip Klassen's user avatar
0 votes
1 answer
62 views

Debugger never attaches when debugging a local Python 3.11 Azure Function App (Queue Triggered)

I have a Python 3.11 Function App that runs locally. I'm developing on Windows 11, and VS Code, fwiw. I have all of the Azure extensions; I have the Azure Tools extension pack, which includes the ...
user28500450's user avatar
-1 votes
1 answer
21 views

How can I debug IIS w3wp.exe in VSCode without running it as administrator?

I’m trying to debug an application hosted on IIS using VSCode, but I’m running into a permissions issue. When I open VSCode as a standard user, I cannot see the w3wp.exe process in the list of ...
Ben Grady's user avatar
-2 votes
0 answers
45 views

VS Code C++ IntelliSense not showing documentation comments

Summary of issue: My VS Code C++ IntelliSense is only showing type information, not documentation comments, in hover tooltips. Behavior: When hovering over types like vector, I only see the type ...
chrisware's user avatar
-1 votes
0 answers
26 views

Nextjs Error Overlay always opens Notepad instead of VScode [closed]

I’m working on a Next.js (v15.0.3) project Windows 11, and when I click on an error in the development console, it opens Notepad instead of Visual Studio Code. Here’s what I’ve tried so far: Ensured ...
Gen IunX's user avatar
-1 votes
0 answers
21 views

error Error: Undefined name 'DefaultFirebaseOptions [closed]

when try to run my flutter app in macos i get error (Error (Xcode): lib/main.dart:31:14: Error: Undefined name 'DefaultFirebaseOptions'.)
Ecko's user avatar
  • 1
0 votes
0 answers
15 views

Error loading webview: Error: Could not register service worker: InvalidStateError

When I try to open .png file or any python file that has text in it, I get: Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The ...
marina05's user avatar
-1 votes
0 answers
19 views

Why does VS Code's integrated terminal hide some error popups?

I just started working with VSCode and C++ (on Windows). I just compiled a program, and when I try to execute it form a integrated Powershell terminal, nothing happens, and I get no visible errors, ...
LoneCodeRanger's user avatar
-1 votes
1 answer
28 views

Using Pydantic Model for IDE support

I have created a simple pydantic model: from pydantic import BaseModel, Field class NameModel(BaseModel): name: str = Field(..., description="dummy description") surname: str = ...
SSH's user avatar
  • 41
1 vote
0 answers
29 views

Cleaning VSCode profiles Folder & Workspaces

I recently set up a new VS Code profile, which I intend to use for specific projects. However, while doing so, I noticed that, in the Default profile, the "Workspaces & Folders" section ...
Charles Wetaski's user avatar
0 votes
2 answers
32 views

VSCode ruff ignores ruff.toml

For a project I have created a ruff.toml file. In this file is among other things a different line-length defined. When ruff is used from the cli ruff format it works as expected. But when I use Ruff: ...
3dSpatialUser's user avatar
1 vote
1 answer
18 views

Run Formatter (Black in Vscode) Path with whitespace

I have my files in a folder with a whitespace. /Volumes/USB SSD/.... If I run VScode Formatter (Black, autoflake) I get this Error: Failed to run autoflake. Error: Stderr: /bin/sh: /Volumes/USB: No ...
weinni2000's user avatar
-1 votes
1 answer
64 views

How to turn off file name coloration in VS Code [duplicate]

Whenever I type something new in my vscode file, the filename become red with the number. I think that's the reason why my vscode suggest is very slow. For example,when I type f,about 1 second later ...
Đình Cảnh Bùi's user avatar
0 votes
0 answers
43 views

vscode. C_Cpp space after if, for, while, etc

How can I configure VSCode, C/C++ Formatting. I have code: int main() { std::cout << "Hello, Stack" << std::endl; if(false) return 0; for(;;) break; ...
Эльдар bash's user avatar
-8 votes
0 answers
38 views

Pycharm document format [closed]

Hi I just switched from visual studio to pycharm. I noticed that the document format in visual studio is more readable than pycharm. Does anyone know a way to migrate the document format to pycharm. ...
04KoPe3's user avatar
0 votes
0 answers
41 views

How do I customise the colour of `True` and `False` in Python in VS Code?

I would like to have VS Code highlight the True and False values slightly differently. I am using the default Dark Modern theme.
umar's user avatar
  • 13
-2 votes
0 answers
56 views

How can I accept/reject individual changes in VS Code's 'Source Control' view? [duplicate]

In VS Code's 'Source Control' view, how can I accept or reject individual changes? I have attempted: right-clicking looking for mystery meat in the gutter Reading Microsoft's documentation on the ...
mikemaccana's user avatar
0 votes
0 answers
38 views
+50

VS Code Remote Explorer passing through local git access?

I use the VS Code Remote Explorer and the VS Code terminal to work remotely on an SSH host. On this host, when trying to check out a private Github repository I would expect it to ask for credentials. ...
me.at.coding's user avatar
  • 17.4k
0 votes
0 answers
21 views

VSCode integration with GitLab

I use GitLab and recently started working with VSCode. To integrate them I installed the GitLab workflow extention, added my gitlab acount. as per the instructions I created a new public project in ...
kalina199's user avatar
  • 222
-1 votes
1 answer
38 views

Python/VScode 'continue' causes rest of loop code to be grayed out

I have the following Python code (in VScode IDE): def parse_seeyou_waypoints(lines, bounds=None): waypoint_list = WaypointList() cherrypy.log('in parse_seeyou_waypoints function:') #gfp ...
user3765883's user avatar
-1 votes
0 answers
21 views

I am trying to run code in vs code and when I open vscode I am getting the following

An error occurred while Layout/IndentationConsistency cop was inspecting /Users/beth.degrave/RUBYUDEMY/Section-12/mission_impossible.rb:1:0. To see the complete backtrace run rubocop -d. 1 error ...
Beth DeGrave's user avatar
0 votes
0 answers
14 views

Folium's "FloatImage" not displayed in Vscode notebook

I try to use FloatImage from folium.plugin to display an image on a Folium map. When I print the map on a jupyter notebook in VScode, the image is replaced by an alt text. However, when I save the ...
NicolasPeruchot's user avatar
0 votes
0 answers
14 views

How to remove or reorder IntelliSense entries in VS Code [duplicate]

I have a method in my file called sendMessageToBuffer(). It is the first entry when IntelliSense pops up so when I want to enter send() by typing send and TAB, the long method is entered instead. Is ...
tommybar's user avatar
2 votes
3 answers
73 views

How to disable indentation guides in Visual Studio Code? [duplicate]

I am having an issue with Visual Studio Code where indentation guides are appearing, cutting the code intentionally. They connect opening and closing blocks in files like HTML. I've tried disabling ...
Deivison's user avatar
0 votes
2 answers
38 views

Extension description text in editor is always black. Need to change to work with a dark editor background

While customizing my theme using workbench.colorCustomizations, I have run into an issue with the text on extension decriptions in editor. When I select an extension, the heading, tabs, and text to ...
Mykl Sandusky's user avatar
0 votes
1 answer
30 views

Eslint, Prettier and VSCode config not wokring

I am trying to convert my old eslint configuration file into the new eslint configuration, however I can't get it to work. I am suing VScode and my old setup works that it underlines the wrongly ...
Filip Studený's user avatar
0 votes
0 answers
17 views

How to deactivate Accessible View on VS code

I have an accessible view that is displayed every single time I build my C++ code with CMAKE. This crashes my system and makes it laggy I always have to restart visual studio code. I would like to ...
Gerald Mbuthia's user avatar

1
2 3 4 5
1220