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
27 views

Newly installed ubuntu ( 22.04.3 LTS)can not open firefox, VS code

I installed this new ubuntu 22.04.3 LTS. Have the following problems. can not open firefox After typing firefox in the terminal, Gtk-Message:12:30:46.240: Not loading module "atk-bridge": ...
neil liu's user avatar
-1 votes
0 answers
36 views

How to run and debug C++ project in VScode on WSL Ubuntu [closed]

I am trying build and run project, but I don't know. Executing task: g++ -g /home/homa/SSAC/src/.cpp /home/homa/SSAC/bin/.cpp /home/homa/SSAC/include/*.h -mpclmul -msse4.1 -std=c++17 -Wall -...
homa khajeh's user avatar
0 votes
1 answer
54 views

Visual studio code in ubuntu

Visual studio code is getting started but not working properly in Ubuntu Visual studio code is getting started but not working properly. The screen remains blank with some outlines. I have tried to ...
Dharmist Mahato's user avatar
0 votes
0 answers
36 views

gnome-screenshot does not work from VS Code debugger, but works fine without debugger

Fresh Ubuntu 22.04.3 LTS installation, VS Code, python 3.10.12. The following python script: tmpFilename = '.screenshot%s.png' % (datetime.datetime.now().strftime('%Y-%m%d_%H-%M-%S-%f')) subprocess....
MiLa's user avatar
  • 1
0 votes
0 answers
32 views

How to fix this VSCodium error (snap)?

VSCodium error (snap) codium[2985]: segfault at 0 ip 000055e8cae07156 sp 00007ffd85391740 error 6 in codium[55e8ca93e000+75dd000] likely on CPU 1 (core 1, socket 0) Code: 30 96 fe ff f6 03 01 74 0c ...
Branislav Milosevic's user avatar
0 votes
0 answers
66 views

Problem in installing vscode

i just installed Ubuntu 23.04, installed vs code from snap and official way. but when i open vs code, that just frizzed and not working, when i use code --verbose there is a lot of error about ...
Amirmohammad Ghazi dizaji's user avatar
-1 votes
1 answer
63 views

VIsual Studio Code on Linux (Debian) environment chromebook - dependency issues [closed]

