Autoconvert spaces/tabs to default setting on file load

alexrussell 8 years ago updated by myname iswithheld 3 years ago 7
I have a load of files that are throwbacks from the days of double-space indentation. I now use tabs (tab width 2).

I've set my default indentation type to tabs and set it not to autodetect indentation:
    "auto_indent": true,
    "detect_indentation": false,
    "tab_size": 2,
    "translate_tabs_to_spaces": false

It'd be great if, upon loading a file with space-based indentation, it'd detect it and convert to tabs for me. As it stands, I'm having to notice the spaces and use "Convert indentation to tabs" which is a great feature, but it'd be great to have it automatic.

Maybe I have my settings wrong. I thought detect_indentation might be key here, but it appears to simply detect the file's indentation method and override the default with that (which is actually what I would expect, so I'm not complaining there).

Hopefully that makes sense.

Haml Javascript syntax highlighting

Dane Morgridge 8 years ago updated by jetinho 2 years ago 1
Haml highlighting works great but as soon as you put a :javascript block in haml it doesn't highlight the javascript at all.  

Minimap border

Josh Bjornson 9 years ago updated by Jon Skinner 9 years ago 7
Option to display a subtle border around the minimap to help distinguish between the content and the minimap (same as in Sublime Text 1)
Jon Skinner 9 years ago
A shadow is now added when required to separate the minimap from the buffer

Project based snippets

n00ge 9 years ago updated by Bsienn Khan 4 years ago 1
A lot of times I have reusable code that relates only to a specific project and would love to create snippets for it but don't want to muddy up the snippet pool for all projects. It would be useful to have a way to create project based snippets.

Forum thread is here: http://www.sublimetext.com/forum/viewtopic.php?f=4&t=1735

Sort files and folders together in sidebar

Joshua Jabbour 8 years ago updated by Michael Avanessian 1 year ago 7
Currently folders are sorted separately above files in the sidebar. Is there any way to have them interspersed? If not, then I suppose this is a feature request...

Synchronise vertical scrolling

conversions 8 years ago updated by Bob 1 year ago 2
I have two files I want to compare opened in a two column layout and want them to scroll synchronously so that the same lines are shown in each column.

Taken from the forum: http://www.sublimetext.com/forum/viewtopic.php?t=3220

Add ftp support

Szymon Zajączkowski 8 years ago updated 8 years ago 0
Just like in notepad++ or aptana. Many developers work on remote servers and current ftp plugin is so time consuming... Please!

Integrate with Clang/libclang for C/C++

codex 8 years ago updated by Rocco 6 years ago 5
The holy grail of C/C++ text editors is to integrate with Clang/libclang and parse the code the way the compiler does--by actually compiling the code.  This would enable extremely expressive syntax highlighting, continuous build error reporting, and full refactoring, without having to maintain one's own parser.

Replicate close tab behaviour from Chrome

Anders Ingemann 8 years ago updated by Ronald Jett 7 years ago 11
Closing tabs should work the same way as it does in Google Chrome.
Before you say anything: I am not talking about moving the tabs to the title bar like this post suggests.
The cool thing about the tab closing behaviour is, that the tabs only resize once you leave the tab area. If they all have the same size, the cursor is directly beneath the next close button, once you have closed a tab.
There is a nice blog entry about why Chromes tab closing behaviour is really nice, so I think I will just leave it at that and post the link.
(Maybe this could also be implemented for the "Open files" area? This way the files don't move under your cursor when you are opening multiple files.)

Drag and drop text editing

chaiguy 8 years ago updated by marco bernich 3 years ago 10
It's handy to be able to drag and drop to move/copy blocks of text.

textured background for editor

Nice textured background for text editor )

Like paper or textile.


Make ctrl+tab only cycle tabs in current group (and in order of appearance)

T-R 8 years ago updated by Aleksandr Beliaev 3 years ago 8
I find the ctrl+tab behavior a little hard to follow at times. Since we have ctrl+1/2/3 to change focus to different groups, could the behavior be changed (possibly via a setting) so that it only cycles through tabs in the current group?
Also, could we have a setting to make ctrl+tab cycle in the order the tabs appear, similar to Chrome.  In chrome I tend to order my tabs according to how often I'll be switching to them, it would be nice to be able to do the same with SublimeText.

Minimap Width

I understand that it would be a lot of code to make the minimap width dynamic (set in preferences or draggable) but what about 2 FIXED settings, narrow and wide?  For my old eyes, if the minimap were just 1/2" wider on my screen (50 pixels?) it would be even more useful for me.

implement underline as part of fontStyle in .tmTheme

Matt Morrison 7 years ago 0
In the user-defined .tmTheme files, fontStyle seems to only accept bold and italic at the moment. Adding support for underline would be greatly appreciated.


Minimize to tray (option)

Joan Piqué 8 years ago 0
As simple as that.

Remove a single folder folder from a project

Russell Keith-Magee 9 years ago updated by Jon Skinner 9 years ago 1
Jon Skinner 9 years ago
Added in build 2027

Inactive tabs "ages" and fades until used again

Dudi Lasry 8 years ago updated by Mikaël Spruyt 8 years ago 2
As described here: http://www.sublimetext.com/forum/viewtopic.php?f=4&t=3629

Imagine having many files opened, but some of them are not currently in use, it would be easier to distinguish the active ones from the others if the background of tabs that are not in use will start to fade away.

The following image demonstrates the idea (the 2 last tabs faded due to inactivity). The tabs have different colors to demonstrate another idea (different colored tabs for each file type):


ctypes can't be imported in Linux

Fredrik Ehnbom 8 years ago updated by 美龙 谢 7 years ago 8
Go to the python console and type "import ctypes" in build 2139 and you'll get:

>>> import ctypes
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File ".\ctypes\__init__.py", line 10, in <module>
ImportError: No module named _ctypes

Make use of fallback fonts

Frank Smit 8 years ago updated by Roger Sperberg 7 years ago 3
Make use of fallback fonts so that Japanese (and Chinese, etc.) can be displayed if the currently used font doesn't support those characters.

Clojure auto-indentation is almost never correct

Anthony Grimes 8 years ago updated 7 years ago 2
There are a number of cases where auto-indent isn't correct in Clojure. Here are some examples:


Function arguments are supposed to be lined up. The vector should be lined up with the + sign, like this:

Another example is this:

when it should be:

This is just totally broken.  Notice how in the st2 formatted example, it's like the keywords are indented against the -> instead of the mongo/fetch function. It's pretty crazy. I'm sure there are more quirks but this is just what I ran into playing for a few minutes.

P.S. I apologize for pasting code elsewhere. I couldn't figure out how to format it nicely in uservoice.