Sublime Text 2 is a cross-platform GUI text editor for Windows, OS X and Linux.

learn more… | top users | synonyms

1
vote
1answer
8 views

View file tree in Sublime when using Cyberduck

I use Cyberduck to open remote files and edit them via Sublime on my local machine. I want to be able to see the file tree of the remote system in the Sublime Text side bar. I've tried a few things ...
0
votes
1answer
27 views

Having trouble creating symlink between the terminal in Mac OS X and Sublime Text 2 so it can be launched from the command line

I’m using Mac OS X Yosemite and I want to be able to open Sublime Text 2 from the terminal with a command like this: sublime . I’ve typed this into terminal as shown on the Sublime Text 2 website: ...
0
votes
0answers
13 views

How to preserve the Extended File Attributes in linux?

I'm working on a project where i rely mostly on the file's extended attribute that i set when i create the file. But i'm facing problem while modifying the file. Solid Example: When i edit the file ...
0
votes
1answer
32 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
4 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
15 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 ...
0
votes
1answer
26 views

Autocompletion for custom PHP classes in Sublime Text 2/3

How can I get autocomplete in Sublime Text 2 (or 3) to work with built-in and custom PHP functions, methods and classes? In Atom I've got it working with built-in functions, like this: In Sublime ...
1
vote
1answer
50 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
24 views

How can I create a RAM disk and install Firefox into it?

I've a Fedora 22 64-bits system running under a notebook with Intel Core i3 processor and 7.7GB of RAM. I only use about 2~3GB of RAM (with everything I need) and I want to speed up my system, so I've ...
0
votes
1answer
16 views

How to correct IdeaJ IDE on Win7 font setting bugs? Or just the fonts bug itself?

I try to use fixedsys for IDEA IDE which downloaded from http://www.fixedsysexcelsior.com/ Set the font size to 16 and then the A and B character just overlapped each other. other size will be fine ...
0
votes
0answers
42 views

Sublime text opens an xml file in HEX view

I have an xml file(rename to .xml) and I need to open this in Sublime text. But if I try to open and view it, it displays the data in Hexadecimal values. But I want this to be displayed in xml format. ...
0
votes
0answers
14 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 ...
0
votes
0answers
19 views

Running “subl” command started crashing ITerm 2.1.1 with Oh-My-ZSH

Up until a few days ago, when I would type subl it would open Sublime Text 2. I would use the subl command frequently to open files and directories. Today, I tried to run subl from the command line ...
0
votes
1answer
11 views

Equivalent of JavaImport in Sublime Text 3?

I've got ST2 on my Windows machine which I've installed the JavaImport package which is a great tool for automatically writing the 'import' statements for various functions. Unfortunately it is not ...
1
vote
1answer
22 views

OS X - Why does Firefox know my search query in other programs?

Environment: OS X Yosemite 10.10.3, Sublime Text 2.0.2, Pages 5.5.3, Firefox 38.0.5 Observation: When I find a word in Sublime Text 2 / Pages, and switch to Firefox, wanting to search the same word ...
0
votes
0answers
15 views

Sublime: hide path in tabs for files with same name

I am aware that the same question was asked 2 years ago here: Removing file path from tab name Since there has been no answer given and sufficient time has passed, I'm asking this again. Also that ...
0
votes
0answers
17 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 ...
0
votes
0answers
54 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
1answer
77 views

Where does Sublime Text store unsaved files on Linux?

I have an unsaved file that I am trying to locate after a crash on Linux Mint. Where does sublime text store unsaved files on Linux OS?
1
vote
1answer
99 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
11 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
31 views

Open files in new Sublime window on Ubuntu

I currently switched from gedit to Sublime Text. One thing I liked with gedit, but what is missing in Sublime, is that new files are opened in a new window when the current window is in another ...
1
vote
0answers
28 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: ...
1
vote
1answer
58 views

How to set up key bindings to change file type in Sublime Text 2

I would like to learn whether it's possible to set up a key binding in Sublime Text 2 to change a file type. To clarify further, I am not trying to alter a particular file type settings via a key ...
0
votes
0answers
105 views

Configuring Emacs tabs to behave like Sublime Text?

I love Emacs, but the only thing that annoys me about it is I can't get the damn tabs right. This is my configuration file: (global-hl-line-mode 1) (setq indent-tabs-mode t) (setq-default ...
1
vote
0answers
64 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 : ...
0
votes
0answers
26 views

Sublime Text 2 Package Control Installation trouble. No Package Control option under Preferences

I am trying to install an REPL for Sublime Text 2. I followed the both the simple and the manual installation procedures as per the instructions at https://packagecontrol.io/installation#st2 However, ...
0
votes
1answer
72 views

