Sublime Text: Difference between revisions

From Dev Wiki
Jump to navigation Jump to search
(Create page)
 
(Add package installation section)
Line 9: Line 9:
* <code>sudo apt install sublime-text</code>
* <code>sudo apt install sublime-text</code>


== Settings ==
== Baseline Settings ==
The following settings are a good default to get started. Simply copy into your settings window.
The following settings are a good default to get started. Simply copy into your settings window.
  {
  {
Line 27: Line 27:
     "trim_trailing_white_space_on_save": true
     "trim_trailing_white_space_on_save": true
  }
  }
== Installing Packages ==
First, install sublime text <code>Package Control</code> as indicated at [https://packagecontrol.io/installation].<br>
Then, you can use <code>Package Control: Install Package</code> to add packages as desired.
Some useful packages are listed below.
=== Dayle Rees Color Schemes ===
A whole set of various, well made color schemes for sublime text.
Personal Favorites:
* Iceberg
* Glowfish

Revision as of 23:10, 12 January 2020

Sublime Text is a universal text editor that's very useful for coding. It's kind of like notepad++, except it exists for essentially all OS types, and is much more customizable.
It also has support for various extensions, which can make it almost as good as an IDE for most languages.

Ubuntu Installation

Open a terminal and run the following commands:

Baseline Settings

The following settings are a good default to get started. Simply copy into your settings window.

{
    "caret_style": "phase",
    "default_line_ending": "unix",
    "ensure_newline_at_eof_on_save": true,
    "ignored_packages":
    [
    ],
    "line_padding_bottom": 2,
    "line_padding_top": 2,
    "save_on_focus_lost": true,
    "scroll_past_end": true,
    "shift_tab_unindent": true,
    "theme": "Default.sublime-theme",
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true
}

Installing Packages

First, install sublime text Package Control as indicated at [1].
Then, you can use Package Control: Install Package to add packages as desired.

Some useful packages are listed below.

Dayle Rees Color Schemes

A whole set of various, well made color schemes for sublime text.

Personal Favorites:

  • Iceberg
  • Glowfish