2

I have downloaded VS Code on Elementary OS, and I followed the setup instruction of Setting up Visual Studio Code on linux.

The executable file "code" seems to be unknown, it is not opening, Any ideas?

enter image description here

  • 1
    Open a terminal and try /opt/VSCode-linux-x64/Code. – Nephente Sep 23 '15 at 12:31
  • @nephente worked! – Murhaf Sousli Sep 23 '15 at 12:34
1

Try to open it by running in a terminal (Ctrl+Alt+T):

/opt/VSCode-linux-x64/Code

If it work you can make a shortcut (so you will only need to run code to open Code):

sudo ln -s /opt/VSCode-linux-x64/Code /usr/local/bin/code
0

Microsoft published an official Visual Studio Code package for Linux which is packaged as a snap package. To install Visual Studio Code on Debian-based distributions and other distributions that support snap packages, open the terminal and type:

sudo apt install snapd
sudo snap install code-insiders --classic

A snap in classic confinement behaves as a traditionally packaged application with full access to the system, and Visual Studio Code extensions are installed into the user's home directory.

As its name suggests Visual Studio Code is a code editor with an embedded terminal, not a full scale IDE, but the latest iteration of Visual Studio Code is a very good code editor.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.