Questions tagged [visual-studio-code]

Visual Studio Code is a text editor available for Linux, Mac, and Windows. You can also use this tag for unofficial binaries of the portion of the code that is open source (such as VSCodium) as well. It includes support for debugging, embedded Git control, various extensions and rich development experiences such as intelligent code completion. It is mainly developed by Microsoft, and built on Electron like GitHub's Atom.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Rename dynamic references in Python files using VS Code

Is there a way to rename dynamic references when refactoring Python files in VS Code? E.g., consider the following example: class Test: def __init__(self, x): self.x = x def test(cls): ...
Bob's user avatar
  • 418
-1 votes
1 answer
15 views

Header for Queue throwing error in VSCode

I am not exactly sure what I did, but for some reason, the header #include is giving me error. I even tried using #include <bits/stdc++.h> but had the same problem. All the other headers like, ...
AxRy's user avatar
  • 23
-1 votes
0 answers
17 views

Getting error message: "#include errors detected. Please update your includePath." in visual studio code

The code is a simple hello world: #include <iostream> using namespace std; int main() { cout << "HEJ" << endl; return 0; } One error message is the one in the ...
Johannes's user avatar
-1 votes
0 answers
11 views

Can you please help me to set the "ballerina.home" path in VS Code, i am using a MacBook Pro. My vs code keeps saying it cannot detect ballerina

i have ballerina installed but for some reason it is not detected in my VS Code environment i tried uninstalling and reinstalling both ballerina and the ballerina extensions in VS Codes to no avail. ...
jojo Ntesa's user avatar
0 votes
0 answers
2 views

graphql import fragment

I have a graphql extension for vscode. It works fine, I got a highlight and param hints but can't get fragments to work properly.. client: { service: { name: 'test', localSchemaFile: ...
qms's user avatar
  • 152
0 votes
1 answer
8 views

How to replace part of a path in VSCode .json?

I want to use Disasembly Explorer to view my disassembled files. The extension wants to know where to search for .s files. The default setting is to look in the same directory as the source file: &...
filo's user avatar
  • 219
-1 votes
0 answers
17 views

VSCode marks PHP constructor property promotion as error

In VSCode, when trying to use constructor property promotion code is marked as error with red squigglies and when hovering over the modifier e.g., private the message says: ')' expected, '{' expected, ...
Hata Reg's user avatar
0 votes
0 answers
5 views

i am unable to type anything in my vscode terminal

enter image description here when i open my vs code terminal i am not able to type anything in my terminal and it even not showing any path and giving only History restored History restored this ...
Akanksha Shelke's user avatar
-4 votes
0 answers
16 views

Getting Oracle 10gg agreement details in browser when I try to enable live-server on terminal of Vs code [closed]

details of ORACLE DATABASE 10g EXPRESS EDITION LICENSE AGREEMENT shown in browser vs code terminal Could anyone pls help here to solve the issue? I tried to run live-server on terminal of Vs Code &...
Anush's user avatar
  • 1
0 votes
0 answers
8 views

How can I achieve to follow Allman style in my Java Code inside VS Code

