Questions tagged [sublimetext3]

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 3 is a multi-language, multi-platform code editor, developed by Jon Skinner. It has a Python API to allow plugins for augmented functionality.

Overview

Sublime Text 3 is a multi-language code editor for Windows, macOS, and Linux. It is developed by Jon Skinner and SublimeHQ. Version 3 inherits all features from .

  • Closed Beta released on January 29, 2013 (Build 3006)
  • Opened Beta released on June 27, 2013 (Build 3047)
  • Finalpublic build released on October 1, 2019 (Version 3.2.2)
  • Latest development build released on September 24, 2019 (Build 3210) (only available to licensed users)

New features

Current new features of Sublime Text 3:

  • Goto Definition, and Goto Symbol in Project
  • Significantly improved startup time and performance
  • Enhanced pane management
  • Upgraded from Python 2.6 to Python 3.3
  • Improved performance on Retina display
  • High DPI support
  • Tab scrolling
  • Image preview
  • Sidebar icons
  • Definition popup on hover
  • Build errors are shown inline

Useful links:

6154 questions
469
votes
12 answers

Replace \n with actual new line in Sublime Text

How can I replace \n in Sublime Text with real in-editor displayed new line so: foo\nbar becomes: foo bar in the editor when I view the file in it.
leemour
  • 9,294
  • 6
  • 31
  • 40
441
votes
28 answers

Open Sublime Text from Terminal in macOS

In Terminal when I use .subl It returns -bash: .subl: command not found Anyone know how to open Sublime Text 3 from the command line in macOS?
user1405049
  • 4,411
  • 3
  • 12
  • 3
303
votes
5 answers

Search in all files in a project in Sublime Text 3

Is there a way to search for a string in all files inside a project in Sublime Text 3? The string is not a method.
Ivan
  • 16,448
  • 25
  • 85
  • 133
300
votes
17 answers

Eslint: How to disable "unexpected console statement" in Node.js?

I'm using eslint with Sublime Text 3 and I am writing gulpfile.js. /*eslint-env node*/ var gulp = require('gulp'); gulp.task('default', function(){ console.log('default task'); }); But eslint keeps showing error : "Error: Unexpected console…
Jean Y.C. Yang
  • 3,682
  • 4
  • 16
  • 26
294
votes
2 answers

80-characters / right margin line in Sublime Text 3

You can have 80-characters / right margin line in Netbeans, Text Mate and probably many, many more other IDEs. Is it possible to have it in Sublime Text 3 as well? Any option, plugin etc.?
trejder
  • 15,841
  • 23
  • 110
  • 207
255
votes
6 answers

Regex replace uppercase with lowercase letters

I'm trying to replace uppercase letters with corresponding lowercase letters using regex. So that EarTH: 1, MerCury: 0.2408467, venuS: 0.61519726, becomes earth: 1, mercury: 0.2408467, venus: 0.61519726, in Sublime Text. How can I downcase…
leemour
  • 9,294
  • 6
  • 31
  • 40
218
votes
9 answers

Showing the same file in both columns of a Sublime Text window

When I have 2 columns set in a Sublime Text window, can I display the same file in both columns?
user2777473
  • 3,516
  • 4
  • 22
  • 34
206
votes
11 answers

Sublime Text 3, convert spaces to tabs

I know there are a lot of posts about this, but I couldn´t get it to work. I use tabs for coding. Is there a way, to convert always spaces to tabs? I.e. on open and on Save files? Anyone got an idea? // edit: My desire is to do this automatically!…
chris
  • 4,555
  • 5
  • 30
  • 53
180
votes
26 answers

Keyboard shortcut to comment lines in Sublime Text 3

In Sublime Text 2 it was possible to comment out a line or a block of lines with Ctrl+/ and Ctrl+Shift+/. According to the menu Edit > Comment these shortcuts should be valid, but in Sublime Text 3 (build 3047) they no longer seem to work. Does…
0x4a6f4672
  • 24,450
  • 15
  • 96
  • 130
162
votes
5 answers

Removing projects in Sublime Text 2 and 3

How do you remove a project from Sublime Text 2 and 3's project windows (Ctrl+Alt+P) ? Delete has no effect, there is no contextual menu, and deleting the associated files *.sublime-project and *.sublime-workspace doesn't remove the project from…
Anto
  • 5,900
  • 7
  • 37
  • 60
156
votes
13 answers

How to use sidebar with the keyboard in Sublime Text 2 and 3?

When using Sublime Text 2 we tend to open the side bar to navigate thru files/folders in our projects. For that we can use the hotkey ctrl+k ctrl+b (in windows). However, once we're in the side bar, we can't use it with keyboard (arrows for…
148
votes
9 answers

Sublime Text 2 multiple line edit

I want to edit multiple lines and every "word" within that line. For example: 45 28 42 65 24 87 47 95 01 25 87 98 I want to select every whole number in all lines and put a "0x" before it so it would look like: 0x45 0x28 0x42 0x65 0x24 0x87 0x47…
Syperus
  • 1,637
  • 2
  • 11
  • 11
146
votes
6 answers

Sublime 3 - Set Key map for function Goto Definition

I want to create an Eclipse style shortcut Ctrl+MouseClick to open the function/method. Sublime Text 3 has already this function called goto_definition but it is bound to F12. But I'm not sure how to create this binding. I looked here for…
Kivylius
  • 5,819
  • 11
  • 38
  • 70
129
votes
8 answers

How to (easily) get current file path in Sublime Text 3

How to (easily) get current file path in Sublime Text 3 I don't often use ST console (I used it only once to install package manager), but I suppose it could be good way to : get current file path like some kind pwd command. But it doesn't…
MacKentoch
  • 2,086
  • 3
  • 12
  • 19
128
votes
14 answers

Why do Sublime Text 3 Themes not affect the sidebar?

I generally only use dark themes for coding, so it's really annoying that Sublime Text 3's sidebar stays light themed whatever theme you apply. Does anyone know how to change this? My configuration: Mac OSX 10.10.1 Yosemite, Sublime Text 3 Stable…
connexo
  • 41,035
  • 12
  • 60
  • 87
1
2 3
99 100