People who code: we want your input. Take the Survey

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
0answers
13 views

Modifying VSCode's CSS: Snap read-only

I have installed a package for adding themes to VSCode. It overwrites its CSS, and is asking to run the following command to be able to do so: sudo chown -R $(whoami) /snap/code/65/usr/share/code/...
0
votes
1answer
36 views

VS Code React installation issues

$ npx create-react-app my-app npx: installed 67 in 8.478s Creating a new React app in /home/unaiz/Desktop/mango/my-app. Installing packages. This might take a couple of minutes. Installing react, ...
0
votes
1answer
59 views

Freezes while frontend development

I use Ubuntu 21.04. I'm working on an angular application using Visual Studio Code as my editor and Google Chrome for testing on an ASUS VivoBook s15(i7-8thgen, 8gigram, 250ssd). I use ng serve... ...
0
votes
1answer
15 views

Terminal not outputting result in Visual Studio Code

I'm fairly new to programming and I'm learning Node.js. When testing my installation of node.js and VS code, I just wanted to run a console.log('Hello');, but the terminal is not outputting anything ...
0
votes
0answers
19 views

Ubuntu is not giving the Monkey Patch a VsCode Plugin permissions

Hello i am facing an error with my vs code i am trying to customize it using a plugin called monkey patch and it shows me this eroor message NOTE: it was working fine but i did a new installation and ...
0
votes
0answers
52 views

How To Setup VSCode , Python interpreters?

new to linux , coming from windows 10 , had vscode setup on it , now vscode asks me to select a python interpreter, but i have a fresh install of ubuntu check the screenshot first, so why does it show ...
0
votes
1answer
33 views

code-server cannot find nodejs

I had a problem while trying to run code-server (visual studio code on browser), I installed it correctly via the manual process, but every time I try to run it I get this error: /usr/bin/code-server: ...
0
votes
2answers
129 views

How to make Ubuntu 18.04 and Visual Studios run faster?

I am new to Ubuntu Linux and just installed version 18.04 on my computer alongside Windows in dual-boot mode. However, after three weeks, Linux started to be very slow, and it will even crash a few ...
0
votes
1answer
260 views

Getting .NET Core SDK not located error when I open a script in VS Code in Unity3D. All solutions on Google only work for Windows and not Ubuntu 20.04

The .NET Core SDK cannot be located. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path. This is what the popup screen looks like in VSCode That's ...
1
vote
1answer
28 views

Kubuntu: Web browser download 'Show in folder' opens in Visual Studio Code instead of Dophin

Since installing Visual Studio Code, when I download a file using a web browser (Brave in this situation), the option 'Show in folder' opens Visual Studio Code instead of the expected (and default) ...
0
votes
0answers
84 views

Visual Studio Code and Bash

I just started learning how to use Linux based systems and bash ,I installed VS Code and added extension Bash Debugger by rogalmic but after executing this simple program: #!/bin/bash echo "Hello ...
0
votes
0answers
25 views

Need help with multiple pythons and “path” to the one that I am looking for

I used ls -l /usr/bin/python* >> pythons.txt to generate the following text file:- lrwxrwxrwx 1 root root 9 Feb 8 08:41 /usr/bin/python -> python2.7 lrwxrwxrwx 1 root root 9 Feb ...
2
votes
0answers
214 views

Bash script to start venv in VSCode from Ubuntu Desktop

I'm following a tutorial from a Windows guy creating a bash script to start Virtualenvironment in VScode. I try to do the same thing under Linux Ubuntu 20.10. I use last version of VSCode (1.53.2) I ...
0
votes
0answers
53 views

multiple keys keyboard shortcut in ubuntu like vscode

I really liked how VScode keyboard shortcuts work, for example, to open keyboard shortcuts in vscode we do Ctrl+K Ctrl+S. I really like these multi-key keyboard shortcuts because it gives a wide range ...
0
votes
0answers
60 views

Visual Studio Code intellisense with Unity not working

I'm having trouble setting up IntelliSense on vs code. specifically for unity editor. installed mono but I get this error when I run sudo update: N: Skipping acquire of configured file 'main/binary-...
0
votes
1answer
97 views

Getting around errors with snap in order to install VSCode

I am following the instructions here to install VSCode, but I get an error on the very first line. It is written at snapcraft that "If you’re running Ubuntu 16.04 LTS (Xenial Xerus) or later, ...
0
votes
0answers
26 views

Visual Studio Code not syncing my settings in Ubuntu 20.04

