Installing Sublime Text on Linux: Step-by-Step Guide.

Advertisement

Sublime Text It's a text editor and source code editor. It's written in C++ and Python for plugins. Originally developed as a Vim extension, it has developed its own identity over time. It still retains a Vim-like editing mode called Vintage Mode.

It is free to download and evaluate. However, it is not free or open-source software, and a license is required for continued use. The evaluation version is fully functional and has no expiration date.

The latest stable version is version 4, released on November 24, 2023.

Characteristics

  • Minimap: It consists of a preview of the code structure, it is very useful to navigate through the file when you know its structure well.
  • Multi Selection: Makes a multiple selection of a term from different parts of the file.
  • Multi Cursor: Creates cursors with which we can write arbitrary text in different positions in the file.
  • Multi Layout: It comes with seven template configurations, we can choose to edit in a single window or split up to four vertical windows or four grid windows.
  • Native support for countless languages: Natively supports 43 programming languages and plain text.
  • Configurable Syntax Highlight: Syntax highlighting is fully configurable via user configuration files.
  • Dynamic Search: You can search by regular expressions or by files, projects, directories, a conjunction of them or all at once.
  • Autocompletion and key marking: You can go to the key that locks or opens a block in a simple way.
  • Snippet and Plugin Support: Snippets are similar to macros or bundles, and there are many plugins available.
  • Complete Keybindings Configuration: All keys can be overwritten to our liking.
  • Quick access to line or file: You can open a file by using the keyboard shortcut Cmd+P on Mac OS X or Ctrl+P on Windows and Linux, then typing the file name or browsing a list. You can also navigate to a line using the colon ":" and the line number.
  • Command Palette: A Python interpreter designed just for the program with which you can perform countless tasks.
  • Syntax coloring and wrapping: If you are writing in a programming or markup language, highlight the expressions specific to the syntax of that language to make it easier to read.
  • Eyelashes: You can open multiple documents and organize them into tabs.
  • Parentheses highlighting and indentation: When the user places the cursor on a parenthesis, bracket, or brace, it highlights the parentheses, brackets, or braces that correspond to the closing or opening parenthesis, bracket, or brace.
  • No print: : It does not have the direct possibility of printing, the use of third-party plugins is required.

What's new in Sublime Text 4?

GPU RENDERING
Sublime Text can now utilize your GPU on Linux, Mac, and Windows when rendering the interface. This results in a fluid UI at resolutions up to 8K, while using less power than before.

APPLE SILICON AND LINUX ARM64
Sublime Text for Mac now includes native support for Apple Silicon processors. ARM64 Linux builds are also available for devices like the Raspberry Pi.

MULTIPLE TABS SELECTION
File tabs have been improved to make split views easier, with support throughout the interface and built-in commands. The sidebar, tab bar, Go to Anything, Go to Definition, autocomplete, and more have been modified to make code navigation easier and more intuitive than ever.

AUTOCOMPLETE ACCORDING TO CONTEXT
The auto-completion engine has been rewritten to provide intelligent completions based on a project's existing code. Suggestions are also supplemented with information about their type and provide links to definitions.

UPDATED UI
The Default and Responsive themes have been updated with new tab styles and a fade-in for the inactive panel. Themes and color schemes now support automatic switching to dark mode. The Responsive theme on Windows and Linux now features custom title bars.

TYPESCRIPT, JSX, AND TSX COMPATIBILITY
Support for one of the most popular new programming languages is now included by default. Use all of Sublime Text's intelligent syntax-based features within the modern JavaScript ecosystem.

SUPER POWERFUL SYNTAX DEFINITIONS
The syntax highlighting engine has been significantly improved, with new features such as non-deterministic grammar handling, multi-line constructs, lazy embedding, and syntax inheritance. Memory usage has been reduced, and load times are faster than ever.

UPDATED PYTHON API
The Sublime Text API has been updated to Python 3.8, while maintaining compatibility with packages built for Sublime Text 3. The API has been significantly expanded, and features have been added that allow plugins like LSP to work better than ever.

Supported languages

ActionScript
AppleScript
ASP
Batch File
C
C#
C++
Clojure
CSS
D
Diff
Erlang
Expresión regular
Go
Graphviz (DOT)
Groovy
Haskell
HTML
Java
JavaScript
LaTeX
Lua
Lisp
Makefile
Markdown
MATLAB
Objective-C
Ocaml
Perl
PHP
Python
R
Rails
ReStructuredText
Ruby
Scala
Shell Script (Bash)
SQL
Tcl
Texto plano
Textile
XML
XSL
YAML

Install Sublime Text on GNU/Linux

Install on Debian/Ubuntu/LinuxMint/MXLinux

Install the GPG key:

$ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null

Stable Channel

$ echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Make sure apt is configured to work with https sources:

$ sudo apt-get install apt-transport-https

Update eligible fonts and install Sublime Text:

$ sudo apt-get update
$ sudo apt-get install sublime-text

Install on ArchLinux/Manjaro

Install the GPG key:

$ curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg

Stable Channel x86_64

$ echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf

Update Pacman and install Sublime Text:

Advertisement
$ sudo pacman -Syu sublime-text

Install on Fedora Linux

Install the GPG key:

$ sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg

Stable Channel

$ sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo

Update dnf and install Sublime Text:

$ sudo dnf install sublime-text

Install on OpenSUSE

Install the GPG key:

$ sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg

Stable Channel

$ sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo

Update zypper and install Sublime Text:

$ sudo zypper install sublime-text

How to customize Sublime Text settings

Unlike other applications with graphical settings menus, Sublime Text's settings are entirely text-based. To view your Sublime Text settings, go to Sublime Text > Preferences and click on Settings. Then you should see a document like this:

Sublime Text settings are stored in the format JSON. JSON is an industry-standard format for storing key-value information, so you may have seen it used elsewhere.

The configuration file is presented as two JSON arrays. The one on the left contains the default Sublime Text configuration, while the one on the right contains the user's custom configuration.

In general, you should never change the default settings directly. Instead, you can override the default settings with custom settings—this allows you to revert to the default settings if something goes wrong.

To have the largest font for video tutorials, add each element to the user's custom configuration document in valid JSON format,

{
"font_size": 20,
"margin": 6,
"line_numbers": true,
}

Color schemes

Sublime Text uses color schemes to highlight source code and define the colors of some elements in the editing area: background, foreground, padding, caret, selection, etc.

You can change the current theme using the menu Preferences → Select Theme .

You can change the current color scheme using the menu Preferences → Select Color Scheme .

Summary

Sublime Text It's one of the most popular code editors today. It rightly provides both writers and developers with a wealth of tools to use.

There's nothing more satisfying than finding the perfect code editor. If you've never tried Sublime Text, it's worth checking out.

Our score
Click to rate this post!
(Votes: 0 Average: 0)
Advertisement
Share on social media...

Deja un comentario

Your email address will not be published. Required fields are marked *

Basic information on data protection
ResponsibleJavier Cachón Garrido +info...
PurposeManage and moderate your comments. +info...
LegitimationConsent of the concerned party. +info...
RecipientsAutomattic Inc., USA to spam filtering. +info...
RightsAccess, rectify and cancel data, as well as some other rights. +info...
Additional informationYou can read additional and detailed information on data protection on our page política de privacidad.

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.

Scroll al inicio

Descubre más desde javiercachon.com

Suscríbete ahora para seguir leyendo y obtener acceso al archivo completo.

Seguir leyendo