New answers tagged visual-studio-code
2
votes
Accepted
Why does running Visual Studio Code from the Run dialog open a cmd window?
If you open it from Start menu, you're launching a shortcut to C:\Program Files\Microsoft VS Code\Code.exe GUI app. You can verify that by going to the location of the shortcut and checking its ...
0
votes
Using Visual Studio Code with SumatraPDF to open LaTeX source files
Forward/Reverse Search is a PDFTeX mechanism for "PDFsync"ing (very much like temporary Hyperlinks in the PDF)
ForwardSearch [
HighlightOffset = 0
HighlightWidth = 15
...
0
votes
VScode, keybindings for integrated terminal
You can use:
"when": "editorTextFocus || terminalFocus"
which will work when the editor or terminal is focused.
You can find all available contexts including terminalFocus here. ...
0
votes
Accepted
When I drag and drop multiple files into VS Code, I have to click on them one by one for them to load. How can I make them load automatically?
There have been a handful of bug reports on this, where dragging files into VS Code and trying to immediately search them doesn't work. A workaround would be to open a new window, drag a folder from ...
2
votes
Accepted
Visual Studio Code shortcut to close html tag
You need to install this extension: https://marketplace.visualstudio.com/items?itemName=Compulim.compulim-vscode-closetag
To close tags without moving cursors or selections, press Alt + Shift + . to ...
0
votes
Using Visual Studio Code with SumatraPDF to open LaTeX source files
You need to install the LaTeX workshop package and configure it so the inverse search works correctly. Instructions are outlined in the LaTeX Workshop wiki.
What you need to do
Firstly, you need to ...
2
votes
Can I safely disable a firewall rule added by Visual Studio Code?
The Microsoft article
Configure Windows Firewall for remote debugging
gives precise instructions on what you need to do:
In Windows Start menu, search for and open Windows Firewall with Advanced ...
2
votes
Can I safely disable a firewall rule added by Visual Studio Code?
Explicit "Block" rules in Windows Firewall always take priority over any kind of "Allow" rule.
The rule was not added by VSCode itself. Usually a "Block" rule gets added ...
-1
votes
How to connect SageMaker notebook from VS Code?
(studiolab) studio-lab-user@default:~$ conda install -y -c conda-forge code-server.
(studiolab) studio-lab-user@default:~$ code-server --auth none.
Give it a few minutes(around ~3min) to load. Boom VS ...
1
vote
VSCode won't open files from FileZilla
Its because FileZilla doesn't have permissions to the location that the file is being downloaded to. Since 10.15 Catalina default security has been tightened up a lot, apps don't get permission to ...
0
votes
Accepted
How to make Visual Studio Code forward caught keystrokes?
In the current version, you can:
enable terminal.integrated.sendKeybindingsToShell - this will send most keybinds to the shell, some of them are still skipped.
edit terminal.integrated....
0
votes
Only include a single directory in VSCode file watcher
I found that this problem is due to the directory level on which you open your file explorer. That is, when you open the file explorer, VS code auto-fills the directory to open with /home/...
0
votes
Accepted
How to select text by paragraph in VS Code with a keybinding?
You need to bind cursorMove command with proper args. To bind:
selecting from cursor to next blank line with Ctrl + Shift + Down
selecting from cursor to previous blank line with Ctrl + Shift + Up
...
1
vote
Accepted
How to `Ctrl+C` copy to the system clipboard using vscodevim extension in vscode/codium without using the `v` mode's system clipboard register `"*y`?
Seems like you just don't want vim to override the Ctrl key. To do this for any vim key bindings, you can just go to the vim settings (search for vim ctrl) and disable Vim: Use Ctrl Keys
0
votes
Is there an underlying task/service that I can restart when Discord, Chrome, Edge and VSCode all become unresponsive?
I have encountered such problems before.
They are usually caused by a lack of some resource, by a memory leak or
similar. Such problems can be extremely hard to diagnose, and if the
problem is with ...
0
votes
"Go to function" command in Visual Studio Code?
You can use : to classify symbols by type
Eg: @:your-function
Refered from https://stackoverflow.com/questions/60278165/vs-code-go-to-symbol-nowv1-42-showing-variables-object-and-properties-how-to
...
0
votes
How to switch the cursor between terminal and code in VSCode?
Very convenient way to switch between editor and terminal with maximize the window by the default shortcut Ctrl+`
{
// disable default rule
"key": "ctrl+`",
"...
1
vote
Accepted
Why it shows "User xxx is logged in on sshd“ warning when using shutdown close linux server?
A single SSH connection can carry multiple "channels" – interactive shells, non-interactive commands, SFTP, and so on. When you set up a remote connection via VSCode, even though you don't ...
Top 50 recent answers are included
Related Tags
visual-studio-code × 780windows-10 × 53
linux × 47
macos × 39
keyboard-shortcuts × 39
terminal × 33
python × 33
powershell × 28
git × 28
vscode-extensions × 27
windows × 26
ssh × 26
bash × 24
visual-studio × 21
windows-subsystem-for-linux × 20
ubuntu × 18
java × 15
ide × 14
intellisense × 14
javascript × 13
text-editors × 13
c++ × 13
shell × 10
php × 10
node.js × 10