Questions tagged [sublimetext]

Sublime Text is a text and source code editor for Linux, OS X and Windows. PLEASE DO NOT USE THIS TAG UNLESS YOUR QUESTION IS SPECIFICALLY ABOUT SUBLIME TEXT ITSELF. Do not tag your IDE or source code editor in questions about unrelated topics.

Sublime Text

Sublime Text is a cross-platform C++-based text and source code editor. The program was originally designed as a feature-rich extension of Vim.

First release: 18 January 2008
Stable Version: Sublime Text 4 (Build 4143) / 11 November 2022
Dev Builds: Build 4147 / 22 December 2022

Features

  • Minimap: a preview of the full source code
  • Ability to select multiple sections of code
  • Multi-panel editing
  • Bookmarks within files
  • Native support for 44 (version 3) or 27 (version 2) programming languages included, with additional available for download
  • Autosave
  • RegEx-based find and replace
  • Fully customizable syntax highlighting
  • Brace matching, autocomplete
  • Support for macros and Python-based plugins
  • Custom key bindings
  • In-editor code building
  • Snippets
  • Goto Anything(File Navigation)
  • Column Selection and multi-select editing
  • Plugin Support

Platform Support:

  • Linux
  • macOS (10.9 or later required for dev builds)
  • Windows (also as a portable version)

Version 3

Version 3 entered beta on 29 January 2013. At first available only for registered users who have purchased Sublime Text 2, on 28 June 2013 it became available to the general public. However, the very latest development builds still require a registration code.

Two of the main features that Sublime Text 3 adds include symbol indexing and pane management. Symbol Indexing allows Sublime Text to scan files and build an index to facilitate the features Goto Definition and Goto Symbol in Project. Pane Management allows users to move between panes via hotkeys.

Sublime Text 3 is very stable, as of 22 March 2016, about 80% of those using Package Control are running version 3 and Sublime Text 3 is the default download version on its website.

Related Tags

Source: Wikipedia

3417 questions
126
votes
13 answers

Parsing Error The Keyword import is Reserved (SublimeLinter-contrib-eslint)

I have a problem with eslint, it gives me [Parsing Error The keyword import is reserve] this is only occur in sublime, in atom editor work well. I have eslint .eslintrc.js module.exports = { "extends": "airbnb", "plugins": [ …
pedro luis
  • 1,545
  • 2
  • 10
  • 8
124
votes
8 answers

How to get support of TypeScript with Sublime Text 3?

I am currently working in Angular and I get good support of Typescript with Sublime Text. How can I get support of TypeScript with my Sublime Text editor? I tried to hit Shift + Ctrl + P and then typed TypeScript but I did not get any TypeScript…
Mohan Gopi
  • 7,606
  • 17
  • 66
  • 117
123
votes
5 answers

How to get an outline view in sublime texteditor?

How do I get an outline view in sublime text editor for Windows? The minimap is helpful but I miss a traditional outline (a klickable list of all the functions in my code in the order they appear for quick navigation and orientation) Maybe there is…
user89021
  • 14,784
  • 16
  • 53
  • 65
122
votes
5 answers

How can I put cursor on every line in Sublime Text?

I want to be able to edit every line of my data simultaneously, for instance put quotations in front of every line. I am wondering what the key combination is that will enable me to do this.
Jacko
  • 1,323
  • 2
  • 9
  • 6
121
votes
1 answer

How to jump to previous and last cursor in Sublime Text 3?

How to jump back and forward through the cursor position history in Sublime Text? I google a lot and find BufferScroll. But it doesn't work for me. I can't find any shortcut or how to use it in the document. Update: Every time I try to use Jump…
cruelcage
  • 2,044
  • 6
  • 19
  • 19
120
votes
5 answers

How can I exclude a folder from indexing in Sublime Text, while still showing it in the sidebar?

For a large project with many dependencies e.g. in the node_modules/ folder, I noticed frequent CPU spikes because of Sublime indexing all the files in the folder. I know I can hide files and folders using the folder_exclude_patterns setting, but I…
Geir Sagberg
  • 9,632
  • 8
  • 45
  • 60
118
votes
2 answers

Hide files with certain extension in Sublime Text Editor?

is it possible to hide all the files with certain extension from the sidebar (lateral nav bar) in Sublime Text Editor 3?
Sovos
  • 3,330
  • 7
  • 25
  • 36
117
votes
3 answers

How to configure Sublime Text 2/3 to use direct Ctrl+Tab order and to create new tabs after the last one?

When I press Ctrl+Tab, Ctrl+Shift+Tab or Ctrl+W the tab I get switched to is not the one just near the one I was on (as I would like to) but to some else. When I press Ctl+N the new tab is created right near the tab I am at while I always want it to…
Ivan
  • 63,011
  • 101
  • 250
  • 382
115
votes
6 answers

How can I jump to line in Sublime Text?

Does anyone know of a shortcut for jumping to a specific line (given a #) in Sublime Text? Ex: I run code and get an error at line 5765. I want to be able to jump quickly in Sublime Text to line 5765, without scrolling.
Alexsandra Guerra
  • 1,625
  • 4
  • 17
  • 19
114
votes
6 answers

How do I exclude a folder from search in sublime text 3 permanently?

is there a way to always ignore a folder... in project view. I have multiple apps in one repo and have 'node_modules' in each app mainapp ├── microapp │ └── node_modules ├── microapp2 │ └── node_modules ├── index ├── config └── assets I want to…
nolawi
  • 4,439
  • 6
  • 22
  • 45
114
votes
9 answers

How to Install Sublime Text 3 using Homebrew cask

How can I use Homebrew cask to install Sublime Text 3? I only see Sublime Text 2 when using Homebrew's search. I even tried tapping homebrew/versions, but no luck.
ZakTaccardi
  • 12,212
  • 15
  • 59
  • 107
110
votes
5 answers

Open the same file multiple times

I want to view the same file side-by-side. How do I open up two (or more) tabs for a single file?
Frank T
  • 8,268
  • 8
  • 50
  • 67
105
votes
11 answers

Sublime as default editor

Is there a way to set Sublime Text as the default text editor for file formats on Windows 7? Also, if anyone knew a Sublime Text Tutorial or Wiki that would be really helpful.
doque
  • 2,723
  • 6
  • 27
  • 44
103
votes
5 answers

Sublime Text 2 - Link with Editor / Show file in sidebar

I'm looking for a feature like Eclipse's Link with Editor. Basically, I want whatever file I'm editing to be shown in its place in the file tree.
noah
  • 21,289
  • 17
  • 64
  • 88
103
votes
3 answers

Mark current Line, and navigate through marked lines

In Visual Studio, we can use: CTRL+kk to place a marker on the current line and CTRL+kn to navigate through marked lines. My question is: is there a way to do this with Sublime Text2? Thanks
André Alçada Padez
  • 10,987
  • 24
  • 67
  • 120