As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [visual-studio-code]

Visual Studio Code is a cross-platform source code editor from Microsoft.

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

Where is the ‘default debugger’ setting located in VSCode's UI?

When you create a new project and run the ‘run without debugging’ command for the first time, VSCode suggests you choose a default debugger (see screen below). Where can I change that default debugger ...
user164014's user avatar
-1 votes
0 answers
15 views

Integration services archive files [closed]

I have the first folder which is C:\Data and the second folder which is C:\Archive. In Data folder I have several subfolders. What I need is to move files from the Data folder to Archive folder while ...
Petr Klerink's user avatar
0 votes
0 answers
12 views

vscode remote environment variables don't match `.bashrc`

Let's say the $PATH variable contained /usr/bin before everything. My ~/.bashrc used to have a line like this: export PATH='/home/user/123:$PATH' Then, I changed the line to: export PATH='/home/user/...
ImACoralReef's user avatar
1 vote
0 answers
12 views

Visual Studio Code and Debugpy remote debugging - "Client Authentication Failed" Error

I am trying to perform remote Python debugging with Visual Studio Code and debugpy. I am attaching to a python script running on an oracle linux server. I am on a Windows 10 machine. Steps followed: ...
dc3jam 's user avatar
0 votes
0 answers
15 views

In VSCode remote ssh, how to change the right-click delete action in File Explorer from permanent deletion to moving files to the Recycle Bin?

I connect to remote server by ssh on vscode. The right-click delete action in File Explorer will permanently delete files of remote server. How to change the right-click delete action in File Explorer ...
buaa_cjz's user avatar
0 votes
1 answer
33 views

Visual Studio Code shortcut to close html tag

Could you please help, is there any shortcut in Visual Studio Code to complete/close html tags? For example I edit a file: <div><p>Some text | <- cursor is here, I press a hotkey and ...
ViH's user avatar
  • 103
-1 votes
0 answers
55 views

Bind shortcuts instead of typing special characters in VS Code

I want to bind some shortcuts to the combination Ctrl+Alt+L etc. in VS Code. The combinations will use Ctrl+Alt and then add an alphabet. The problem I am facing is that some of these keys type a ...
Real Noob's user avatar
  • 255
3 votes
2 answers
305 views

Can I safely disable a firewall rule added by Visual Studio Code?

I am starting web development on Visual Studio Code, and I'm using Live Server to test the resulting pages on my browser. I want also to test using my mobile phone connected on the same private ...
Rony's user avatar
  • 31
0 votes
1 answer
36 views

How to make Visual Studio Code forward caught keystrokes?

