Sublime Text is a cross-platform GUI text editor for Windows, OS X, and Linux. Use this tag for version-agnostic questions.

learn more… | top users | synonyms

0
votes
0answers
11 views

In Sublime Text, for syntax-specific preferences, how do you enable increase/decrease font size with CTRL+Mousewheel

I am normally able to use CTRL+MouseWheel to increase and decrease the font size in Sublime Text (I am using Sublime Text 3). This behavior appears to be on by default. When I am in an editor window ...
0
votes
1answer
10 views

How to turn off Sublime Text's auto_match_enabled for a specific set of delimiters in specific sorts of documents?

My question is related to this question about turning off parenthesis matching in Sublime Text 2. Sublime Text 2/3 has the setting "auto_match_enabled", which automatically pairs delimiters ([ ],{ ...
0
votes
0answers
5 views

Sublime Text - How to place the cursor automatically inside parentheses?

So, I'm starting to use Sublime Text 3 and I have one question regarding the position of the mouse cursor when opening parentheses, for example "()" and "{}".. I want the mouse cursor to ...
0
votes
1answer
18 views

How to make Sublime Text 3 treat certain extension as html?

I have a node.js development environment in which templates have .hbs extension. I'm wondering how to make them as html for Sublime Text 3, so that I can benefit from markup coloring and tidying etc?
1
vote
0answers
8 views

Sublime Text 3: Using the line as an arg for a Keybinding

I want to use sublime text to edit scripts, and it could be helpful to "evaluate" (run) a line in the command line, right in sublime text. I thought I'd do this with the Shell Command Plugin, which ...
1
vote
0answers
11 views

Is there a sublime plugin to highlight selected text with a given color? [closed]

I want to mark certain sections of a text file with different colors, and ideally have them persist between openings. Some sort of visual bookmarks. Is there a plugin that can do this?
2
votes
1answer
21 views

How do I decrease the minimum font size in Sublime Text 3

If I use the Ctrl+ and Ctrl- key combinations I can lower my font size down to 8pt, even though if I edit my user preferences I can set this to whatever I like. Problem is once I do that, any use of ...
0
votes
1answer
29 views

Trouble creating Custom Completions for Sublime Text 3

UPDATED I'm working on Salesforce development using the MavensMate plugin for Sublime Text 3. I'm wanting to create a custom completions file that will contain some common HTML tag class names that I ...
0
votes
0answers
16 views

Sublime paste in snippet

I have got a sublime snippet to get console.log in js who look like that : <snippet> <content><![CDATA[console.log('$1', $1);]]></content> ...
1
vote
1answer
28 views

Dynamic Text Snippets?

Suppose my snippet is: <snippet> <content><![CDATA[ 1example \> ]]></content> <tabTrigger>1e</tabTrigger> <scope>text.tex.latex</scope> ...
0
votes
1answer
33 views

What is the shortcut to “Add Next Line” in Sublime (Linux)?

In Windows is Ctrl+Alt+Arrow Up. And "Add Previous Line" is Ctrl+Alt+Arrow Down. My distribution is Linux Mint Rafaela 17.2
1
vote
2answers
95 views

Use Sublime Text find to highlight a regex group in search pattern

Is there a way to make Sublime Text highlight (match) only part of a regex search pattern? For example, I want to exclusively highlight Text when searching for Some(Text).
0
votes
1answer
81 views

Sublime Text, move tabs with keyboard

In Sublime Text 3, is there a way to reorganize tabs using keyboard only? I know you can switch a tab from a pane to another pane using for example ctrl+shift+2 to move a tab from pane X to pane 2 ...
0
votes
1answer
51 views

Notepad's .LOG command inside Sublime Text 3

I've been using notepad and notepad++ since forever, but now that i've been coding more I'm using Sublime Text 3. One feature of notepad that I miss most is the .LOG command. When a file has .LOG on ...
0
votes
1answer
158 views

How to install a Sublime Text 3 theme?

I don't understand why I'm getting all these errors: Error loading colour scheme Packages/Material Theme/schemes/Material-Theme.tmTheme: Unable to open Packages/Material ...
0
votes
1answer
44 views

Sublime text permissions not enough

I have a problem according to which I cannot install new packages through package control, my workspace always reset on load and etc. If I open sublime throught console sudo subl then these issues are ...
2
votes
1answer
51 views

Is it possibile to attach snippet only to specific project in Sublime?

I tried to save the snippet files in the project folder but it is doesn't work. Do you have any other idea?
3
votes
4answers
216 views

Multiple Sublime instances using different windows credentials?

As a security minded professional I do my day-to-day work on my computer as an unprivileged account. I will start individual programs, shells or so on with my privileged Domain Administrator account. ...
1
vote
1answer
76 views

in sublime how to abort previous build automatically when building again

I know that there is key mapping to cancel build. But I want automatically when I press Ctrl+B, that it will abort the previous built. Is it possible? Is it possible, that the "cancel" build will do ...
0
votes
0answers
12 views

In sublime, the command “set_build_system” not working

I am trying to change the build system using the "Edit Command Platte". Everything I tried didn't works. Things I tried: { "caption": "Set Build System: Mocha", ...
0
votes
1answer
45 views

How to make Sublime JSON syntax warn on extra comma

This is for how my sublime text look like when I edit a JSON file: I want that sublime will alert me when there are too many commas (like nodejs json.parse) I need it because some JSON parser ...
1
vote
1answer
195 views

How to create new command to execute a batch file with Sublime Text?

I need to create a new "shortcut" command in Sublime Text to run a BAT file. I know how to use build_systems and even build_systems per project. I want to add the command to the command palette list ...
0
votes
0answers
286 views

How to find java packages to import with Sublime Text 3?

In Java IDE's there is usually a feature that suggests/auto-completes imports, however with sublime text, I end up searching for packages to import I'm wondering whether there is an internal feature ...
0
votes
0answers
17 views

How do I tell which sublime plugin(s) are resource hogs?

Just what the title says, the rest is detail :) Relatively often my ST3 instance hangs for a couple of seconds (or just now, which prompted this post, it hung indefinitely and I had to kill the ...
1
vote
1answer
29 views

Autoprefixer does not work on Sublime

I following this link to add AutoPrefixer plugin to my sublimeText. Once I press 'Cmd + Shift + P', AutoPrefix CSS is one option of the menu. However, when I choose it nothing happens. I have a ...
1
vote
0answers
51 views

Sublime Text 3 vertical paste on large number of lines

This is a follow-up question for this answer. While working with vertical selection/pasting this answere works only for the destination pasting area should be selected with Command+Shift+L+for same ...
1
vote
1answer
146 views

Git gui blame from Sublime Text 3

I have tried many things, but none of them worked. Expected result: I type a shortkey, and git gui blame opens the current file at the line the pointer is on. I work on Windows 7, with Sublime 3 ...
0
votes
0answers
25 views

Add space before braces for functions and if/else's in Sublime text

id like to change Sublimes default behavior toleave an empy space before a brace in Javascript. I'm used to just typing func.. And sublime creates a function block for me. How can I make it so there ...
1
vote
0answers
62 views

Sublime snippet in many places with different placeholders

In my scaffolding snippet I'd like to be able to remove two chunks of optional code, with a single button press. However my attempts were unsuccessful. <snippet> ...
0
votes
0answers
24 views

Sublime only show the directory

In sublime when you have multiple files with the same name open, it shows you which on is which by showing the path to the file by showing part of the path is the tab title. When I open files with ...
4
votes
1answer
469 views

Change middle mouse button in Sublime Text

On Sublime Text running on Windows the Middle Mouse button acts as select range, on Linux its Shift+Right click. How can I set the middle mouse button to be select range on Linux? Specifically ...
1
vote
1answer
15 views

Is it possible to set a project-specific font in Sublime (2)?

Is it possible to set a project-specific font in Sublime (2)? I just naively tried adding this to the config it give you under Project > Edit Project: { "font_face": "monospace" } (Which was ...
0
votes
0answers
27 views

How to follow a file 'link' from Search Results without the mouse in Sublime Text?

if I do a search in Sublime, I get a buffer with search results. The results has "annotations" that are clickable: if I double-click a search hit, I'm taken to its location. How to follow such an ...
1
vote
0answers
48 views

Sidebar subfolder: Sort by alphabet by not by capitalisation

It's every time confuse me that in sublime-text at sidebar subfolders sort like: Folder5 Folder8 folder1 folder7 How to force sublime-text to ignore letters case and sort subfolders like this: ...
3
votes
0answers
295 views

Editing files with Sublime Text 3 slow over SSHFS

This post was originally posted on StackOverflow, where users recommended reposting here. I'm currently mounting remote server directories as local folders under OS X 10.10.3 and OSXFUSE + SSHFS. ...
2
votes
1answer
221 views

How to change syntax for a specific folder in Sublime Text 3

I write JS projects in ES5 and ES6. I installed Babel-Sublime for highlighting Babel supported code. Now, I open a .js file written in ES6, goto "View -> syntax -> Open all with current extension as : ...
1
vote
0answers
57 views

Sublime: change default syntax on a per-project basis

I know you can change the default syntax associations globally with the "Open all with current extension as..." button in Sublime Text 3. Can I make this change on a per-project basis?
0
votes
2answers
81 views

Why do my tabs in Sublime Text appear so far off in Github?

In my Sublime Text settings I have: "translate_tabs_to_spaces": true And in the editor my code looks beautiful like so (all tabs): However in GitHub the tabbing turns out terrible: If I use 4 ...
1
vote
1answer
157 views

SublimeText XML completions file

I apparently can't get autocompletion to work in my XML files. Here is my xml.sublime-completions file, which I added to the User folder: { "scope": "text.xml", "completions": [ { ...
0
votes
1answer
71 views

SublimeText3 double-backslash in snippet

I'm using SublimeText3 with LaTeXTools for my LaTeX work and want it to insert a double-backslash+newline when I hit ctrl+enter. Like this: asdf\\ foobar I tried inserting the following into ...
1
vote
2answers
25 views

How to search Sublime Text changelog?

I opened the Sublime Text changelog (Help / Changelog). How do I search it now? I think it's bizarre Sublime Text opens the changelog in a new window, rather than the text editor.
0
votes
1answer
208 views

Sublime User Keybindings Error

I am running sublime text 3 on Ubuntu 14.04 LTS. I added the following line to the user key bindings: { "keys": ["ctrl+alt+shift+s"], "command": "save_all" } Following this forum: Sublime Save All ...
0
votes
0answers
100 views

Sublime text colorize Build System output

Sublime Text docs provide optional syntax argument to colorize build system output. As far as I know you usually need 2 files to do syntax highlight in Sublime: .tmLanguage (which I can provide to the ...
0
votes
1answer
98 views

ST3: New Build Systems / SideBarEnhancement: Keyboard shortcut that opens files to different browsers via localhost

Using Sublime Text 3 on a mac. I'm currently learning d3.js and would like to be able to preview source codes on different browsers via the localhost, preferably, without using 3rd party browser ...
1
vote
0answers
472 views

Sublime Text 3: How to enable autocomplete with Tab and Enter / Return

When I first select a choice with the Tab key from the list of choices, the autocomplete choice is not committed, when I come back and try again, it works. Why does it work the second time and fail ...
3
votes
1answer
33 views

Determine which plugin is overriding key bindings

I'm using Sublime Text 3 on Windows 7. In Key Bindings - default: { "keys": ["f9"], "command": "sort_lines", "args": {"case_sensitive": false} }, { "keys": ["ctrl+f9"], "command": "sort_lines", ...
0
votes
0answers
28 views

Is there a way to convert indentation to tabs whenever a document is pasted into sublime text?

most documentations (of codes) are indented with space on the web these days (due to html formatting). It's a bit inconvenient to repeatedly use convert indentation to tabs command in sublime text. I ...
6
votes
2answers
1k views

How to stop Alt+Shift+1 closing the current app?

Whenever I press Alt+Shift+1, it seems to close the currently focused application window. I don't want this behavior, especially since they are used for application-level hotkeys (Sublime Text 2/3). ...
0
votes
0answers
49 views

Autocomplete method definitions with parameters

In Sublime Text, typing out a method name will prompt the autocomplete box to show all matching words in a file, and the All Autocomplete package will extend that to all matching words in any open ...
1
vote
0answers
86 views

PHP syntax in Sublime Text very slow

My Sublime Text 3's PHP syntax highlighting causes the editor to become extremely slow. And it's proportional to the amount of code in the current file. It's only with PHP. As soon as I switch to ...