When i'm trying to turn on setting sync.. it shows this error : " Error while turning on Settings Sync. Please check [logs] for more details. " What could be the issue?
1
vote
0answers
223 views

vscode does not want to launch

I tried to launch VScode but it failed. i tried to launch it from terminal running code and the output was this $ code /snap/code/52/electron-launch: line 28: /snap/code/52/usr/lib/x86_64-linux-gnu/...
1
vote
1answer
514 views

How do you install VS Code in Windows Subsystem for Linux 2?

how do you specifically install VS Code in WSL 2 using Ubuntu distro. It seems it doesn't work for me. Visual Studio Code is officially distributed as a Snap package in the Snap Store. However, when I ...
0
votes
0answers
76 views

Duplicate sources.list.d entry keeps coming back after being deleted

When I run apt update I get something like this: ... W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/packages_microsoft_com_repos_vscode.list:...
0
votes
0answers
18 views

My electron Apps show “NORMAL” in top right [duplicate]

I use some electron apps, like every body, and i have a pixel "NORMAL" on top right corner of some of Apps, and inside menu of menubar. Screens of apps with NORMAL: Ferdi Visual Studio Code ...
1
vote
1answer
2k views

How to install glibc and glibcxx on Lubuntu 20.04

I want to install GLIBC and GLIBCXX as they are mentioned as "Additional requierements" to install Visual Studio Code. As stated in the title, I'm using Lubuntu 20.04 When search about it, I ...
0
votes
1answer
322 views

How to edit VSCode settings? ctrl + s DOES NOT WORK with React

I have problems with CTRL + S command,it creates empty lines and does not saves the content as expexted with React code. It seems that I should edit my settings.json file When i try to edit It says ...
0
votes
2answers
135 views

How to uninstall app downloaded from site with .deb extension?

I'm new to Linux. I downloaded VS Code from the site having a .deb extension and I'm unable to uninstall it. It is not visible in Ubuntu software. It does show in the app drawer and also opens from ...
0
votes
0answers
44 views

Libreoffice text keep formatting but not indentation spaces in pasted text

I have a odt text file with some source code copied from Visual Studio Code. While the copy preserves syntaxt highlight indentation is removed from the pasted code,even with orthographic corrector and ...
1
vote
0answers
170 views

