Ubuntu16.04 install sublime3

1. Install Sublime-text-3

Add software sources for Sublime-text-3 package
sudo add-apt-repository ppa:webupd8team/sublime-text-3
Update system software sources with
sudo apt-get update
Install Sublime-text-3 with
sudo apt- get install sublime-text-installer
start
subl from command line

2. Install package control

The python code can be copied to the console from https://packagecontrol.io/installation . The console can be opened via ctrl+` or the View > Show Console menu.

3. Install the C language plugin

Click "Preferences" -> "Package Control" in the menu bar, enter "install" in the terminal window that opens, and a prompt "Package Control: install package" will appear below, click to open.

(1) C Improved: a more user-friendly C language coloring scheme After the
installation is complete, select it in View->Syntax, and set the current scheme to C Improved
(2) AllAutocomplete: Sublime's own can be used for variables and functions in the current file Automatically prompt for the name, but AllAutocomplete can prompt for the variable names of all open files, which is an enhanced version of the code automatic prompt.
(3) CTags: You can jump back and forth between the declaration and definition of the function. First, you need to download Ctags:
sudo apt-get install ctags
Then you can use ctrl+shift+left key to jump to the definition, ctrl+shift+right key is back

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325854650&siteId=291194637