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

+8

Window split feature

Elias Zamaria il y a 12 ans 0
I would like a window split feature, like in TextWrangler, that allows me to see 2 different parts of the same file at different times, in 2 independently scrolling sections, by simply by dragging the splitter thing with my mouse.


I am aware that I can do something kind of like this by picking a 2-pane layout and opening the same file in both panes but that is kind of tedious.

+8

show / hide menubar

Rajkumar Jegannathan il y a 13 ans mis à jour il y a 13 ans 0
Is there a functionality to show / hide menubar in linux / ubuntu ?
If not can you please add it .
+8

api to access a project's .sublime-project and .sublime-workspace files

popavo il y a 13 ans mis à jour par Jeremy White il y a 12 ans 3
There's currently no way for a plugin to easily access a project's .sublime-project and .sublime-workspace files.

I'd like to see something like project_file() and project_workspace() added to the sublime.Window class
+8

Current group in fullscreen

Loïc il y a 11 ans 0

Add a new option "Put the current group/column/row in fullscreen".


I replaced my shell console by the powerfull Terminator console (http://www.tenshu.net/p/terminator.html) which has awesome features like the ability to split a pane horizontally and vertically and the ability to put the focused pane in fullscreen with a simple shortkey. This is quite useful in console, especially when the output of a command is really wide.


I think this ability to put a "pane" to fullscreen could be a useful feature in Sublime Text too : I develop with a 2 columns layout but I often need to focus on a single column. I can switch back to a single column layout but if I switch back to a 2 columns layout, I will have to move all files in the second group.

Actually, when I want to focus on a column, I reduce the width of the second column to the minimum but it would be easier with a simple shrotchut.

+8

Long strings auto wrap (no lines, strings)

-2724 il y a 13 ans 0
Say you have this code in Python (but the exemple works in other languages):

class Doh(object):
    def foo():
        if bar:
            try:
                stuff()
            except CrazyError:
                log("Oh my God we are all going to die. Don't panic. I said don't panic! You are panicking ! Ok we're all dead, and it's because of you. Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh")



Now, you want to make you code fit into the 79 char limit:

class Doh(object):
    def foo():
        if bar:
            try:
                stuff()
            except CrazyError:
                log("""Oh my God we are all going to die. Don't panic.
                        I said don't panic! You are panicking !
                        Ok we're all dead, and it's because of you.
                        Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh""")


Wait, but now you got your log entries spreading on 4 lines in your log file and you can't parse it anymore.
So you are back to the old concatenation:

class Doh(object):
    def foo():
        if bar:
            try:
                stuff()
            except CrazyError:
                log("Oh my God we are all going to die. Don't panic."\
                      "I said don't panic! You are panicking !"\
                      "Ok we're all dead, and it's because of you."\
                       Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh")


Woops, now you don't have white spaces at 4 places in your string.class Doh(object):
    def foo():
        if bar:
            try:
                stuff()
            except CrazyError:
                log("Oh my God we are all going to die. Don't panic. "\
                      "I said don't panic! You are panicking ! "\
                      "Ok we're all dead, and it's because of you. "\
                       Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh ")


Well, my boss doesn't like the message, he wants it that way:


class Doh(object):
    def foo():
        if bar:
            try:
                stuff()
            except CrazyError:
                log("We are going to die. Don't panic. "\
                      "I said don't panic! You are panicking ! I know you do! I can see it!"\
                      "Ok we're all dead. "\
                       Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh ")


Ok, now this is ugly, but I'm too lazy to make it pretty again. I would have to redo everything.

I don't know about you, but I do this VERY often.

I would be very nice to just be able to select a string and ask the computer to wrap it for you. Or wrap it again to avoid update this by hand.

I know, this is not easy to do this every language got it's own way plus you need to take care of a lot checks prior to making the wrap
but I'm pretty sure everybody feels the pain for doing this f***ing strings.

 Posts: 7Joined: Mon May 09, 2011 8:08 pm

+8

access.log apache syntax highlighting

Felice Tartaro il y a 13 ans mis à jour il y a 13 ans 0
wheni open an access.log file i want date ip and so on highlited
+8

Use VIM Syntax Files and Checkers

Christopher George il y a 12 ans 0
ST2 is great, but sometimes the syntax files are lacking or incomplete. It would be awesome to be able to use the extensive libraries from vim and/or emacs for syntax highlighting and checking.
+8
Terminé

Support 'clone' Sublime 1.4 ability

Suresh Malakar il y a 14 ans mis à jour par Jon Skinner il y a 14 ans 3
Sublime 1.4 has the ability to have multiple views into the same file, would really like to see this in Sublime2!
+8

Syntax Highlighting Window

Ben Bader il y a 14 ans 0
A quick menu for syntax highlighting along the lines of that in the lower-right corner of version 1 would be nice - I miss that menu!

Thanks for a great editor, btw!
+8

CSS classes and identifiers auto-completion

Tom Tomaash il y a 13 ans 0
Let's say I type:

<div class="m">

After I type m all CSS classes starting with "m" included in the project (or folder) will pop up.

The same for CSS identifiers:

<div id="i">

After I type i, all CSS identifiers starting with "i" pops up.