Questions tagged [visual-studio-code]

Visual Studio Code is a free, cross-platform, open source code editor provided by Microsoft.

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

Visual Studio Code - looking for an old vi command equivalent

Grew up on, and loved the old unix vi editor. Now using VSCode. vi has a command to 'mark' a spot within the file you're editing. Hit m, then a label for the mark, a thru z, so you had 26 marks to ...
user avatar
  • 1
0 votes
0 answers
29 views

GJS imports source files

I'am writing my own small extension for GNOME. For an IDE i use Visual Studio Code. As usually at the beggining of extension.js there are some imports: const Main = imports.ui.main; const St = imports....
user avatar
0 votes
0 answers
23 views

PlatformIO failing to install in VS Code

Installed VS Code and unable to install platformIO. This is the error I am getting: Error: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not ...
user avatar
  • 111
0 votes
0 answers
8 views

Why does VSCode send a system notification when opening a file dialog?

When I create a new file in vscode and then hit ctrl+s to save the untitled file, instead of opening the file explorer window directly, it instead sends a system notification that says... "Visual ...
user avatar
  • 373
0 votes
0 answers
18 views

Visual Studio Code saves file as root ownership when not intended

I'm not sure if this is a bug or update/user setting change where on file save, it would change the file ownership to root, causing me to having to chown back to my own local user. Has anyone else ...
user avatar
0 votes
0 answers
14 views

how to add a user to access vs code in ubuntu installed with Windows subsystem for Linux?

I have recently began using ubuntu using the windows subsystem for Linux. The root user has access to the vs code using the remote development extension pack in vs code but I don't know how to access ...
user avatar
0 votes
1 answer
9 views

VS Code CPP Extension hogs up the CPU constantly / Infinite loop in the Intellisense process

I'm working with vs code and it's cpp extension under Ubuntu 18.04. However after starting the app one CPU is under full load, although I'm not doing anything. The CPU fan is driving me crazy! The ...
user avatar
  • 2,529
0 votes
1 answer
83 views

How to fix 'Permission denied' error when installing Visual Studio? [duplicate]

Got this error while trying to install Visual Studio code: Download is performed unsandboxed as root as file '/home/omar/Downloads/code_1.67.2-1652812855_amd64.deb' couldn't be accessed by user '_apt'...
user avatar
0 votes
0 answers
83 views

Unable to launch Firefox debugger from VSCode "Your Firefox profile cannot be loaded"

I'm using Firefox 100.0.1 without problems on Ubuntu 22 however when I try to launch a debugger from VSCode I get the following errors: Your Firefox profile cannot be loaded. It may be missing or ...
user avatar
0 votes
0 answers
81 views

run visual Studio sln file in ubuntu

I have a project of c++ with .h files which were made in windows visual studio and have .sln file also, Now I want to run the whole project in ubuntu, I actually want to run the .sln file here so that ...
user avatar
0 votes
1 answer
288 views

vscode git not working "folder currently does not have a git repository"

vscode: I cannot see anything in my git panel for vscode. vscode integration for git does not work. When I open up my old git directory on my data drive, it says: the folder has no git and cannot ...
user avatar
0 votes
0 answers
107 views

Why is VS Code not working on Ubuntu 21.10 LTS?

I've been using ubuntu 21.1LTS all along and VS Code for all my projects but suddenly, it doesn't work anymore. I can see the icon among my apps but when I double click, nothing happens. Is there a ...
user avatar
0 votes
0 answers
40 views

Language Support for Java(TM) by Red Hat

I have a problem with "Language Support for Java(TM) by Red Hat" on VSC. The error msg: "The Language Support for Java server crashed 5 times in the last 3 minutes. The server will not ...
user avatar
0 votes
0 answers
465 views

How to specified pharPath on VSCode settings.json file in Ubuntu 20.04, for using PHP Formatter extension?

I have installed PHP Formatter extension on VSCode. I' trying to Format Document but I have this log: Neither a pharPath or use of Composer was specified. Aborting... I installed php based on Ondrej ...
user avatar
  • 101
0 votes
0 answers
197 views

How to run php code in VSCode in Ubuntu 20.04, when it was installed with XAMPP server?

I want to execute php files on VSCode (php was installed with XAMPP server), so I find the executable path of my php with whereis php, after this I got: php: /opt/lampp/bin/php , so on VSCode settings....
user avatar
  • 101
0 votes
1 answer
87 views

Change default directory in terminal started with shortcut but not in visual studio code

I'd like to start in a different directory when I open a terminal using ctrl + alt + T. I've already tried the method adding a line with cd command in .bashrc. It works well, but then when I open ...
user avatar
1 vote
0 answers
54 views

Are there any pre-built code-oss binary package available?