Visual Studio Code 1.51.1 not launching on Ubuntu 20.10 (ERROR: GLIBC_2.29' not found)

VSCODE VER: 1.51.1 This shows up with code --verbose: /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/...
0
votes
0answers
97 views

VS Code: No PHP executable is set

I am busy with a Udemy course about WordPress. The course uses VS Code as text editor and I love it, but keep getting a "No PHP executable is set error". PHP was loaded as part of the Local-...
0
votes
1answer
193 views

How do I solve the error “Insufficient permisssions” when using vscode?

I'm a new user of Ubuntu. I have installed vs code using: sudo snap install --classic code But I can't use it. For example, when I try to create a file I get the error: Unable to write file '/opt/...
0
votes
0answers
173 views

I can't use Discord.py after installing it with pip3

Im trying to create a discord bot and i need discord.py.Ive tried installing it with pip3 but after installing it says requirement already satisfied but when i try to import it on Visual Studio Code ...
0
votes
0answers
1k views

How to run VsCode's Code Runner in an external terminal?

I would like to launch the c++ app using Code Runner of Visual Studio Code in an External Terminal. There was a Similar Question1 Similar Question1 on the internet but it focused on Vscode in ...
2
votes
1answer
993 views

Unable to open visual studio code in Ubuntu 20.04

I tried installing visual studio code by snap as well as apt in both cases it doesn't work. refer to trace below after hitting code --verbose. Other observations - It works with sudo code --user-data-...
1
vote
1answer
429 views

How can I make a custom desktop file for VS Code for my dock, under Ubuntu 20.04?

I want to make a launcher icon on the dock for VSCode under Ubuntu 20.04. I called it code.desktop and put it in .local/share/applications, then pinned it to the dock. However, when I click on it, I ...
0
votes
1answer
939 views

Simple C hello world program is not working in Visual Studio Code [closed]

I am fairly new to C coding and cannot get a simple C hello world code to work with Visual Studio Code. The code looks like this: #include <stdio.h> int main() { // printf() displays the ...
0
votes
1answer
87 views

use system installed icons inside of visual studio code

I have a weather icon pack that I installed from github: https://github.com/erikflowers/weather-icons when I copy/paste icon in my terminal or gedit for example, the icon is displayed correctly. When ...
0
votes
0answers
18 views

Visual Studio Preview

It seems there isn't eny linux builds for preview versions of Visual Studio. I really would like to be able to use preview versions though. what's my best option? EDIT I've found VS Codium. it ...
0
votes
1answer
163 views

VSCode Live Share, Cannot log in with GitHub, “user code” command is missing

Playing with VSCode Live Share for the first time today, I cannot get logged in with GitHub. From VSCode, I click "Sign In with Github", and click the green Authorize VisualStudentLiveShare ...
1
vote
1answer
477 views

Why won't Visual Studio Code update run on 20.04?

I can't get Visual Studio Code to update on Ubuntu 20.04. I'm currently on 1.49.x of Visual Studio Code and attempting to upgrade to 1.50.x Previously (I recently upgraded to 20.04 from 18.04) the ...
0
votes
0answers
132 views

GUI install Visual Studio Code .deb file in Ubuntu 20.04 keeps loading forever [duplicate]

Whenever I try to install any .deb file using GUI in Ubuntu 20.04 it just keeps loading forever in the Ubuntu Software tab. When I open the Software app after searching for "vscode" in it, ...
0
votes
0answers
148 views

VScode on Ubuntu 18.04 LTS (cpp: error trying to exec 'cc1plus': execvp: No such file or directory)

In kernel of vscode cpp: error trying to exec 'cc1plus': execvp: No such file or directory The terminal process "/bin/bash '-c', '/home/viveksharmavs/anaconda3/bin/cpp -g '/home/viveksharmavs/...
0
votes
3answers
1k views

How to update Visual Studio Code in Ubuntu 20.04 LTS without downloading the full setup?

I shifted to Ubuntu 20.04 LTS 3 weeks ago from Windows 10. I use Visual Studio Code and whenever I get an update in Update it shows in Settings > Download Update(1). When I click on download update,...
0
votes
1answer
7k views

Vs code installation issue? [duplicate]

Unable to install vs code showing status-code=409 kind= snap-change-cnflict massage=snaop "code" has"install snap" change in progress, plz guide for complete installation !
1
vote
1answer
207 views

Is it possible to disable/enable all shortcuts in Ubuntu 20.04?

I'm trying to fix my keyboard shortcuts and I'd like to rule out any conflicts that may be happening with my OS shortcuts (the one from settings > keyboard shortcuts), so the idea is to turn them ...
0
votes
1answer
199 views

Snap VSCode no space left on device

I have installed snapcraft's VSCode for a long time. It has crashed like this before but I had managed to fix that by setting: sudo sysctl fs.inotify.max_user_watches=524288 But now it has crashed ...
1
vote
0answers
473 views

Ubuntu 20.4.1 - vscode freezing and stop responding

I started studying programming this year and always did everything on windows, but after some problems using docker I decided to do a dualboot with ubuntu. The problem is that when I'm using vscode ...
0
votes
0answers
57 views

Old java.home in vscode remains after changing and restarting vscode

I set java.home to "java.home": "/usr/lib/jvm/java-8-openjdk-amd64", but after restarting vscode I still get message Failed to download Metals, make sure you have an internet ...
3
votes
0answers
176 views

Launching VS-code significantly slows down my Ubuntu 20.04 system

I have read a similar question Why does Visual Studio Code work slow in Ubuntu? But the answer doesn't seem to work for me. Can any of you please suggest me what needs to be done, so that my ubuntu ...
1
vote
0answers
101 views

Run visual studio code flatpak as normal user

The Visual Studio code flatpak opens as a super user when I type: flatpak run com.visualstudio.code How do I make it run on my user account?
1
vote
0answers
24 views

How to create *permanent* Visual Studio Code (Insider) 'favorites' application link?

As with most applications I can Add to Favorites while using Visual Studio Code Insiders Edition, with However this Favorite soon stops working and I have to resort to using the finder to find the ...
-1
votes
1answer
306 views

Terminal does not open current directory on vscode [closed]

I am using Pop_Os 20.04 and i am newbie. the problem is terminal does not open current directory while launching vscode. I had no such issue like this a few days ago i do not know how to solve it.
1
vote
0answers
172 views

Visual Studio Code not working after KDE install

I installed KDE with sudo apt-get install kubuntu-desktop. Although most of my files are present, some programs cannot be found anymore. I tried running code from the terminal but I get command not ...