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

+5

Add option to display N lines of context above/below cursor when near edge of window

Paul Hoepfner-Homme fa 14 anys 0
When I am scrolling up in a file, or jump to a point higher in my code using some command (such as CTRL+M), I'd like the option for Sublimetext to show up to N lines of context above the cursor. Similarly, when I am scrolling down in a file, or jump down, I'd like to have up to N lines of context to be shown below the cursor. N would be a configurable number. I often find myself using CTRL+M to find out the context of the current nested block I am in, but sometimes the opening brace or bracket is on a separate line that the statement/function/construct definition is on, such as in this example:

foreach( $events as $event )
{
  ...
}

Within this block, if I hit CTRL+M, the cursor jumps up to the top brace, but I don't see the foreach() statement until I scroll up a line. I'd like SublimeText to be able to show me the 3 or so lines above the cursor to give me some context about where I am.
+5

tamil character support

SHIVA SURYA fa 10 anys 0

Tamil language character support is not good in sublime,it is not showing or performing well,please support this issue.

+5

Creating a new file into a project

Smirnov Yuri fa 14 anys actualitzat fa 14 anys 3
It would be better if when you create a new file in some folder of a project, you first get asked for it's name. This way you instantly get proper syntax highlighting.
+5

In the on_close listener, view.window() returns None.

Xavura fa 13 anys updated by Kenny Levinsen fa 13 anys 3
I posted this on the forum but I guess this is the preferred avenue for feature suggestions and bug reports so I figured I would post it here too.
+5

deleting file should change tab title to "untitled"

ybakos fa 14 anys 0
If I have a tab open containing file "foo," when I delete file "foo" via the sidebar the tab should update its name to "untitled".

+5

Allow build and save as 'macroable' commands

sorahn fa 14 anys actualitzat fa 14 anys 0
If you create a macro file that has either the build, or the save commands in it, you get errors in the console that say:
Unknown macro command save

Unknown macro command build

Both 'save' and 'build' are standard commands.  Why do they not work when added to a macro?

+5

Select the currently open file in the sidebar when FILES is collapsed

Scott Deming fa 15 anys 0
When the FILES section in the sidebar is collapsed it would be great to see the file you are editing selected in the FOLDERS section.
+5

Sidebar on the Right

Tom Gillis fa 13 anys 0

Would like to have the option of displaying the sidebar on the right side of the editor window instead of it defaulting to the left.  

I have TextMate set up this way and right now this layout issue is the only thing that's keeping me from switching to Sublime.

+5
Fixed

Running a second instance of Sublime should merge with existing

Tor fa 15 anys updated by Jon Skinner fa 14 anys 11
On Linux, opening a second file using

./sublime_text newfile

create a new instance of Sublime Text 2 instead of merging it with the one running. This is very annoying since the new instance duplicates all of the tabs of the old one.

The same thing thus happens if you try to open a file from Nautilus or another file explorer.
Answer
Jon Skinner fa 15 anys
Added in build 2027
+5

Allow changing the limits of font size scrolling

snake5 fa 12 anys 0

Currently the minimum font size is 8, however I do appreciate the options of using smaller fonts (7, for example, is still very readable and allows to see a lot more code at once) and scrolling to bigger ones when it's necessary. The only issue left is that it appears to be impossible to set font size to 7 by scrolling to it.