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
101
votes
3 answers

Sublime text 3. How to edit multiple lines?

I was using Notepad++ and now I want to use the same cool features in Sublime but I don't know how. I want to edit multiple lines at the same time like this: But I don't want to Ctrl+Click at each line for this. I want to click at first line and…
Lory
  • 1,429
  • 2
  • 9
  • 10
100
votes
5 answers

Sublime text 2 - how to order a list of words alphabetically (DESC / ASC)

Is there any way to order a huge list of words alphabetically? for example: Hey Salcaiser Ok Here Strange Weird Gosh By huge i mean about 500/1000 words (1 word per line) I'm on Mac osx
itsme
  • 48,972
  • 96
  • 224
  • 345
97
votes
6 answers

More than one folder / project in one Sublime Text 3 window

I can have only one project / path opened in in the same time, in one Sublime Text 3 window. Each time I quickly switch project (Ctrl+Alt+P), new project replaces current one. Each time I open new folder (File > Open Folder...) or project (Project >…
trejder
  • 17,148
  • 27
  • 124
  • 216
95
votes
5 answers

Sublime Text - show open files on the left

Is there a way to show the files that are open in SublimeText on the left of the screen, in a simple list? I'd simply like the open files to appear on the left in a clickable way like this file1.txt file2.css file3.htm etc is that possible?
user410932
  • 2,915
  • 4
  • 22
  • 23
95
votes
8 answers

Where to find composer's global packages?

For a plugin for Sublime Text I was required to install a composer package globally. In order to do this I had to run the following command: composer global require "asm89/twig-lint" "@stable" The installation started running and a few seconds…
Peter
  • 8,776
  • 6
  • 62
  • 95
95
votes
5 answers

Collapse all expanded sidebar folders in Sublime Text 2

Is there a menu option or keyboard shortcut to collapse all expanded folders in the sidebar? It gets messy over there and seems like there should be a better way than closing them one by one.
neurodynamic
  • 4,294
  • 3
  • 28
  • 39
95
votes
7 answers

Is there a JSX formatter for sublime text?

I'm using Sublime Text as a text editor. There's a jsFormat for formatting javascript files but I can't find one for JSX. How you guys deal with formatting JSX?
fin
  • 1,299
  • 1
  • 10
  • 20
92
votes
5 answers

Is there a shortcut for selecting word under cursor in Sublime Text, Atom

Is there a shortcut or a command to select word under cursor in Sublime Text or Atom? I want a replacement for double-click. So I could press shortcut instead and get selection on a current word and start typing to replace it or get in quotes etc...
firedev
  • 20,898
  • 20
  • 64
  • 94
91
votes
6 answers

Sublime Text 2: How do I change the color that the row number is highlighted?

As the subject says, I want to change to something other than the very light grey as shown below (line 319). I have a hard time seeing that, especially when doing a 'find in files' command.
phirschybar
  • 8,357
  • 12
  • 50
  • 66
88
votes
12 answers

How to turn off Sublime 2 updates notification?

I've installed Sublime 2 on Ubuntu using a PPA repository and update it via this native Ubuntu mechanism, so it just annoys me to see "A new version is available..." every time I start Sublime. I've found nothing searching for "update" in Sublime…
Ivan
  • 63,011
  • 101
  • 250
  • 382
85
votes
5 answers

Migrate from Sublime text 2 to Sublime text3

I need to migrate from sublime text 2 to sublime text 3 to have all the same configuration/plugins I have installed on the sublime text2. I installed sublime text 3, but it does not have any of the sublime text 2 packages and settings. I really dont…
Fizer Khan
  • 88,237
  • 28
  • 143
  • 153
85
votes
5 answers

Multiple Cursors in Sublime Text 2 Windows

I have installed Sublime Text 2 in windows and I am trying to use the multiple cursors feature. Firstly I highlight the selection I am looking for (three lines). Then I can press CTRL + D to select each re-occurrence, or ALT + F3 to select all.…
StuartM
  • 6,743
  • 18
  • 84
  • 160
82
votes
3 answers

Exporting Sublime Text configuration and installed packages

I have spent considerable time to tune up Sublime Text 2 configs. Now I would want to share my configurations (one file) and installed packages list with my friend. What would be the best way to do this? Manually pick related folders in Packages and…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
81
votes
2 answers

Sublime Text 3: Drag & Drop, Move & Create a copy of files & folders

Is it possible to Drag & Drop, Move & Create a copy of files & folders from within Sublime Text? I can rename, delete and have a plugin so that I can reveal in finder, but no other functionality from the project inspector sidebar. Maybe it is me…
Gravy
  • 12,264
  • 26
  • 124
  • 193
81
votes
9 answers

Merge multiple lines into one using Sublime Text

I am very new to Sublime Text and I am sure this is a naive question. Watching the Multiple line selection at http://www.sublimetext.com/ (2/6 slide). Absolutely love it. I understand that Ctrl (Cmd)+Shift+L "multiple-selects" so that we could do…
Arun Manivannan
  • 4,213
  • 3
  • 29
  • 38