I follow the steps to install VS code on Chromebook amd64 (https://code.visualstudio.com/blogs/2020/12/03/chromebook-get-started) and get stuck on double-click on the package to launch the installer. ...
Karo's user avatar
  • 1
0 votes
0 answers
43 views

VS code running slow in ubuntu 22 on single monitor

I am running Ubuntu 22.04.2 LTS in a dual monitor setup and whenever a monitor is turned off, VS Code starts to lag in another monitor significantly It starts taking around 1-5 seconds to register key ...
user204682's user avatar
0 votes
0 answers
43 views

Some of my applications broke after a software update

I really hate to be that kind of guy, but I have struggled with this for a couple of days and its stressing me really out. I would say that I am fairly knowledgeable about technical things and not ...
Mr. WhatZitTooYa's user avatar
0 votes
0 answers
143 views

Error running Visual Studio Code

I'm trying to run VScode 1.79.2 in Ubuntu 22.04.2 but it doesn't work. Using code --verbose it shows the error message: libGL error: MESA-LOADER: failed to open radeonsi: /snap/core20/current/lib/...
ferrb21's user avatar
0 votes
0 answers
354 views

No JRE found. Please make sure $STUDIO_JDK, $JDK_HOME, or $JAVA_HOME point to valid JRE installation

My problem I downloaded Studio for Linux as a ZIP file, then extracted and moved the contents into WSL. I also downloaded default-jdk which has given me v.11 of javac and openjdk. However, when I try ...
Hadrian's user avatar
-1 votes
1 answer
82 views

Running VS Code as sudo in terminal gives loop error

When I try to run VS Code from terminal with this command: sudo code --user-data-dir=~/.vscode-root --no-sandbox I am getting gray window, and this error which goes to infinity until I stop the ...
Sasha's user avatar
  • 133
0 votes
1 answer
49 views

Does Ubuntu Studio require or recommend its own packages for node, react, python core or libraries?

I use Blender weekly and Darktable, OBS, Krita enough to consider Ubuntu Studio as the heart of a new workstation I'm building. VSCode with one or more node, react, python Workspaces are running 100% ...
smcnally's user avatar
  • 196
1 vote
0 answers
126 views

Unable to launch VsCode

I tried to launch vscode several times from my project directory. This is the error I get each time: /snap/code/129/usr/share/code/bin/code: 62: /snap/code/129/usr/share/code/bin/../code: not found I ...
kowshik96's user avatar
0 votes
2 answers
772 views

dotnet new console not working [Ubuntu 23.04]

I am trying to install .NET SDK to use with VS Code. When I type dotnet new console the following is returned: The command could not be loaded, possibly because: * You intended to execute a .NET ...
chribonn's user avatar
  • 271
0 votes
1 answer
245 views

How to fix Ubuntu out of focus (dialog) windows for VSCode, (Chrome based) browsers, and Typora app and other apps?

Apps like Visual Studio Code and Typora have the open and save dialog windows opened behind the programs. And in the Brave and Chrome browsers I use the save as dialog window is out off focus, so I ...
RobbieFM's user avatar
0 votes
0 answers
10 views

Include Path error in VS Code in Repo pulled from GitHub

I recently cloned a repo from Github which was made by me and pushed to github using windows. Now, when I run any code file from the repo in VS code it gives me include path error.enter image ...
Rajat Sharma's user avatar
0 votes
1 answer
187 views

Having issues installing Miktex (and compile Latex code)

I believe I have installed Miktex, because when I run miktex --version I get One MiKTeX Utility 1.7 (MiKTeX 23.4) However, I cannot run simple latex code. I tried sudo apt-get update but surprisenly I ...
hanava331's user avatar
0 votes
0 answers
471 views

libGL error: failed to load drivers iris and swrast in Ubuntu 22.04

I'm trying to run a pong game (pygame) in Python (VSCode) using a conda environment and I get this: pygame 2.3.0 (SDL 2.24.2, Python 3.9.16) Hello from the pygame community. https://www.pygame.org/...
Junjul's user avatar
  • 1
0 votes
0 answers
40 views

White Bar in the beginning of a line in VS code

In vs code whenever I write codes, in the beginning, there is a white bar in the line. And I can't write any code until it gets removed by clicking S. It's annoying. Can anyone help me to fix it?
Arman's user avatar
  • 1
0 votes
1 answer
79 views

Ubuntu 22.04 lags and auto-close application with just few applications open

I'm relatively new to the Linux ecosystem and have Ubuntu 22.04 installed alongside Windows 10 on my computer in a dual boot configuration. Primarily, I use Ubuntu for web development, I usually have ...
parampampam's user avatar
1 vote
2 answers
1k views

Visual Studio Code shows a blank screen while trying to run it as superuser

I tried to run VSCode as root. It actually launched successfully, but it shows just a blank screen. I tried running it as superuser via the command sudo code /var/www/html --user-data-dir='.' --no-...
syrok's user avatar
  • 21
0 votes
0 answers
16 views

VS Code Server getting stopped when typing any key in .py file

I am currently using Ubuntu 20.04. For coding I am using VS Code Server. I am launching it from the terminal with ./code-server. Below is the URL when the server is launched. http://127.0.01:8080 #...
user1678109's user avatar
1 vote
2 answers
171 views

Can't run VSCode as superuser

I am trying to run VSCode as a superuser in Ubuntu 18.04, It's solely in a lab environment to allow me to work with Ansible. Every time I load VSCode as superuser I get a white screen and nothing else,...
simon clarke's user avatar
0 votes
0 answers
16 views

Using Ubuntu 20.04 in VS code [duplicate]

When I open my VS code it's currently starting a terminal using Ubuntu 18 on WSL2. I want to update it to Ubuntu 20 and I think I have installed it correctly as when I run lsb_release -a I get: ...
user2953989's user avatar
0 votes
1 answer
137 views

VS Code estensions don't work in Ubuntu

hello guys i have a problem, when i download this background extension in vs code a message pops that says and then after i retry with admin tho when i try on windows i get no problems , i did ...
Elvi's user avatar
  • 1
0 votes
0 answers
46 views

What's the difference between the two vs code packages in the software center?

pic See screenshot - it's code insiders, and just 'code'. Is the just code one - code oss? What's the difference between these two? Why is it called 'code' and not Visual Studio, or Visual Studio Code?...
user20982182's user avatar
0 votes
0 answers
65 views

I have problem when saving codes in VSCode

I just migrated to Ubuntu. I have a problem when saving codes in VSCode. It keeps asking me to enter the password. It seems that this problem occurs when working with Docker.
Joseph's user avatar
  • 1
0 votes
0 answers
70 views

I cannot login to azure with vscode with Ubuntu 22.04.1 LTS

I have Ubuntu 22.04.1 LTS, I have vscode from snap, latest, 1.74.3, I have azure functions extension 1.9.0, I cannot login to Azure from within vscode to deploy functions. The Firefox browser starts, ...
Wojtas.Zet's user avatar
5 votes
0 answers
223 views

How can I make VSCode's "**Save As**" dialog open in focus and on top of all other windows?

Currently, saving new files from VSCode to any VSCode Workspace triggers a system notification -- '"Save As" is ready' -- and opens VSCode's "Save As" dialog behind current windows....
smcnally's user avatar
  • 196
2 votes
0 answers
766 views

Ubuntu keeps crashing when using VSCode and Firefox

Ubuntu 22.04 keeps crashing and freezing mostly when I'm using my web browser and VSCode and Android emulator. I've tried updating it, but the problem persists. Details about my PC are shown here:
LuckyME's user avatar
  • 21
0 votes
1 answer
1k views

How to properly create .config files to launch electron apps in native wayland? [Ubuntu 22.10]

While using fractional scaling, electron apps are blurry. To fix that I used the following flags $code --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=...
Mihir's user avatar
  • 97
0 votes
0 answers
27 views

error trying to overwrite cp: overwrite '/root/./fablo-config.json'?

i'm trying to follow this steps to install fablo for hyperledger fabric on vs https://github.com/hyperledger-labs/fablo#managing-chaincodes but when i try this command it shows error message ./fablo ...
Bushra's user avatar
  • 1
0 votes
0 answers
236 views

"VS Code closed unexpectedly" error message pops up but it still runs

I had a VS Code window opened with an .ipynb file inside and suddenly i got two error messages in a row with difference of about 20 secs which said something like "vs code unexpectedly closed&...
6sful's user avatar
  • 1
1 vote
1 answer
206 views

Google Drive opens in VS Code

I added my Google account in the Online services in Ubuntu Unity 22.10. My Google drive showed up in the launcher, and was working fine until I installed VS Code. Now, clicking on the Google drive ...
Archisman Panigrahi's user avatar
0 votes
1 answer
47 views

Visual Studio Code doesn't start in Ubuntu

I had been using VSC in Ubuntu 18.04 LTS for some time until it refused to start since recently. Ubuntu Software shows it's up to date but with a warning (see the picture). I can try to remove and ...
fiedel's user avatar
  • 1
0 votes
1 answer
750 views

VS Code UI shows no text

I'm new to Ubuntu Desktop. I installed VS Code via official website. After installation, I tried to run, but the app shows no text at all. I don't know if it's related to fonts, but when I watched ...
Mostafa Al Belliehy's user avatar
0 votes
0 answers
37 views

I am trying to reset vscode setting but it's not resetting properly

I have tried all steps below (the major problem is a terminal icon is not visible at the left bottom of the screen in vs code) steps that followed 1.$sudo snap remove vscode 2.$sudo apt-get purge code ...
Ajay Kumar's user avatar
0 votes
1 answer
477 views

Open vscode as superuser ubuntu 22.04

I have tried sudo code --user-data-dir="~/.vscode-root" but then I got the black screen when vscode was opened. It's any other way to open vscode as superuser?
dennis0406's user avatar
0 votes
0 answers
65 views

VSCode does not open file immediately

I am on an Ubuntu 22.04 LTS, my VSCODE installation is fine. On its first uses, when pressing CTRL + O it immediately opens the search file dialog box / window. But then after a few days using ...
Frederick G. Sandalo's user avatar
0 votes
0 answers
13 views

Not typing sudo password everytime in terminal and apps like vscode [duplicate]

I'm new to Ubuntu, i'm running the 20.04 version. I'm using vscode and bash for creating some Symfony apps. The thing is that every time i try to save my work i have to type the sudo password and ...
remi59's user avatar
  • 1
0 votes
1 answer
548 views

Visual studio code command doesn't work on WSL 2

For some reason, when I type the command code . from a WSL terminal I have the message: Command is only available in WSL or inside a Visual Studio Code terminal. After some research, I tried to fix ...
SanglierAlbinos's user avatar
0 votes
0 answers
362 views

Visual Studio Code: The SUID sandbox helper binary was found

I have installed VS Code in Ubuntu 20.04 using apt-get install code. It is showing on the applications list, but it is not starting if I click on it. Also on the terminal it's not starting using code. ...
Pride Chimwaya's user avatar
3 votes
2 answers
11k views

Unable to run sudo in VS Code Terminal

When trying to run commands as sudo, I get an error sudo: The "no new privileges" flag is set, which prevents sudo from running as root. sudo: If sudo is running in a container, you may need ...
Siamore's user avatar
  • 754
1 vote
2 answers
75 views

VSCode Update 1.70 to 1.71 issues

VSCode new update 1.71 is available. I currently have VSCode 1.70 I download the .deb package for ubuntu and VSCode will not update. Similar questions have been asked and most popular response is to ...
Sam Morrison's user avatar
0 votes
0 answers
576 views

VScode freezes my laptop in ubuntu 22.04.1 LTS

When I run vscode everything works fine. After a short period of time, the laptop gradually slows down until it freezes completely. I thought the problem was in the system, but on this site I found ...
Abdelkader Elshahawy's user avatar
0 votes
1 answer
287 views

Best way of building a Ubuntu CMake app as cross platform on Visual Studio 2022 Community Ed. c++?

Questions: Are there CMake differences between Ubuntu 22.04 and Visual Studio 2019 Comm Windows 10/11? Aside from CMake version minimum 3.20 for VS2019, I had been using 3.23 on Ubuntu. Qt required ...
Sildeag's user avatar
  • 153
0 votes
1 answer
308 views

Visual Studio Code freezing when second screen is put as primary display on Ubuntu 22.04 LTS

When I set the primary display to the second screen, VS Code start to freezing on that screen but not on the built-in display, when I change the primary display to the built-in display, the VS Code ...
Bernardo Moraes's user avatar
1 vote
2 answers
812 views

How to find the directory of VSCode after snap installation

I've installed VSCode using sudo snap install --classic code but when I search for "Visual Studio Code" or "vscode" on the GUI search, nothing pops up. How can I find the directory ...
agawaga's user avatar
  • 11
1 vote
1 answer
936 views

How to add "Open in Code" for a folder in Ubuntu 20.04?

I want to know is there a way to add an option "Open in VS Code" for Right Clicking a folder in Ubuntu 20 (Focal Fossa). I know its possible for a file using Nautilus but is it possible for ...
Aman Ahmed Siddiqui's user avatar

1
2 3 4 5 6