I need the open-source build of VSCode 'code-oss' and I do not want to compile it - just want a deb package. Is it available anywhere? I am not looking for VSCodium.
user avatar
  • 111
0 votes
1 answer
52 views

Can't launch Teams as root on Ubuntu

I'm using Ubuntu I just installed Teams Desktop and VisualStudioCode. I can launch and use these software with normal user account but impossible to launch them on my root account. Can't find anything ...
user avatar
1 vote
0 answers
112 views

Flatpak and Snap apps open vscode instead of the file manager

I am running Kubuntu 20.04 and Flatpak 1.6.5. Dolphin is my default File Manager when I open a directory from a Flatpak app such as DropBox or Cryptomator, it opens it in Visual Studio Code instead ...
user avatar
  • 493
0 votes
0 answers
103 views

Scrolling with touchpad in vscode is jerky

I have installed Ubuntu 20.04 on my old Mac book pro from 2015. I am experiencing issues with scrolling with the touchpad with 3rd party applications. Now matter how fast or "long" I swipe ...
user avatar
  • 115
2 votes
0 answers
367 views

C++ fmt library not working

Hi guys I'm a C++ beginner and I just found that the fmt lib is really interesting. But I ran into a problem when trying to use it. I used homebrew to install fmt lib brew install fmt .I check the fmt ...
user avatar
0 votes
0 answers
32 views

VSCode (Codium) is beating my FTP server to death

Below is a small sample of my FTP server's log. It shows Codium (VSCode without the M$ tracking) searching my FTP server in every folder I select after opening a javascript file: (000020)2/16/2022 15:...
user avatar
0 votes
1 answer
118 views

Warning during Snap application install

I have Kubuntu 21.10. To install VSCode from Snap: I open Discover search for vscode click on 'Install from Snap' enter sudo password the following warning appear: This Snap application i not ...
user avatar
  • 111
0 votes
1 answer
199 views

Getting org.freedesktop.DBus.Error.AccessDenied error only in VScode integrated terminal - connecting ZSH with spotify

I've edited powerlevel10k ZSH theme to show songs currently played by Spotify in terminal window - works perfectly, except of VS code integrated terminal. Both Spotify and VS code are installed via ...
user avatar
  • 11
1 vote
2 answers
1k views

I cannot open Visual Studio Code using terminal on WSL Ubuntu

I am pretty sure, I have VS code on my WSL Ubuntu. But when I run the command code to open VS code it does not seem to work. I have also tried running the following command: sudo apt install But I ...
user avatar
  • 11
0 votes
1 answer
337 views

Can't install Visual Code on Ubuntu

I recently installed Ubuntu and I am new to it. Now I wanted to program with Visual Code but the problem is I can't download it. I tried sudo apt install ./<file>.deb (with my file path of ...
user avatar
1 vote
0 answers
46 views

R processes stuck in memory from last Jupyter in VS Code session

I have noticed that I often will have multiple R processes still running, and occupying a significant amount of RAM, even if I closed all applications that I use for R. For the most part I use VS Code ...
user avatar
-5 votes
1 answer
53 views

Coding on VS code [closed]

Hello this is my first time to learn C by a book But The code doesn't give output I installed build essential What should I do ? int main() { printf("Hello World!"); }
user avatar
1 vote
1 answer
456 views

Unable to open visual studio code when inside sshfs mounted drive UBUNTU WSL

I've been having trouble with opening visual studio code. The scenario is that I have a server filesystem mounted in my local pc (UBUNTU WSL) using SSHFS. In normal cases, I can open file using visual ...
user avatar
0 votes
0 answers
104 views

I cannot use VS Code with Remmina over VNC, because CTRL keys do not work

I cannot run VS Code locally and and use Remote SSH developement, because I am using the Tails OS on my local machine. But it should be straightforward to use VS Code remotely through VNC. So I am ...
user avatar
1 vote
0 answers
139 views

ls -a or ls -lR shows empty result

at my /usr/local/lib/python3.8/dist-packages, I run sudo ls -a and it shows empty: $ sudo ls -a . .. With ls -lR it also shows empty: $ sudo ls -lR .: total 0 But there is actually stuff there when ...
user avatar
0 votes
1 answer
93 views

Start Visual Studio Code maximized from Bash

I am working on a project consisting of several components, which are separately opened in different Visual Studio Code instances, running on different displays. In order to set everything up more ...
user avatar
3 votes
1 answer
139 views

How to update a program based on a downloaded file

I want to update VS code without updating all applications. And I want to do it through terminal By the downloaded file of newest version. can I somehow introduce the file.deb in my memory as the ...
user avatar
0 votes
1 answer
365 views

git cant authentication