How to configure Emmet in Sublime to enable comment shortcut?

Since I have enabled Emmet in Sublime 2, some commands don't work properly. How can I enable what seems to be the default functionality, when in HTML file typing cmd + / in front of <script ...
0
votes
0answers
27 views

How to give a “Document” a Title with Markdown in Sublime Text 2

I use Sublime Text 2 a lot for holding onto little thought pieces I have over the course of the day, and generally end up with around 20 or 30 floating around at any one time. As such, titling the ...
0
votes
1answer
21 views

Sublime text – configuration to focus selections right away while searching

Transitioning from Textmate to Sublime text and sorely missing one feature: In textmate, when searching for "sometext" in a single file, "Cmd–g" sets focus to selection, so that you can edit current ...
1
vote
1answer
42 views

What is the best policy for running GUI programs from CLI to silence non-error messages?

When, on Linux, running graphical programs (such as Sublime Text for example) from the Terminal, the program runs fine but logs on the console messages that are not exactly failures, nor useful log ...
0
votes
0answers
29 views

Search only in non-folded, visible code

Is there any way to set Sublime Text 2's search feature to only search in code that is not folded? i.e. limit the scope of Find or Find/Change to only visible code, excluding folded code? For ...
0
votes
2answers
33 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 ...
2
votes
3answers
71 views

How do I get files with no extension to open with Sublime Text 2 by default?

Whenever I download programs or MediaWiki extensions there nearly always are README, INSTALL and COPYING files contained within the downloaded directory(s). These files usually have no file extension ...
0
votes
0answers
22 views

How do I easily highlight PyMOL code in Microsoft Word 2013?

Now I realize that several questions similar to this one exist on Superuser (e.g., How do I easily highlight the syntax of PHP code in Word?) but I believe there is enough difference for this not to ...
0
votes
0answers
19 views

Can't find Autoprefixer in sublime

I installed everything per this article: Adding CSS Vendor Prefix Automatically With Sublime Text I press CTRL-SHIFT-P, while am on a .CSS file and typing in "Autoprefixer", but such an extention I ...
3
votes
1answer
30 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
20 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 ...
0
votes
0answers
41 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 ...
0
votes
0answers
13 views

Sublime Text (3) Keymaps Across OS's?

Has anyone solved the problem of different Sublime Text keymappings across operating systems? I use Linux, Windows, and occasionally OS X. And, I have Sublime Text 3 installed on all platforms. ...
1
vote
0answers
50 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 ...
0
votes
1answer
248 views

View document position window on right side in Atom editor like Sublime Text?

The title pretty much covers it. In Atom can you display the position where you are in the current document like you can in Sublime Text? An example of what I'm talking about can be seen on Sublime's ...
0
votes
1answer
55 views

sublime text 2 - multiple key bindings don't work, only last one

I set up a few custom key bindings, but only the last one always works, the ones before it don't. [ { // "keys": ["ctrl+b"], "command": "insert_snippet", "args": {"contents": ...
0
votes
1answer
44 views

How to configure Sublime Text 2?

So I want my Sublime Text 2 to look like this. To that end, I installed the corresponding theme and font (DejaVuSansMono). But no matter what I do, a/ the font doesn't change to what I want it to ...
2
votes
1answer
55 views

Customize “wrap” characters in Sublime Text

In Sublime Text, highlighting any text and pressing any of the following symbols: ' " ( { [ will cause the entire highlighted section(s) to be surrounded by the key you pressed (or its matching ...
0
votes
1answer
30 views

Sublime Text - Find next - go back to beggining of file like Chrome does

In Google Chrome, when you search for a string and you keep pressing the "down arrow", if you are at the last string found, and you click again the down arrow, if goes back to the first string found ...
0
votes
1answer
134 views

In Sublime, what do the left/right arrow buttons do in the top left of the interface?

I know it sounds like a stupid question, but clicking them does nothing noticeable, and I can't find any info after googling it.
2
votes
1answer
314 views

Sublime Text 2 Keeps Growing due to Backup folder

My Sublime Text 2 Installation folder keeps growing as the backup folder getting bigger. I think it is due to package control plugin. Every time, it updates, it creates dated folder in Backup. Is ...
0
votes
1answer
211 views

Custom font in Sublime Text 2 without installing it

In Sublime Text 2, is it possible to use other fonts than those which are installed on the system? If yes, how can I achieve this? I am working on a Windows 7 machine without admin privileges and am ...
0
votes
0answers
25 views

Contents of find-and-replace input shared between programs

When using the find functionality in Firefox and Sublime Text 2, the contents of the input field are shared between programs. Effectively, if I have been using find in one program, as soon as I hit ...