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

+2

Being able to fold a function that only consists of three lines.

Burak Cankurtaran hace 12 años 0

Functions definitions of three lines can not be folded. The function shown below in JavaScript is an example of this.


function foo() {

  doSomething();

}


Typically I have to add a blank line after the function declaration to be able to fold the function.

+2

Sublime feels frozen

Rashard A hace 12 años actualizado por Michael Herchenroder hace 12 años 2

Dear all, I'm having trouble with sublime text 2.0.1, I've been using it for a couple of months now but all of a sudden none of the files I've opened using sublime are responding so I can't type anything, try and delete code nothing its literally just like a read-only screen. Please any help I'd really appreciate it.

+2

Check for updates screen

nblackburn hace 12 años 0

I think it would be nice if you could introduce a Help -> Check for updates screen as that way, we would be able to switch the release channel with minimal effort which i am sure many of us would benefit from.

+2

Uncloseable tab/crash if you Ctrl+C subl before you close the tab it opens

Max Bolingbroke hace 13 años 0

To reproduce this, open some text with the subl command:


echo foo | subl

Sublime text opens with a view onto that file. Now Ctrl+C your subl command from the terminal. As expected, the file stays open in Sublime Text 2. However, if you try to close the opened tab bad things happen. Instead of the tab disappearing, it stays open - but the text vanishes and is replaced with solid background colour.

If you try to close the tab again nothing happens. It is literally impossible to remove the tab without closing the window. Furthermore, Sublime Text will outright crash (SIGABRT) if you close all of the *other* tabs open in the window.

This affects OS X (at least, other OSes may be affected).
+2

New setting: Open large files without syntax highlighting

Tomas Mrozek hace 11 años 0
As was noted in one of the posts in the forum, the slowness of Sublime Text when working with moderately large files (e.g. 20 MB) comes from the syntax highlighting. Without it the editor is fairly quick.

Could a new setting be introduced that would make the editor open files larger than X kB/MB (where "X" is a number chosen by the user) without syntax highlighting? (if needed the user can set the syntax later after opening the file)
+2

new icon

Oliver Lardner hace 13 años actualizado hace 13 años 0
The new one is nice and shiny, but it completely ignored the established identity of sublime. I promptly replaced it with the grey square.

What is needed is re-design, not replacement. The square is a good thing, it makes you stand out.

I'd like to try my hand at designing the next if at all possible. oliverlardner.com

Thanks~!
+2

IPython + Sublime Text would be the greatest Python enviroment ever.

Ben Frevert hace 11 años 0
IPython is a Mathematica-style way of executing cells of code, but is browser-based, so text editing is limited. Sublime Text provides stellar text editing, but is limited in execution for rapid code iteration.
+2

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

glyph hace 13 años actualizado hace 13 años 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 hace 12 años 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 hace 11 años 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.