Visual Studio Code

Jump to: navigation, search
VS Code screenshot.png

Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle.

Features

Developed by Microsoft, VSCode includes many of the features associated with its big brother, Visual Studio.

These include:

  • IntelliSense code completion
  • Built-in debugger with breakpoints, call stacks, and interactive console
  • Git and other SCM integration

VSCode is intentionally lighter weight in both design and goals, though many more complex workflows are provided by their extensive collection of extensions.

Install

Visual Studio Code is built on Electron framework and the official release contains some proprietary branding. For this reason, it is not provided by official openSUSE repositories.

You can use Microsoft's repositories to install and update Visual Studio Code.

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo zypper addrepo https://packages.microsoft.com/yumrepos/vscode vscode
sudo zypper refresh
sudo zypper install code

It is also available via https://flathub.org/apps/details/com.visualstudio.code and as the fully open source version VSCodium (also available via https://flathub.org/apps/details/com.vscodium.codium).

Extension for the Open Build Service

OBS Connector is not available in VSCode marketplace anymore

Branching a package directly from Visual Studio Code

SUSE has kicked off the development of the SUSE.open-build-service-connector Open Build Service Connector, an extension that brings the Open Build Service into Visual Studio Code.

It provides users with the ability to bookmark and browse projects and packages on OBS, check them out locally, branch them and submit changes back. Furthermore, OBS' version control is integrated into the source control of Visual Studio Code.

Check out the SUSE.open-build-service-connector store page or the Github page as well for further details.

Help and assistance

The official documentation and the stackoverflow subpage are the best places for troubleshooting.