Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
No similar topics found.
+6
Completed
Open a single file in two or more different views.
I found this feature very helpful in vim, when I have a very lengthy file with two areas of interest. It will be cool to have it in sublime.
+6
alternative to tabs: bufferswitcher w. filepath
preface: i'm a fairly die hard jEdit user.. it's a ugly duck with a lot of rough edges, _but_ does have some powerfull features that keep me sticking to it.. However these days i discovered ST2, and it does so many things right out of the box, that i'd be switchin in an instance if it weren't for a few crucial topics ... In this post i'd like to address the views(groups)/buffer management:
In ST2 i don't know what exact file i'm editing unless i hover over the tab and wait for the tooltip to popup.. while in generall the tabs do show the file's path, it allways is truncated - with some sense though - but in the end gone completely once a certain number of tabs accumulate.. and over the day these "whereami-hovers" become really cumbersome.
Here's how jEdit handles this: the standard buffer chooser is a select that spans the top of the edit-area showing the full path of the current file.. looks like so (yess, jEdit _is_ ugly ;) : http://dl.dropbox.com/u/10220684/screenshots/screenshot%202012-04-15%20um%2013.48.02.PNG
Imho these bufferwitchers are clearly supperior to any kind of tab.. you simply know where you are without any interaction needed. And of course switching buffers becomes easier and faster as well: you know where you will switch to (or have switched to if by key-command) right away..
So: how about such bufferswitchers as alternative to tabs? ;)
extended sidenote: there're two more distinct differences how jEdit handles the buffer/view management: For one there are no predefined layouts(groups).. you just split views whichever way you need to by a simple keystroke.. or revert splits as easily one by one, or all at once. The other difference: you don't have to shove buffers around by hand.. all buffers are immediately available in any split you create.. you just choose the buffer you want to view in the given split and that's it.. of course: you can also view a single file in any number of splits at once.
thx 4 listening.. ;)
Jan
In ST2 i don't know what exact file i'm editing unless i hover over the tab and wait for the tooltip to popup.. while in generall the tabs do show the file's path, it allways is truncated - with some sense though - but in the end gone completely once a certain number of tabs accumulate.. and over the day these "whereami-hovers" become really cumbersome.
Here's how jEdit handles this: the standard buffer chooser is a select that spans the top of the edit-area showing the full path of the current file.. looks like so (yess, jEdit _is_ ugly ;) : http://dl.dropbox.com/u/10220684/screenshots/screenshot%202012-04-15%20um%2013.48.02.PNG
Imho these bufferwitchers are clearly supperior to any kind of tab.. you simply know where you are without any interaction needed. And of course switching buffers becomes easier and faster as well: you know where you will switch to (or have switched to if by key-command) right away..
So: how about such bufferswitchers as alternative to tabs? ;)
extended sidenote: there're two more distinct differences how jEdit handles the buffer/view management: For one there are no predefined layouts(groups).. you just split views whichever way you need to by a simple keystroke.. or revert splits as easily one by one, or all at once. The other difference: you don't have to shove buffers around by hand.. all buffers are immediately available in any split you create.. you just choose the buffer you want to view in the given split and that's it.. of course: you can also view a single file in any number of splits at once.
thx 4 listening.. ;)
Jan
+6
Allow using external Python interpreter on Linux, just like on OS X
This would allow for use of external libraries, like pyexpat used by elementtree and xml.sax parsers, without having to compile them into the builtin parser.
While it would probably mean that the interpreter wouldn't be as "clean" as sublime's, it would allow more flexibility. People would also be able to use 2.7 if they felt like it by selecting a different interpreter, living with the consequences of some potentially broken plugins.
While I like that the builtin interpreter is small and clean, I would prefer to be able to customize the modules, or versions, used by sublime. Seeing that is already the case on OS X, I believe that it has been proved to be a working solution, and should be ported to Linux as well.
(I personally use Sublime on both Linux (for work) and Mac OS X (private), and it bugs me that I have more freedom to write plugins on OS X, meaning my awesome (heh) plugins can't be used on Linux, without finding alternative methods to do a lot of things that rely on external non-py modules.)
While it would probably mean that the interpreter wouldn't be as "clean" as sublime's, it would allow more flexibility. People would also be able to use 2.7 if they felt like it by selecting a different interpreter, living with the consequences of some potentially broken plugins.
While I like that the builtin interpreter is small and clean, I would prefer to be able to customize the modules, or versions, used by sublime. Seeing that is already the case on OS X, I believe that it has been proved to be a working solution, and should be ported to Linux as well.
(I personally use Sublime on both Linux (for work) and Mac OS X (private), and it bugs me that I have more freedom to write plugins on OS X, meaning my awesome (heh) plugins can't be used on Linux, without finding alternative methods to do a lot of things that rely on external non-py modules.)
+6
Korean File Encodings
File Encoding / I'm korean, but Sublime Text 2 dont support Korean file encoding( CP 949, MS949, EUC-KR ... ), so I can't use it. I want to it support these encodings.
+6
'Ensure newline at EOF' could do to trim extra newlines.
The 'ensure newline at EOF' option in ST2 checks to see if the file ends in a newline, and if not, adds one. However, it doesn't trim any excessive newlines. So if a file ends in, say, 7 newlines, it doesn't trim them to just one.
By default, EnsureNewlineAtEof looks like the following:
class EnsureNewlineAtEof(sublime_plugin.EventListener):
def on_pre_save(self, view):
if view.settings().get("ensure_newline_at_eof_on_save") == True:
if view.size() > 0 and view.substr(view.size() - 1) != '\n':
edit = view.begin_edit()
view.insert(edit, view.size(), "\n")
view.end_edit(edit)
I think it would be really nice if it could trim excessive newlines, like so (this code doesn't mess around with the position of the cursor, so you don't get scrolled up or down in the file):
class EnsureNewlineAtEof(sublime_plugin.EventListener):
def on_pre_save(self, view):
if view.settings().get("ensure_newline_at_eof_on_save") == True:
if view.size() > 0:
edit = view.begin_edit()
content = view.substr(sublime.Region(0, view.size())).rstrip()
view.erase(edit, sublime.Region(len(content), view.size()))
view.insert(edit, len(content), os.linesep) # linesep is used for cross-platform compatibility - and line encodings - but "\n" works too for the most part.
view.end_edit(edit)
I've added this code to a custom plugin, but it would be much nicer to get this behavior by default. Or at least, get an additional option to trim excessive newlines from files.
+6
Working with Mounted FTP Server in Win 7.
Being able to work with mounted FTP servers in Windows 7. It works perfectly in ubuntu 11.04, but doesnt work with Windows 7.
+6
You are amazing!
You read all the mails, requests and forum-topics, you insert yourself in the community you have created, and you give us this fantastic Texteditor.
I am verry proud to see people like you, loving what they do!
Again: You are amazing, thanks for your awesome work!
+6
Autocomplete popup should loop/wrap when user hits UP at the start or DOWN at the end
When the autocomplete popup is shown and the first item is highlighted, pressing UP key dismisses the popup and moves the cursor to the previous line. When the autocomplete popup is shown and the last item is highlighted, pressing DOWN key dismisses the popup and moves the cursor to the previous line.
Personally I find this behaviour unintuitive (since I consider the popup semi-modal) and expect the highlighted item to wrap to the start or end of the list as appropriate.
+6
Fantastic Software
I've been using a variety of text editors for decades, from vi to Notepad++ to TextMate to jEdit and beyond. Sublime surpasses them all, and has managed to exceed my expectations for a programmer's text editor.
Customer support service by UserEcho