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
78
votes
10 answers

Sublime Text 2 - Files not opening a new tab?

Sublime Text 2 stopped creating a new tab when opening a file from the sidebar. The file I select opens in the current tab, but the tab doesn't even update the filename, it shows the old file but it's greyed out like a new tab should exist. I…
vernonk
  • 1,221
  • 1
  • 8
  • 14
78
votes
14 answers

How do I add ~/bin to my path?

I've been having trouble modifying my path to add Sublime Text 2. I've added a ~/bin directory and run this command: ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl The subl link appears in ~/bin. But I need to…
Graeme
  • 1,107
  • 2
  • 10
  • 11
75
votes
3 answers

Show hidden folders in sublime text? (Mac osx)

Despite having hidden folders turned on, sublime text cannot see invisible folders in the sidebar such as a git repository. How can I fix this? Mac OSX 10.7.5 Sublime Text 2.0.1
Starkers
  • 10,273
  • 21
  • 95
  • 158
73
votes
3 answers

Avoid auto-period character after quick type space in Sublime Text 3

I've noticed that in Sublime Text 3, that if I type a word and then double-space quickly after I'm done entering the word in, it automatically places a period after the word Something like obj + two spacebar keystrokes will result in obj. I've…
ariestav
  • 2,799
  • 4
  • 28
  • 56
72
votes
4 answers

How to force folder refresh in Sublime, when "Project > refresh" doesn't work?

Especially when using an sftp drive (but this problem is also an issue with local drives, although thankfully not as frequent), the folders in the sidebar just keep spinning and spinning, and the "Open Anything" dialog therefore has no files to…
aliteralmind
  • 19,847
  • 17
  • 77
  • 108
70
votes
4 answers

How to prevent Sublime Text 2 from opening that last open file / project when starting up

I am on Lion - and in the command line, when I open up my project using "subl ." in my project folder - it opens up the last project I had open before I quit Sublime. I have the Max Preference "Restore windows when quitting" unchecked. How to I…
Joerg
  • 3,553
  • 4
  • 32
  • 41
70
votes
2 answers

How can I find the particular file in a Project/Folder in Sublime Text

I know that using ctrl+shift+f we can find the text in folder we want and simple ctrl+f will find the text in a opened file or we can right folder and click on a option Find in Folder... to search the text I am looking for, how can I find the file…
Mohammed Abrar Ahmed
  • 2,290
  • 3
  • 15
  • 33
70
votes
6 answers

Sass support for Sublime Text 2?

Is there an existing package for editing Sass in Sublime Text 2? This seems to be popular: https://github.com/n00ge/sublime-text-haml-sass However, after installation, it appears that it only provides syntax highlighting for scss files. Ideally, I'd…
user1419762
  • 3,571
  • 5
  • 20
  • 10
68
votes
3 answers

How to set scss syntax in Sublime 3?

I'm using Sublime 3 editor. When I open a SCSS file it shows many red characters because it misjudged the syntax. When I press CTRL + Shift + P and type sass or scss I get no option. I had to set syntax to CSS. Is there any way to set syntax to…
user31782
  • 7,087
  • 14
  • 68
  • 143
68
votes
6 answers

Sublime Text 2: How to get scss and Less files to have color?

I'm using Sublime Text 2 and the css.scss and css.less files are in all white text - the comments, brackets, syntax - everything. If I look at my regular css files, they have color to differentiate all of the above. Has anyone else dealt with this?…
Jryl
  • 1,156
  • 4
  • 11
  • 20
68
votes
7 answers

Close all tabs, but not the window, in Sublime Text

Is there a way to close all tabs in one go in Sublime Text, but leave the window with the current project open? It is really annoying when I just want to close all open file and start the new task I have to Cmd-W them one by one. If I do Cmd-Opt-W…
firedev
  • 20,898
  • 20
  • 64
  • 94
66
votes
3 answers

What gui library is used by sublime text editor?

I've downloaded an editor of sublimetext and I want to know what GUI library is used in there. The filenames of files that are in the editor executables directory are: bz2.pyd Microsoft.VC90.CRT.manifest msvcp90.dll msvcr90.dll …
Freewind
  • 193,756
  • 157
  • 432
  • 708
66
votes
3 answers

How can I do a column select across the entire file?

Is there a way I can use the middle click or maybe (Ctrl+Alt+Up) to a particular column across all lines in a long file? Currently, I am middle-clicking and then dragging this to the end of the screen and waiting for it to select all lines.…
Legend
  • 113,822
  • 119
  • 272
  • 400
65
votes
4 answers

Tell Sublime Text to ignore everything in .gitignore?

Vim has this great plugin to convert the current project's .gitignore into a syntax understandable by Vim and from there exclude all those files from opening. Using Sublime Text 3's 'Go to Anything' (CMD+P), I get lots of files I'm not interested…
Jonatan Littke
  • 5,583
  • 3
  • 38
  • 40
64
votes
2 answers

reindent shortcut in sublime text

Possible Duplicate: Indenting code in Sublime text 2? I'm trying to learn keyboard shortcuts in Sublime. What is the keyboard shortcut in Sublime Text 2 for reindent? According to some pages it should be TAB but that only indents, not reindents.
Yaron Naveh
  • 23,560
  • 32
  • 103
  • 158