I'm a developer that has switched to ubuntu and I can't get git to work. I have logged in to git but I still get > git push origin main:main remote: No anonymous write access. fatal: Authentication ...
user avatar
  • 1
0 votes
1 answer
187 views

Failed to save '.env' file: Unable to write file

I'm trying to save changes to a file in VSCode but suddenly getting this error- The project folder is located in Local Disk partition on my hard disk, and it is mounted on startup as can be seen- ...
user avatar
1 vote
1 answer
295 views

I'm having trouble with the shell in Visual Code Studio in WSL

I'm a Visual Code Studio user. I have used the CMD default shell in Visual Studio Code but I passed on ubuntu a few days ago. So I also change the Visual Studio Code default shell by replacing it with ...
user avatar
  • 11
0 votes
1 answer
154 views

Open vscode from script in ubuntu

I am trying to create script to open VSCode in the current directory but I am not abe to do it for folder consist of spaces. For example if location is 'home/documents/code'. it is able to open ...
user avatar
  • 1
0 votes
1 answer
96 views

Why doesn't Visual Studio Code display that it is running on Ubuntu 21.04 taskbar?

When I start Visual Studio Code in Ubuntu 21.04 I do not see the indicator on the task bar that it is actually running. Notice that you can see that Thunderbird, FireFox & terminal have open ...
user avatar
  • 1,068
2 votes
1 answer
2k views

How to change the default directory that WSL Ubuntu terminal (on Windows 10) opens with

I installed the WSL Bash on Windows 10 so it can act as my terminal in VScode, but the default directory is ~/home/USERNAME I would like it to be /mnt/c/Users/USERNAME (so on my windows domain side) I'...
user avatar
  • 21
0 votes
0 answers
28 views

How to reach my desktop directory from Ubuntu Bash. (my c/ drive) [duplicate]

I am trying to open up questions, saved on my desktop, given to me to open in VS code to Ubuntu to ruby. Because Ubuntu does not have the file saved in it, I can not use the integrated terminal to run ...
user avatar
  • 1
1 vote
0 answers
25 views

"Open with" defaults to previusly used application

When I right click desktop file with .code-workspace extension (saved VS code worskapce) and select "Open With", VS code opens automatically instead of showing list of options. The default ...
user avatar
  • 53
0 votes
0 answers
1k views

Failed to connect. Is Docker running? (Vs Code)

I get this error in Ubuntu in vscode and I can't see my images in vscode. I run sudo docker ps -a and everything is OK on terminal! What should I do to solve this problem?
user avatar
  • 43
0 votes
0 answers
49 views

VS code: Enabling word wrap in snippets

I added some snippets for glsl, but I can't fully read them since they don't wrap. Is there anyway to enable word wrap in the snippets? I tried enabling Word Wrap in the settings, but to no avail.
user avatar
1 vote
1 answer
647 views

Live Server in VS Code Ubuntu does not automatically open the browser tab. Need Help

I am using VS Code in Linux. The OS Details are given below NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" Here's a brief description of what the issue is - I installed the ...
user avatar
0 votes
0 answers
29 views

VSCode icon is existed, but won't run after click on and code" command not found

Just installed miniconda, reinstalled NVIDIA Driver and manually set up the environment for TensorFlow-GPU. After that, some of my applications had gone: my default text editor (command: "gedit&...
user avatar
  • 1
0 votes
0 answers
103 views

VSCode /etc/fstab permission denied, no access to network folders

I installed today's (29.09.2021) version of vscode via the Ubuntu Software Center. Version: 1.60.2 7f6ab5485bbc008386c4386d08766667e155244e x64 I cannot open a folder form a network share, when I ...
user avatar
  • 93
1 vote
0 answers
47 views

How to open links from terminal-logs in vs-code?

How can I configure the default ubuntu terminal to identify file locations in the logs (for example: stack-traces) and be able to open them in my current opened VSCode instance? In MacOS, I configured ...
user avatar
  • 111
0 votes
0 answers
69 views

Vs-code not working properly after Ubuntu upgraded

I'm using ubuntu 21.04. I used to work with vscode for my projects, but after I upgraded the ubuntu from 20.04 to 21.04, some applications did not work properly and vscode is one of them. The logs in ...
user avatar
2 votes
1 answer
549 views

How to open files with name starting in "." in a program

Let's say I already a open Gedit window and I want to edit the file .bashrc, which I haven't edited recently. I should click on the 'Open' button, navigate to my home directory and click on the file ...
user avatar
  • 53
0 votes
0 answers
71 views

My installed mssql extension visual studio code is not running in Ubuntu?

MSSQL extension part of Microsoft. I used in WIndows 10 2 years ago. it worked good. But i can't run the database in Ubuntu. What should i do?
user avatar

1
2 3 4 5