I already searched on the internet for the past four days but nothing is working out. There is no extension for VS Code or built-in property in VSCode to achieve the Allman coding style. (SCSS Allman ...
mack38's user avatar
  • 1
0 votes
0 answers
12 views

Can't sign report to get SHA1

FAILURE: Build failed with an exception. What went wrong: Could not open settings generic class cache for settings file 'C:\Uladzislau\Sparkco\sparkco\android\settings.gradle' (C:\Users\uladz.gradle\...
Uladzislau Krukouski's user avatar
0 votes
0 answers
12 views

"Could not resolve "vscode"" error after project structure refactoring

I'm developing a vscode extension and up to now everything works fine. Yesterday I had to refactor my project structure and inserted the path aliases feature in order to get rid of relative paths ...
Vincenzo Sagristano's user avatar
-2 votes
0 answers
10 views

tailwindcss is not working in visual-studio-code [closed]

i have installed everything that is required for tailwind, after writing code in vs code, html code is working only as i run it, css code is not working i modify tailwind.config.js and also tailwind....
Piyush Mhetre's user avatar
0 votes
0 answers
11 views

Home/End/PgUp/PgDn keys not working properly with VS Code (with vim extension)

This has been bugging me since a long time and even after lots of researching, I couldn't find a solution. I am using vim extension for vs code. So the issue is basically, While in insert mode, if I ...
Aditya Agarwal's user avatar
1 vote
0 answers
12 views

Is there support for mouse events in VSCode's integrated terminal on Windows?

VSCode's integrated terminal supports mouse events on Linux and OS X. For example, if VIM is launched in the integrated terminal on these systems, you can use the mouse to move the cursor around and ...
My other car is a cadr's user avatar
0 votes
0 answers
6 views

C-; and M-; are not working in Awesome Emacs Keymap

I've installed Awesome Emacs Keymap extension to my VSCode. I'd like to use C-; and M-; commands to comment in and out, but they're not working. Where should I check to make them available? Thanks for ...
Nao COMATSU's user avatar
0 votes
1 answer
29 views

C++: VSCode is not processing #ifndef/#define identifiers correctly in hpp file?

I'm following along with a C++ tutorial and learning about organizing code using cpp and hpp files. I'm trying to do this example using 3 files: organizeMyCode.cpp my_computations.cpp my_computations....
Dpc2's user avatar
  • 1
0 votes
0 answers
8 views

Debug Excel Add-In using VS Code without MicrosoftEdgeWebView2 installed

I'm trying to migrate my dev env to VSCode and so far I can't get it to work if I have MicrosoftEdgeWebView2 installed. I've installed the "Microsoft Office Add-in Debugger" which I think is ...
FreeSoftwareServers's user avatar
0 votes
0 answers
33 views

Python VSCode terminal error 'is not recognised as the name of a cmdlet, function...'

I am very new to Python and VSCode. I installed vs code and Python3 with basic extensions in VScode including python interpreter. I set up a folder and workspace. I tried to run a simple print("...
Durham's user avatar
  • 1
0 votes
0 answers
18 views

Is there any way I can hide the popups in VS Code?

There's this annoying window that shows every time I type certain types of keywords like lambda or even imports from libraries. The thing is, it doesn't let me see the code that's above and right now ...
Kagune's user avatar
  • 1
0 votes
1 answer
11 views

What's the difference between webpack:/// and webpack:?

I am trying to setup launch.json in VS Code to debug Angular application. I find from online research that we need to set sourceMapPathOverrides to set source mapping path. I have seen some different ...
ethan1999's user avatar
0 votes
0 answers
11 views

zsh path is gone

I am working with a MacBook Pro. I installed Homebrew, Bash, VS Code, Oh-my-zsh and iTerminal. I am able to use the iTerminal. And, the integrated terminal on VS Code with bash. But, when I open a ...
sytrejo's user avatar
-1 votes
0 answers
10 views

Running python debugger from specific terminal in VSCode on the remote

Following issue: I'm working on the remote server to which I connect with VSCode. I want to develop my python code (mostly statistical analysis and usual matplotlib visualization, nothing too fancy). ...
raspberry_phy's user avatar
0 votes
0 answers
14 views

Starting "yarn dev" causes the bash shell to close

I'm trying to start yarn dev from bash shell like I don in terminal within VS Code on Windows. I created batch file for this with the commands below. I got to the point where the script starts the ...
theateist's user avatar
  • 13.9k
0 votes
0 answers
4 views

How can I convert a .sublime-syntax definition to a .tmGrammar.json file to use in VSCode(Monaco)?

I need to convert a .sublime-syntax definition to a .tmGrammar.json definition to use in VSCode. If this is possible then I would like to use it in an embedded Monaco Editor. The definition I'm trying ...
ty246's user avatar
  • 13
-1 votes
1 answer
16 views

I need help to be able to print/compile python code from a jupyter notebook that is running on vscode to a pdf

I have been getting error after error, and have reached my limit on how many different paths I can go down to try and fix this. I'm on Mac. i have tried installing markupsafe 2.0.1, i have mactex ...
Ethan's user avatar
  • 1
0 votes
0 answers
15 views

How can I get a list of all installed extensions in a VS Code extension for the web?

I'm trying to get all installed extensions from my extension but I'm not able to get web extensions from list. The way I'm listing using vscode extension api: vscode.extensions.all The command line ...
Leonardo Collatto's user avatar
0 votes
1 answer
15 views

Python Mailgun Question - 500 Internal Server Error

I am just learning Python and VS code and am in training. Per Mailgun documentation, I have created a sendmail script (app.py) using Python: def send_simple_message(): return requests.post( "...
Tikhon's user avatar
  • 941
-1 votes
1 answer
23 views

Python / Flask / SQLAlchemy - Tables not being created

I'm new to programing and just finished a few classes and courses, now on the way to deploy my first app. I'm using Python and Flask and FlaskSQLAlchemy. I'm trying to create the tables, but can't. ...
codebyb2's user avatar
0 votes
0 answers
6 views

I want deploy my project but facing issue?

I want to deployment of my react project and as usually I did first step npm run build and its success but next step I run npm i serve its failed and I cant able to do further process its shows me ...
Pavan P Jangale's user avatar
-2 votes
0 answers
18 views

I see this pop up after entering the symfony project directory in visual studio code, what does it mean?

[critical] Error thrown while running command "debug:container --show-private --format=json". Message: "The "--show-private" option does not exist." The "--show-...
desouvik's user avatar
0 votes
0 answers
12 views

How to Select Multiple TextMate Scopes for Custom Syntax Highlighting in PHP for Visual Studio Code?

I'm currently working on customizing the syntax highlighting theme in TextMate for PHP code. I want to achieve two things: Selecting Multiple Scopes: How can I select and modify multiple scopes ...
Neo's user avatar
  • 1
0 votes
1 answer
26 views

Format Document Not Formatting In VSCode for Python Black-formatter

Fresh install of Python and VS Code. Extensions are Python and Black Formatter. When I save I expect VSCode to format line04 = "********" to the left inline with those above it, see ...
JRichens's user avatar
-1 votes
1 answer
28 views

Match all occurrences of "console.log(" up until semicolon ";", supporting multiline in VS Code search with regex [duplicate]

I have a bunch of console.logs in my application across dozens of files and want to wipe them out with the find and replace function from VS Code using a regex match, how can I do that? Example ...
user2640145's user avatar
0 votes
1 answer
21 views

Git Pull/Push not working on VS Code server

I have a Desktop computer and a laptop. I have setup VS Code on the desktop and synced some repoes (ssh clone) and it works perfectly. On my Laptop, I ssh with same account to VS Code and opens the ...
nOrphf's user avatar
  • 15
0 votes
0 answers
10 views

VS Code dev container: configure workspace to use symbolic link rather than link target

At work we use dev containers to provide a consistent development environment to devs. Since any changes to a running Docker container don't persist over restarts, we mount a directory on the host ...
Steve Lorimer's user avatar
0 votes
1 answer
8 views

How to figure out which Prettier rule is breached in VSCode

I have a .eslintrc file that also includes prettier rules. I use VS Code to code in React and Node.js. I have the following line: const { variable1, variable2 , variable3 , variable4 } = req.body ...
Nikita Aznauryan's user avatar
0 votes
1 answer
15 views

How can I write a VS Code key binding to insert a new line when pressing space after a period?

I'm using VS Code to write LaTeX and doing version control using git. Therefore, I would like to have one sentence per line. \section{Hello} This is a sentence. This is another sentence. What I would ...
eyldlv's user avatar
  • 1
0 votes
1 answer
42 views

Executing several python files on the same interactive prompt on VS Code

I'm transitioning from Spyder to VS Code, and I'm having an issue executing ad-hoc code on an interactive session. I first save this to a tmp1.py and run the selection on an interactive window: import ...
NikoNyrh's user avatar
  • 3,578
0 votes
1 answer
11 views

Where does the vs-code-runner extension get the information to build and run Kotlin programs?

I have a simple main.kt file in VS Code: fun main() { println("Hello world"); } I tried pressing F5 (I have a Node background) and it says "You don't have an extension for debugging ...
Old Geezer's user avatar
  • 14.8k
1 vote
0 answers
14 views

Where do VS Code tunnels route my traffic

When using Code CLI and Remote - Tunnels, is the entire connection to the VS Code Server (securely) routed through GitHub/Microsoft servers? Where exactly does my network traffic go between ...
Star Lederer's user avatar
-2 votes
0 answers
63 views

Where is the Project Properties tab for VSCode [closed]

I have been trying to download the curses library for C++. I have managed to make Makefile but the next step seems to require me going into the project properties section which I can't seem to find. ...
Flynn1460's user avatar
0 votes
1 answer
30 views

Can VS Code automatically update Python import paths on file rename/move?

If I import some module from a python file and then I move/rename this file, is there a vscode setting that allows to update import statements automatically? Example: I import some file utils.py from ...
SuperTardigrade's user avatar
-1 votes
0 answers
30 views

How to avoid new line for brackets in C with .editorconfig?

I am using VS Code as my editor. I have added an .editorconfig file to my root project. This is the code in the .editorconfig file: root = true [*.c] indent_style = space indent_size = 4 end_of_line =...
morten's user avatar
  • 35
-1 votes
1 answer
18 views

VS Code not recognizing transition property

here's my html code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-...
A L's user avatar
  • 1
1 vote
2 answers
29 views

Base64 string not showing completely in VS Code Terminal using Python syntax

I am using VS Code to do python programming and currently extracting data from a mongoDB database. the data is in base64 format and i am trying to get the whole string. Unfortunately, only 8303 out of ...
Jayven Javier's user avatar
0 votes
0 answers
7 views

vscode powershell terminal do not run shellArgs on startup but if I kill it and open it it does [duplicate]

on Windows with the recent version v.1.81.x, my folder projects do not run the shellArgs when I open the projects first time, but if I kill the terminal and start it again (ctrl+j) it works and loads ...
MortenB's user avatar
  • 2,729
0 votes
0 answers
13 views

Inconsistent prompt spacing in VS Code terminal using Powershell and Starship

I'm having an issue with the appearance of my terminal prompt in VS Code when using Powershell in combination with Starship. The same configuration yields different visual outputs between the native ...
Robin Reiners's user avatar
-3 votes
0 answers
42 views

how create a web application form in vs code 2023 [closed]

I just installed vs code 2023 and I am a beginner vs code please guide me how create application web form windows in vs code 1.81 (2023)?enter image description here I want create web application form ...
mostafa majidi's user avatar
0 votes
1 answer
18 views

Regarding the issue of Analyzing… not finishing during Flutter development in VSCode

I had noticed that VSCode had been sluggish lately, but since this morning, the Analyzing… process has not been completing. As a result, I'm unable to use various features of the IDE. I tried ...
sub's user avatar
  • 101

1
2 3 4 5
1127