Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+2

__file__ is incorrect (a relative path) in plugin python modules

glyph 13 years ago updated 13 years ago 0
The __file__ variable in Python should allow a module to know what directory it's in so that (among other things) it can open resources which are its siblings.  It's OK for them to be relative paths, but then the interpreter's directory shouldn't change (and sublime definitely changes its current directory).  Ideally this would be set to an absolute path.

I should note that this is easy to work around though, since any script that wants to can work around it with "__file__ = os.path.abspath(__file__)".
+2

On drag folder on SB2 make project

Daniel 13 years ago 0
When dragging a folder onto the SB2 icon (on mac os x), open project (releative to the folder dragged onto) window.
+2

Tab behavior like Firefox

Matthijs Steen 12 years ago 0

When I am working on a project and have a lot of files open, tabs are starting to disappear from the screen, which then become unreachable, but even before that, they become so small, that they become useless as a means to navigate anyway. I really prefer the way Firefox handles tabs rather than the way Chrome handles its tabs, after which Sublime Text seems to be modelled. It would be great if there was an option to have change this behavior to a be more like Firefox, which means a larger minimum tab width (so they remain useful) and being able to reach the tabs that are outside the view by scrolling over the scrollpane, which triggers a horizontal scrolling of the tabs, so you can access the tabs that are out of view.


The scrolling behavior would be the most important aspect, because tabs becoming unreachable means that you are forced to rely on keyboard shortcuts.

+2

The best text editor I've used

D. Scott Nettleton 12 years ago 0

I use this for almost all of my programming now, and I'm even considering switching from my C++ IDE to Sublime Text and makefiles just for the editing features. Thanks for supporting Linux, and keep up the good work!

+2

glsl

Mark Ge 13 years ago updated 13 years ago 0
I am a OpenGL programmer, I usually working on GLSL programming, but, it's sad to find that there is no code editor which support GLSL syntex hightlight, especially, the build-in variables, and build-in functions.
it would be great that sublime text have this feature.
+2

File open dialog

Allora6263 11 years ago 0


I'm running sublime Text 2 (version 2.0.2, Build 2221) on OS X 10.9.

When I select File -> Open -> Open dialog window appears (normal), but it immediately closes itself (less than 3 seconds) the window, therefore I could not enter a new file name.  It also happened in 'File -> Save and Save as'.


Because of this behavior, I can't open or save file from the menu.  
Do you have any idea?


Thanks in advance,


+2

pre-pad lines when selecting empty lines for multi-line editing

Matthew Winter 14 years ago 0

When selecting the lines for multi-line editing and you press Ctrl+Alt+Up and the next line is an empty line and you was at character position 20, can we pre-pad the line with whitespace rather than select character position 1.


Or at least provide an option which allows for the pre-padding.


Much in the same way that JEdit performs multi-line selection.

+2

Control clicking a tab does not show the contextual menu (OS X)

Caleb Land 13 years ago updated 13 years ago 1
On OS X when you control-click a tab the contextual menu that shows up when you right click the tab is now shown.
+2

Opt-Click on arrow in sidebar to recursively expand or collapse folders

mrmachine 14 years ago updated by Shi Falei 9 years ago 1
+2

Allow me to type ”mode:42" instead of "models.py:42" for first result

Dan Abramov 14 years ago updated by adzenith 14 years ago 1
A typical usecase: I see I have an error at line 42 of models.py.
I press Cmd+T, start typing “mo” and “models.py” is already the first option.

Currently, to go to line 42 I either have to type the whole file name, followed by “:42”, or just press Enter, Ctrl+G, 42, Enter.

It would be *so* much better if “xxx:NN” would open first result at NN.