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

learn more… | top users | synonyms

0
votes
0answers
25 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
9 views

is there a way to know which class/scope a line belongs to? [on hold]

Let's say I have a file, gen_template_json.py in my example, but it doesn't really matter. I am interested in troubleshooting some code which I believe is going wrong in the classify method. Again, ...
0
votes
0answers
13 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
13 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
8 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
11 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
16 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
53 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
53 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
58 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
28 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
23 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
52 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
79 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
49 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
25 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
51 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
25 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
17 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
38 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
27 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
29 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
60 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
21 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
15 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
29 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
18 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
37 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
12 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
42 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
184 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
48 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
39 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
48 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
25 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
111 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
266 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
179 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
24 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 ...
0
votes
2answers
71 views

Can I use a sequential key binding like Ctrl-x Ctrl-s in Sublime Text?

I'm trying out Sublime Text. I've been an Emacs (in Evil mode) user for several years. As a result I have Ctrl-x Ctrl-s for save deeply embedded in my muscle memory (so deeply embedded that I ...
0
votes
1answer
28 views

Sublime Text Show Filanames when using Ctrl+Tab to Browse Opened files

Is there a way to show the list of files when I browse the open files using ctrl+tab keyboard shortcuts. It can be useful in selecting an appropriate file easily and visually. Not a deal-breaker but ...
0
votes
0answers
31 views

Sublime Text 3 Keeps Trying “Caching Information” in the status bar

I have a sublime text 3. and It keeps me showing "Caching Information" in the status bar, for the line I am editing. It seems it is trying to do something and have not been able to finish. Anybody has ...
1
vote
1answer
49 views

Sublime Shortcuts at OS level

I love Sublime text as many other people do. I love its shortcuts. But whenever I'm editing text somewhere else, I keep on wanting to do Ctrl+L to select the whole line, Ctrl+Shift+Down Arrow to ...
0
votes
1answer
33 views

Sublime Text Package Control - Get More Information

Is it possible to get more information about the plugin/extension in the Package Control in Sublime Text? I use the shortcut ctrl + shift + p to bring package control and Install Packages. The ...
0
votes
0answers
32 views

Sublime Text 2 (mac) - Include hidden files in search

I've tried using the search all function (Cmd+Shift+F) in a project, but I'm unable to search in hidden folder. For example, I know "foo" is in a hidden file, but the search comes up empty.
0
votes
1answer
240 views

Force SublimeREPL to use specific version of Ruby

I installed SublimeREPL for use with Ruby. It attempts to run code on Ruby 1.8.7 and I would like it to run on 1.9.3, and later on other versions of Ruby. I'm not sure where it's inheriting the ...
-1
votes
1answer
29 views

Syntax highlight in SublimeText 2

How do I get Sublime Text 2 to highlight syntax of a language? I tried everything I could find but none of that bore any fruit. Thanks
0
votes
1answer
19 views

How to edit Sublime Text 2 Macros

How can I edit Sublime Text 2 Macros? What program to use to open the file (example - MyMacro.sublime-macro)? Also, how can I delay the keyboard typing in playing the macro? I hit record macro, then ...