Sublime Forum

Sublime with c c++ on ubuntu

#1

What is the deal with the package manager? When I select a package it takes me to github were their is code. What am I supposed to do to install the package. I am also baffled by c c++ functioon with sublime.
With an editor as nice as sublime I should not have to do anything for it to work. I am on ubuntu Mate
G++ GCC is installled.

0 Likes

#2

What am I supposed to do to install the package.

Most packages are directly pulled from Github repositories.

To install:

  1. open Command Palette
  2. call Package Control: Install Package
  3. choose a package and hit enter

I am also baffled by c c++ functioon with sublime.
With an editor as nice as sublime I should not have to do anything for it to work.

Sublime Text ships syntax definitions for C/C++ and a simplistic build configuration, which directly runs gcc for the currently active view’s file. Any more complex project requires toolchain and makefile being properly set-up externally. A custom build-system configuration could be used to run make or whatever build program you want.

There are too many possibilities to provide them all out of the box.

For functions like IntelliSense you might require LSP and e.g. LSP-clangd packages, if ST’s built-in completions and goto features are not enough.

0 Likes