Questions tagged [vscode-extensions]
30 questions
5
votes
2 answers
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`?
I have already changed the Ctrl+Shift+C keybinding so that I do not enter a terminal when I press it, see Keybinding Ctrl + Shift + C opens a new external terminal in vscode/codium on Linux, how to change the shortcut?.
Yet, this Ctrl+Shift+C does…
questionto42
- 1,861
- 3
- 21
- 52
3
votes
1 answer
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
- 413
- 4
- 18
3
votes
0 answers
Visual Studio Code all extensions are gone
I opened VS Code today, and found that all of my extensions were gone. I had signed in with GitHub with settings sync. I don't know how this happened.
Usually, I have extensions like Tabnine, Atom Material Theme, GitLens, GitHub Copilot, etc., but…
Sid110307
- 137
- 6
3
votes
2 answers
How move/copy a file from folder outside of VSCode workspace?
I have an open folder in VSCode, eg /folders/project1, this is my workspace.
I want to add a file from outside of this folder, eg /media/files/file1.
I wish there was a VSCode command that displays a file picker that I can select any file on my…
lukaszpolowczyk
- 131
- 1
- 5
2
votes
1 answer
"Unable to add module to the current project as it is not of packaging type 'pom'" - How to load a given Maven project into VSCode/VSCodium?
Since there are no stupid questions, I dare to ask this stupid question. As a beginner at 0, I do not see how to make the step 0, that is, how to stand at the starting point at all.
I stumbled upon a bug in an older Java project that now needs to be…
questionto42
- 1,861
- 3
- 21
- 52
2
votes
0 answers
R extension not formating on VScode
I've installed the VScode extensio "R" v2.5.0 by REditorSupport. After some debugging, I had it working so I could Alt + Shift + F and have VScode auto-indent my R code. Then I opened RStudio, did some stuff and went back to VScode only to find…
Mefitico
- 123
- 6
2
votes
2 answers
Visual Studio Code index files
Is it possible to let Visual Studio Code to index file content?
Right now in my C code project when I want to find some declarations or calls or just search for string in content of files in the project I have to wait a long time to get results and…
Manium
- 21
- 1
- 3
2
votes
0 answers
Visual Studio Code: Changing language syntax highlighting within a document with multiple languages
I have files with snippets in multiple different languages. I would like to change the syntax highlighting for a different blocks of code with, for example, comment blocks. Example would be:
SQL Procedure:
#sh sql
-- Establish procedure:
DELIMITER…
dxo
- 21
- 1
2
votes
1 answer
Only include a single directory in VSCode file watcher
VSCode Version: 1.47.1
Local OS Version: Windows 10.0.19041 N/A Build 19041
Remote OS Version: NAME="Ubuntu" / VERSION="14.04.5 LTS, Trusty Tahr"
Remote Extension/Connection Type: SSH
Upon connection, VSCode says
"Unable to watch for file changes…
user8491363
- 143
- 1
- 9
1
vote
0 answers
How to setup vscode C++ intellisense to use gcc compiler?
I'm using C++ in vscode with Microsoft C/C++ Extension. I'm using g++ compiler provided in msys2:
gcc --version
gcc.exe (Rev6, Built by MSYS2 project) 13.1.0
When I write this code in editor, it shows error squiggles:
*std::ranges::find(myvec,…
Sourav Kannantha B
- 121
- 6
1
vote
1 answer
How to comment HTML that already contains comments?
I'm having trouble commenting out sections of HTML in cases where the sections already have comments. This is because the closing tags of the comment syntax conflict. Is there any VS Code Extension that could ease my difficulty?
arunkumaraqm
- 111
- 2
1
vote
1 answer
gitlens how to define git path
My gitlens plugin for VSCode keeps complaining about the old git version.
In the server I have a newer git in a local folder, that prevails in bash because it is
on .bashrc using PATH (alias also tested).
There is in internet a .json setting for the…
Ferroao
- 160
- 12
1
vote
0 answers
VSCode Ansible Language extension Python not loading
I'm trying to install the "Ansible Language" Extension for VS-Code:
https://marketplace.visualstudio.com/items?itemName=zbr.vscode-ansible
It installs the following Extensions as Dependencies automatically:
Jupyter, Pylance, Python, and…
Hige Mynx
- 11
- 2
1
vote
0 answers
Getting ignoring symlink error in VSCode
I am new to the Golang and VSCode. In my code, I have golang repo having imports from other directories. So, there is a vendor directory of which I am creating a symbolic link in my repo. But all the imports are giving error and are shown in red,…
PRAJWAL BHAGAT
- 11
- 2
1
vote
2 answers
PHP error with "logger.php" - Unknown: Failed to open stream: No such file or directory in Unknown on line 0
I'm using Visual Studio Code with PHP Server extension. When I try to launch my Web application, the browser shows me this message:
Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Failed opening…
logi-kal
- 121
- 8