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

installed sdk not found in vs code

I installed the following dotnet items in ubuntu: .NET Core SDK (reflecting any global.json): Version: 3.1.300 Commit: b2475c1295 Runtime Environment: OS Name: ubuntu OS Version: 18....
1
vote
1answer
22 views

I can't import numpy in Visual studo code

I've installed Numpy for python3, but when i import the package in Visual Studio Code i got this message error : Import Error: No module named numpy. I used pip3 install numpy to install it, the ...
1
vote
2answers
31 views

How to enable auto close bracket inside a bracket in GEANY editor

I like the geany text editor very much. However, one thing that I don't like is that while I code in C/C++, the auto-close bracket option does not work inside similar types of brackets. Here's an ...
0
votes
1answer
67 views

Update to 20.04 VSCode debugger “Attach by Process ID” do not see process

I updated Ubuntu to 20.04, after this VSCode debugger "Attach by Process ID" do not see processes run with nodejs. I tried reinstall other versions from Ubuntu Software, and also from website, but it ...
0
votes
0answers
96 views

Kubuntu 20.04 grup design wont update and i cant install vscode

I am new to Kubuntu and I have 2 ssds one windows and one Linux so I did dual boot and installed Linux via UEFI, (I tried to install without UEFI but I got this error all the time : Executuing 'grub-...
0
votes
1answer
84 views

how to run and debug bash script from VSCode

How do I run and debug bash script from VSCode. I have this setup in my Ubuntu machine. Is there any way to configure so that when I say run it execute the bash script? I did install the bash debug ...
0
votes
1answer
33 views

Java JDK isn't recognized by VS Code

I installed Java via apt.get install default-jdk and verified the installation via java -version, I am using openjdk version "11.0.6" 2020-01-14 But VS code still still gives me an error message Java ...
2
votes
2answers
90 views

Having trouble setting default keyboard in visual studio code when developing inside a docker container

I'm having trouble following this guide on Ubuntu 18.04 when working with a specific repository (if anyone would like to follow along, the repo is here). When I try to follow this step: Select ...
0
votes
0answers
35 views

How private is visual studio code on ubuntu?

I can install visual studio code on ubuntu bionic beaver. When I go to the software manager I find it in the list of applications but I do read that: "This application has no limitations and has ...
1
vote
0answers
44 views

Kubuntu disable “alt” to menu shortcut

I am trying to use the "Alt" key for many keyboard shortcuts within visual studio code. But the moment I press "Alt" the cursor moves away from the text editor and up to the menu bar, opening a menu ...
0
votes
0answers
151 views

VS Code keyboard shortcut not working

Installed VSCode and same as usual I'm used to use the shortcut Ctrl+Shift+P to open the command palette. However, it does not seem to work. Checking the keyboard shortcuts the default is actually ...
0
votes
1answer
70 views

Mysql PDO/MySqli Connect From Linux Host

My Database host and my website host are not the same. I have created a few web applications on .NET with a web.config or app.config file where I could easily set a machinekey for the MySQL ...
0
votes
0answers
28 views

Conda Installs Python3.8 when I try installing pip

Whenever I try to install pip in my conda environment, conda installs Python3.8 and overwrites already installed Python3.6.8. I create my conda environment as conda create -n test_environment after ...
0
votes
0answers
51 views

Cannot Open Visual Studio Code on Ubuntu 18.04 (Using Crouton on Chromebook)

I'm new and trying to follow online tutorials (Ex Link to a tutorial) to setup Dev Mode with Crouton + Ubuntu 18.04 (bionic) on my Chromebook to take some development courses. I was able to follow ...
3
votes
0answers
184 views

Washed out syntax highlighting colors in VSCode

I have just installed Ubuntu 19.10 (coming from Win10) and have installed my preferred code editor VSCode - but noticed immediately that the color schemes are off: they are pale/washed out and nearly ...
1
vote
0answers
47 views

How can I fix this VS Code / .NET Core SDK issue?

When starting VSCode (Visual Studio Code) I'm receiving the following error: When I search for my installed version in Terminal: computer@computeruser-wild-cpu:~$ dotnet --version 3.1.100 Do I need ...
1
vote
3answers
429 views

Visual Studio Code UI is visually mismatched in Ubuntu 19.10

The VS Code UI has been changed in 19.10 and it's not good as it was in 19.04 and earlier. The menu bar in VS Code deviates from the Ubuntu 19.10 system theme, and it has a disconcerting white ...
1
vote
3answers
5k views

“ssh_askpass exec(/usr/libexec/openssh/ssh-askpass) no such file or directory” error when I try to push in Git repo using VS Code

Don't know what happened. But all of sudden I can't push updates in GitHub. A month ago I used SSH keys to integrate VS Code with Github so that I do not have to type email & password every single ...
2
votes
1answer
648 views

error while loading shared libraries: libatomic.so.1: wrong ELF class: ELFCLASS32 [duplicate]

I tried to program in swift but somehow I can't build my code. I am using VSCode . I read that you have to install sourcekit-lsp, but I am unsure if I installed it correctly. Then I did the following ...
0
votes
0answers
26 views

Reseting to default gnome terminal in Visual Studio Code

Hello I removed zsh as my default terminal on my ubuntu 18 machine. Since then, I am unable to have my default gnome-terminal appear inside Visual Studio. If I use the default gnome-terminal, when I ...
1
vote
0answers
61 views

Visual studio code is not running

I recently installed visual studio code on Ubuntu and i have been trying to code but every single time i try to compile the code the terminal displays permission denied how do i fix this. I haven't ...
0
votes
1answer
617 views

Is there a way to install Visual Studio Community 2019 in Ubuntu 19.10? [duplicate]

Can I install Visual Studio Community 2019 (not Visual Studio Code)? I don't care if is via Terminal, Ubuntu Software or through download from the website. If is possible, please tell me how. If is ...
1
vote
0answers
124 views

Error: Could not locate the bindings file

I am building a project on visual studio code. I have successfully installed node.js version 12.13 and npm version 6.12 on my Ubuntu-19.04. Part of the code will also be execute on a raspberry-pi as ...
0
votes
0answers
61 views

Visual Studio Code compiles with npm, node.js but does not show GUI interaction on localhost:42000 on Ubuntu 19.04

I just successfully installed npm 6.12, Node.js version 12.13 on my Ubuntu 19.04. I also successfully compiled a project using Visual Studio Code. It is my first time using VS and I have been trying ...
2
votes
1answer
542 views

How install watchman on Ubuntu 19.10 for react native [duplicate]

I was try to installing watchman on Ubuntu 19.10 but it throwing some issues. My commands: $ cd ~ $ git clone https://github.com/facebook/watchman.git $ cd watchman/ $ git checkout v4.9.0 $ ...
11
votes
4answers
2k views

Is there an integrated terminal option in file managers such as Nautilus in Ubuntu?

Is there a way I have an integrated terminal within a file manager in Ubuntu (like the way terminal opens up with VSCode) so that when I trigger this inbuilt terminal from any folder, it shows the ...
0
votes
2answers
137 views

Visual Studio alternatives on Ubuntu [duplicate]

Are there any alternatives for Visual Studio on Ubuntu? I searched on Google and I could not find anything.
0
votes
0answers
68 views

When install VsCodium using flatpak, Why do I need 800 mb of extra files?

When installing vscodium normally, I only download about 60 mb. but when installing Visual Studio Code - OSS using flatpak, it requires me to download almost 900 mb!!! is that necessary? Using ...
2
votes
1answer
332 views

VS Code open directory instead of system file manager in Ubuntu 19.10

After upgraded to Ubuntu 19.10 I notice a stranger behaviour in code: if I double click a directory or a unit or right click a directory and try open the directory was open by code unless nemo or ...
0
votes
1answer
629 views

Can't create project in Visual Studio Code

I downloaded Visual Studio Code from the Software Center, but when I go to File, there is no option to create a project. I only have the options of creating a file or Workspace. Isn't that a rather ...
3
votes
2answers
914 views

Filezilla doesn't run vscode

When using the FileZilla client as an application directory (link), I can right-click an html file on a remote server → View/Edit and it will open in my predefined editor (e.g. VSCode). BUT if I ...
0
votes
0answers
145 views

“mnt’s server IP address could not be found”

Good Day! I am an Bootcamp Student and I have setup my Windows PC with Ubuntu. The problem I get is when I download the open in browser extension in VS code and attempt to open a file in browser. T ...
0
votes
0answers
438 views

usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

I am new to Ubuntu and Linux in general. I have installed Ubuntu 18 along with code, where there is a python script that needs to be run. My computer is connected to a receipt printer through a usb. ...
1
vote
0answers
879 views

Ubuntu 18.4 slows down after a few hours of usage; despite high available memory

I have been facing this issue daily, after about 10 hrs of usage Ubuntu becomes terrible slow, it lags a lot. Operations that take less than a second tend to take about 10 or more seconds. On the ...
0
votes
0answers
183 views

Ubuntu 18.04: VS code and chrome browser does not show up window however I can see they are running in background

I have installed something that affected both Visual Studio Code and Chrome browser. Now both do not work. I tried reinstalling both, but I still have the same issue. I deleted all the VSCode ...
0
votes
0answers
83 views

Problem with Cpp Debugger in Visual Studio Code

I can't debug my C++ code with Visual Studio Code. I did all the things about configuring launch.json, but it just runs like when I execute and the next line button is disabled. It looks like the ...
1
vote
0answers
40 views

Saving files using code editor - not updating file system in Ubuntu for Windows

I am currently using Visual Studio Code on my Windows 10 machine to edit Terraform files that are pulled/pushed from Ubuntu for Windows. The problem I face is, whenever I add a new file (rds.tf for ...
0
votes
0answers
18 views

System shuts down when training ml models

I have a system with 4xRTX2080 used primarily for ml model training. Nvidia driver version: 430.26 CUDA Version: 10.2 I use VSCode's remote development extension to remote into the machine and start ...
1
vote
1answer
1k views

Ubuntu 18.04: No polkit authentication agent found

I get the error message above when I try to write to a file I don't have permission to in Visual Studio Code. I choose "Retry as sudo": Click sudo and get the error: Error message This only happens ...
0
votes
1answer
150 views

Microsoft Visual C++ 9.0 on Ubuntu 18 with Python 2.7 as target language

I want to use Microsoft Visual C++ 9.0 on Ubuntu, but I'm not sure if it will work. Is there another program that will work on Ubuntu just as good (if not better) as Visual Studio with Python as the ...
0
votes
1answer
253 views

License Visual Studio Code (or VsCodium)

When I want to download Visual Studio Code I saw that the version on official website isn't open source, under the download link we can see: "By using VS Code, you agree to its license and privacy ...
0
votes
1answer
232 views

How to add open vscode with GTK_IM_MODULE=“xim”

Vscode has an issue with Ctrl+Shift+e where it returns an undefined key and this topic has been covered before in this link https://github.com/microsoft/vscode/issues/48480. I solved this issue by ...
0
votes
0answers
45 views

Saving remote files (FTP)

Kubuntu 18, KDE Plasma, Dolphin file manager. So I learned that I can work across FTP using Dolphin, and that's awesome. Double-click, file opens in code editor, changes are uploaded. When I save in ...
2
votes
1answer
182 views

Why do I get a redundant % (percent sign) when I run Java code in VSCode?

When I use Java in VSCode, I get an extra % in the output, like this: but I didn't input % My env: java version "1.8.0_201" javac 1.8.0_201 zsh My code: class Shuffle1 { public static ...
4
votes
1answer
1k views

Any way to use Visual Studio Code editor instead of nano/vim/emacs to edit files?

I'm having an issue where I can only edit .bashrc or .zshrc files with the nano command. When I input code .bashrc it just opens up an empty .bashrc file. With nano it works within the shell and it ...
0
votes
0answers
719 views

Java on Visual Studio Code on Ubuntu 19.04

So I'm trying to use Java on VS Code installed on Ubuntu 19.04. I downloaded the jdk files from this link that opens in VS Code, and now they are on my PC. I recently switched from Windows, so on ...
2
votes
1answer
304 views

Launching gnome-terminal from vscode

Since updating to latest ubuntu and vscode, I can't launch gnome-terminal from vscode. If I try launch gnome-terminal in vscode's terminal or via an extension then I get: Error creating terminal: ...
2
votes
1answer
3k views

Install VSCode on Ubuntu 19.04 [duplicate]

I'm having difficulty installing VSCode on Ubuntu 19.04 and most of the instructions I find are for installing VSCode on Ubuntu 18.04/16.04. First, I tried installing VSCode from Ubuntu Software. ...
0
votes
1answer
5k views

how to run a service a non-root user completely?

I am trying to run an application (code-server) as a sudo user. This application is basically allowing me to run Visual Studio Code online. I created the service file as below: (vsc.service) [Unit] ...
0
votes
1answer
509 views

How to edit files on mounted share using Visual Studio Coe

I want to edit some files using Visual Studio Code. The files are saved on RaspberyPi, the shared folder of which is mounted in fstab on my Ubuntu 18.04. Configuration smb.conf on RPi` [openHAB-...