Some keystrokes are caught by Visual Studio Code (Ctrl + K for instance in my case), thus preventing the built-in terminal to receive it. How could I make Visual Studio Code forward such a keystroke (...
vmonteco's user avatar
  • 153
0 votes
1 answer
43 views

How to select text by paragraph in VS Code with a keybinding?

I've found how to customize a keybinding for jumping to the closest empty line here. But I wonder if I can, in the same way, set a keybinding for selection of paragraph or to the next empty line. I'd ...
Thibault Cimic's user avatar
3 votes
0 answers
32 views

Single Kanji alters when pasted from Illustrator to VS Code

I am encountering an unusual issue while working with Japanese Kanji characters. I use Adobe Illustrator for some of my tasks, and often need to copy text from Illustrator and paste it into Visual ...
Pascal's user avatar
  • 31
0 votes
0 answers
19 views

How to change website scale? Live Preview extention for Visual Studio Code

I use Live Preview extention for Visual Studio Code (Windows). Is there any way to change or reduce scale of website preview? I tried using Ctrl + Plus/Minus - it affects the whole Visual Studio Code ...
ViH's user avatar
  • 103
1 vote
1 answer
33 views

Is there an underlying task/service that I can restart when Discord, Chrome, Edge and VSCode all become unresponsive?

Windows 10 Pro, after a week or two of uptime I often run into an issue where several applications become unresponsive simultaneously. Best I can tell from my research, these applications (Discord, ...
humulos's user avatar
  • 11
1 vote
0 answers
68 views

Why VS Code syntax highlighting colors so dull in Windows? How can I fix it?

For a long time I have been thought that I have a bad monitor. That is why colors in VS Code have been so dull. But now I have compared Ubuntu and Windows colors and I understand that this is a ...
hisbvdis's user avatar
  • 123
0 votes
1 answer
1k views

Why it shows "User xxx is logged in on sshd“ warning when using shutdown close linux server?

I log a linux server by vscode's ssh method in Win10 (the terminal in vscode is like (base) [myname@localhost ~]$ )and I am not a super user of this server (that means I cannot use su). When the ...
4daJKong's user avatar
  • 103
0 votes
0 answers
43 views

Snowflake Execute button not appearing in VS Studio

Apologize if this is a silly question. I use VS studio to connect to snowflake. And all of a sudden when I'm coding, no execute button appears to click. Sometimes I can get it to appear but then it's ...
Timothy Batten's user avatar
0 votes
1 answer
88 views

Visual Studio Code shortcut to wrap html element into container tag

When you have a HTML tag and you want to wrap it into another html tag, what is the fastest/easiest way to do so? Since it happens quite often, I'm looking for a way to optimize it. Currently, it ...
Simon Ferndriger's user avatar
1 vote
0 answers
72 views

Jupyter notebook upper/lowercase selected part

I wonder if there are shortcut keys for converting the selected block into uppercase or lowercase letters. For example, Ctrl + Shift + U / Ctrl + U does this in Notepad++. I searched this page ...
user67275's user avatar
  • 1,860
0 votes
0 answers
37 views

How to pass Ctrl+R to the git bash terminal in Visual Studio Code? [duplicate]

Right now while in git bash terminal inside VS Code if I press Ctrl+R nothing happened - VS Code awaits for the second key of chord: Is it possible to instruct VS Code to pass the Ctrl+R key ...
mark's user avatar
  • 856
0 votes
1 answer
125 views

Opening Visual Studio Code command palette by Ctrl + P and Ctrl Shift + P

The shortcut for opening the Visual Studio Code command palette in Windows is Ctrl + Shift + P as in the screenshot. But I occasionally found out that Ctrl + P also opens the command palette. What is ...
user67275's user avatar
  • 1,860
1 vote
0 answers
12 views

VSCode Test Discovery Conflict, lib vs local

I am experiencing an issue with Visual Studio Code test discovery hoping to get some insight. I believe this is due to a conflict between the Python lib vs. local. Context I have a custom package (let'...
YTKme's user avatar
  • 40
1 vote
2 answers
40 views

What happens to a file/directory after you remove it with rm -rf but is still open in VS Code or anorhet app?

This happens me a lot. I remove directory with rm -rf but see it is still open in an application such as VS Code. My concern is that does it cause some folders to be copied for VS Code to be still ...
yokus's user avatar
  • 45
2 votes
1 answer
63 views

VScode, keybindings for integrated terminal

I've edited the keybindings.json file in vscode to avoid moving the right hand to the arrow keys adding, among the others, the following: { "key": "ctrl+j", "command&...
stew.ita's user avatar
0 votes
0 answers
163 views

How can I make the cursor in VS Code use the arrow keys in the same way as vim?

Specifically, I want it in VS Code so that when I move the arrow key to the right at the end of a line of text it just stops in place instead of jumping to the beginning of the next line. I find this ...
Ethan's user avatar
  • 77
0 votes
0 answers
38 views

How does VSCode determine which is the global and recommanded version of my python interpreter?

I use pyenv to manage versions of python on my Windows machine. When I use the VSCode command Python: Select Interpreter it detects two versions of Python: Before I change it, the default interpreter ...
Nicryc's user avatar
  • 645
0 votes
0 answers
28 views

Why is my VS Code installation of the Dracula Official theme seemingly not appearing the same as a reference screenshot?

I am trying to use Dracula Official theme in my VSCode. But I am not getting my text like the official image below. I am not getting the exact font and italic text. My texts are like below. How can I ...
abu abu's user avatar
  • 151
0 votes
1 answer
64 views

How to list (search) files with a certain name

i'm trying to get a list of all the files with a certain name in a project i opened with VS Code. For example, all the .gitignore files in my project. I know i can ctrl+p and type ".gitignore&...
aetonsi's user avatar
  • 103
0 votes
0 answers
39 views

How do I get F5 to run Visual Studio Code in ChromeOS

When running Visual Studio Code, pressing F5 will run a program. It says so in the menu and it works in Windows. On ChromeOS Flex, when I press F5 in VSCode, all the open windowed tasks are displayed ...
cup's user avatar
  • 301
0 votes
0 answers
256 views

Why is VS Code putting "C:\Windows\System32\wsl.exe -d Ubuntu -e" in front of my tasks and how do I stop it?

I have this build task: { "label": "build", "type": "shell", "command": "C:\\Users\\m\\Desktop\\qmk\\QMK_MSYS\\usr\\...
user973223's user avatar
0 votes
0 answers
14 views

VS19 Create Visual Jpeg of Code

I want to create a jpeg image of my code with black bg and white/color font as seen in dark mode. This is to get it printed and framed for my wall but I'm having such a hard time figuring it out. I ...
Stefs's user avatar
  • 1
0 votes
1 answer
75 views

VSCode won't open files from FileZilla

I used to use Atom as my editor, but recently switched over to VSCode. When I used to use Atom, I could right click on a file from FileZilla, click on "View/Edit" and it would open in Atom ...
AJT's user avatar
  • 101
0 votes
1 answer
293 views

How to externally view the PDF file compiled by a remote Linux server on a local Windows system?

I'm using VS Code to write and compile LaTeX files through the Remote series extensions of VS Code on a Linux server. How can I use an external viewer for the compiled PDF files? I was thinking of ...
Shiqinrui Xu's user avatar
0 votes
0 answers
134 views

How do I execute a remote command upoin connection with Remote-SSH in VSCode? (NOT the terminal)

The remote system is appropriately lock down except for a few folks with sudo ability. Using VSCode with the Remote-SSH extension I can connect and examine much of the directory structure however, ...
Richard Arnold Mead's user avatar
0 votes
0 answers
40 views

Ubuntu popups not showing any text anymore

I'm having problems with my Ubuntu (running on a VM). This is what I get when I try to delete or move files in VSCode for example. The popup window doesn't show any text anymore. How can I solve this ...
Samir's user avatar
  • 113
-3 votes
1 answer
237 views

How to open text files with .jpeg extension in Visual Studio Code?

I have Perl scripts that have a .jpeg file extension that I want to see the text code in Visual Studio Code when I select the file in the explorer, rather than VSCode trying to load it into the image ...
dataman's user avatar
1 vote
1 answer
37 views

How to select discontinuity (not continued/separated/not in range) text in Visual Studio code?

How to select discontinuity (not continued/separated/not in range) text in Visual Studio code? Hey, I want to select specific characters in specific lines in Visual Studio. For example, in this code ...
Eyal Cohen's user avatar
0 votes
1 answer
51 views

How can I disable changing view to cursor upon typing in VS Code?

Typing while the cursor is not on screen causes the view to scroll back to the cursor, I could not find anything in VS Code's settings nor could I find any information online on how to change this ...
SptQ's user avatar
  • 1
1 vote
1 answer
367 views

VSCode wont run code

Screenshot of error that I get The term 'gcc' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify ...
Theo 17's user avatar
  • 11
0 votes
1 answer
31 views

When debugging, Is there an Option to not focus Terminal automatically?

There are times I just need to keep my focus on the Watch panel as I debug. What keeps happening is as soon as I start start a fresh debugging session(Run > Start Debugging), foc us is given to the ...
gaberiel__'s user avatar
1 vote
0 answers
206 views

WSL alternative for Linux on Windows 11 to work with VScode

The WSL is extremely underperforming and unreliable, but it is integrated to VScode. Is there any other way to work locally on linux (Ubuntu) environment within VScode?
Alexander's user avatar
  • 243
0 votes
1 answer
108 views

How to collapse closing parenthesis to the same line as the opening parenthesis in VS Code?

When I collapse a function in VS Code, the closing parentheses are still visible: I would love to have them collapsed as they do in Visual Studio: Is there a way to achieve this?
Michael Haddad's user avatar
1 vote
0 answers
70 views

Is it possible to delete selection using mouse in vscode?

Like we can select part of text and then copy/cut/paste using Edit menu or Right Click context menu. Is it possible to delete selected text similar way in visual studio code? Please do not suggest ...
vuxig's user avatar
  • 11
2 votes
1 answer
123 views

Give focus to file when clicking on it in the Explorer View

When clicking on a file from the Explorer View, VSCode doesn't give focus to the file, so you then need to click inside that file to start typing. I'm pretty sure it was different before, and it would ...
laurent's user avatar
  • 5,949
1 vote
0 answers
89 views

How to show "symbols" for bash script in VScode?

In the following screenshot we can see that the outline tab for a bash script is empty, as it does not shows any symbols. Do I need to enable any extension for this? Any suggestions?
Porcupine's user avatar
  • 383
0 votes
0 answers
10 views

How do I remove speech popup on VS Code Intelli sense autocomplete keyboard shortcut?

How do I get this Speech Accessibility popup from getting in the way of my VS Code intelli-sense autocompletion on Mac (Ventura 13.1) every time I press the OPTION + ESC.
iamcastelli's user avatar
1 vote
0 answers
484 views

VScode not showing errors in real time

Is there any way to set VScode in a way that it shows errors in real time? So far I can only see them after compiling. I'm running VScode with WSL and I have C/C++ themes installed. I already made ...
c.leblanc's user avatar
  • 111
0 votes
0 answers
62 views

Color highlight stdout of a debugged/launched process in vscode

I am using VSCode as a main IDE. When I'm launching (or debugging) my developed software, which is usually a console application (be it either, c++, java, or whatever) I'd like to see its stdout ...
original.roland's user avatar
1 vote
0 answers
79 views

Is it possible to connect a SQL file in VS Code to a .mdb database in MS Access?

Is it possible to connect the .mdb database file open in Microsoft Access with a .sql file that you edit in Visual Studio Code? I want to be able to create seperate queries in a .sql file that I edit ...
Romans's user avatar
  • 111
2 votes
0 answers
70 views

What is the VS Code keyboard shortcut to accept a highlighted change

I'm looking to review some changes using the keyboard. I can move between changes in VS Code using ALT+F3 (Show Next Change aka editor.action.dirtydiff.next) or the previous change with SHIFT+ALT+F3. ...
frozenkoi's user avatar
  • 653
2 votes
0 answers
252 views

Running code . in WSL / Command Prompt opens two instances of VS Code [closed]

I'm working with WSL2 with Visual Studio Code by running code . in Ubuntu terminal. I'm creating an application, in the code of this application I'm using winsock2.h header. The Visual Studio Code ...
Asaf's user avatar
  • 51

1
2 3 4 5
16