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

+1

scroll_past_end=false: buffer scrolls not restored

U N. 13 year бұрын 0

When having `scroll_past_end` set to false, workspace buffer scroll positions are not restored upon Sublime close & relaunch, or project switch, except the first visible buffer. Cursor positions within each of buffers are preserved, and selections are preserved too, but all but one buffer scroll positions are reset to top.
Having `scroll_past_end` set to true, scroll positions are preserved properly, both on relaunch and project switch.

+1

Quad Vertical Pane?

Jeff Yeo 14 year бұрын updated by Oktay Acikalin 14 year бұрын 4
I have 2 Wide screen monitors. I loved using 4 vertical panes in sublime text 1. I realized you can't do that in Sublime 2.
Bring it back please!
+1

Wrap paragraph should only wrap selected text, if any is selected

Piotr Kalinowski 12 year бұрын 0

The command to wrap text at X characters should wrap only selection if one was made, instead of a paragraph. This would allow to easily wrap a comment in source code file without altering the subsequent code.

+1

Side Bar Scrolling Behavior

Zander Milroy 12 year бұрын 0
"Right Click > Reveal in Side Bar" will highlight a file as expected, but only scrolls the side bar to put the selected file into view if the file is contained within a folder that is not expanded. I feel regardless of folder state, the side bar behavour should be consistent, either always scrolling or never scrolling.
I'd prefer it to always scroll, as right now "reveal in side bar" sometimes appears to do nothing if there are a large number of files/folders in the side bar.
+1

Delete line doesn't delete blank lines (Ctrl+Shift+K)

Josh Bjornson 14 year бұрын 0
The new macro for delete line (Ctrl+Shift+K) doesn't delete blank lines. If you change the macro to use left_delete instead of right_delete it will delete blank lines.
+1

Drag To Open

Liam Corrigan 11 year бұрын 0

Drag files from the sidebar into a panel to open them there.

+1

Hit "D" for "discard" on unsaved changes modal window

Mark Slater 11 year бұрын 0
Photoshop has a nifty feature that, when trying to close a document with unsaved changes, allows you to hit "d" for "Discard" in the Save as... modal window.


+1

Doc suggestion:

J Connolly 12 year бұрын 0
for these instructions (http://www.sublimetext.com/docs/2/osx_command_line.html), the code that worked for me using default settings included a slightly different second directory: sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/subl

You guys rock
+1

Newly folder should be expanded 1 level when added to project

Russell Keith-Magee 14 year бұрын updated by Nick Farina 13 year бұрын 2
When adding a folder to a project, it is added in a "closed" state. The first action will almost always be to open that folder. The default expansion state of a newly added project folder should be to open the top level (i.e., if I add folder Foo, I should see all the files and subfolders of Foo without needing to manually expand the folder).
+1

Indentation to match Google style guide in indent to bracket mode

Peter Hawkins 12 year бұрын updated by Luc Bourhis 12 year бұрын 1

I'd like to write code matching Google's C++ style guide:

http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Declarations_and_Definitions#Function_Declarations_and_Definitions


Indent to bracket mode supports this style already:

ReturnType ClassName::ReallyLongFunctionName(Type par_name1, Type par_name2,
                                             Type par_name3) {
  DoSomething();
  ...
}

In the event that the parameters are too long to fit on the line, I'd like to use this style:

ReturnType LongClassName::ReallyReallyReallyLongFunctionName(
    Type par_name1,  // 4 space indent
    Type par_name2,
    Type par_name3) {
  DoSomething();  // 2 space indent
  ...
}