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

-1

trash folders, delete unempty folders

Tomáš Ivánek 13 ár síðan 0
It would be cool to add a ability to trash folders and ability to delete unempty folders from sidebar
-1

Don't move the view position when I adjust tab size

Jeff Yeo 14 ár síðan Uppfært 14 ár síðan 1
It's especially big deal when the file is like 8000 lines long.
Resize the tab window size just a bit and I will be looking at a whole new different place in the file.
I don't think the way it is now is beneficial to anyone.

Please make it so that current view is kept still as I adjust the tab size. 
-1

Default keybindings should match default Xcode bindings

Brandon Fosdick 13 ár síðan Uppfært 13 ár síðan 2
For example, Option-Command-Arrow triggers code folding/unfolding in Xcode, but it changes tabs in ST2. Switching tabs in ST2 could use the Ctrl-Command-Arrow shortcut that's used for history forward/back in Xcode, or it could use Shift-Command-SquareBracket, to be consistent with Terminal's shortcuts.
-1

"Open Recent" file names not parsed correctly

Greg Corrigan 12 ár síðan 0

May be just a Linux issue, but when I go to "Open Recent", the menu is not properly escaping the file names listed, so underscores become alt+[letter] key combination indicators.


For example, the file stats_controller is listed as statscontroller, with the "c" in the middle underlined.


It does open the file properly. Just needs to be escaped properly in the menu control, and unescaped when executing the fopen()


-1

When having the "Open Files" section shown, the tab bar has GUI glitches

Andrei-Ionut Balcanasu 12 ár síðan 0

I enabled "Open Files" (from View > Side Bar > Show Open Files) and I started to have GUI glitches in the file tab area:


  • While switching between files using the keyboard the current file wasn't highlighted properly, like leaving the previous one highlighted
  • after a few minutes and files switched I would end up with something like this: http://d.pr/i/rbQW
  • Changing the Layout will create other glitches and inconsistencies like overlapping file tabs: http://d.pr/i/vxVT
  • The "go to anything" panel has transparent margins: http://d.pr/i/3qtN  If I call the panel from the sublime preference file it is shown correctly 

Notes: Disabling the theme does not help.

By hiding the "Open Files" section in the sidebar and restarting the app (once or twice) these problems don't appear.

-1

Automatic docbloc comments

Hari K T 13 ár síðan updated by Sven Axelsson 13 ár síðan 1
Automatic docbloc comments
 
 /**

adding the above and pressing enter should generate the docblox comments.

Eg :

    /**
     * @param type $hello
     * @param type $world
     * @return type
     */
    public function helloWorld( $hello , $world)
    {
    }
    
Netbeans has the functionality, not sure whether I am missing something in Sublime
-1

Toggle comment shortcut removes other comments

Romain Goncalves 13 ár síðan Uppfært 13 ár síðan 0
Situation : 
  • File type : .js
  • I have a class description comment at the start of my file :
    /**
     * Class description
     */
  • I have a big comment block at the end of the file (classic /* ... */)

How to reproduce : with that similar file structure, select multiple lines, and use the "Toggle Comment" shortcut (Ctrl+/ on my machine)

At first you think nothing has happened, and if you try it again, it will comment your lines. But what you may not have noticed is the effects of the first shortcut use : it removed the "/*" at the start the file and the "*/" at the end, causing execution issues.


I can reproduce the bug on 2 computers (build 2126 on one and 2181 on the other) with the same effects. Both computers use Windows XP Pro x86

-1

unresponsive copying using Command+C shortcut in OS X

Eugene Wolfson 13 ár síðan updated by Jon Skinner 13 ár síðan 1
-1

vintage mode: paste over visual selection

Michael Seiwald 13 ár síðan Uppfært 13 ár síðan 0
It's currently not possible to paste over a visual selection like in Vim with 'p'. I works with Ctrl+v btw.
-1

Control-drag selection to immediate next line

Caleb Anderson 13 ár síðan 0
I often select multiple lines to duplicate. When using the mouse I select my desired lines and control-click the selection and drag down. My intent is to duplicate the selection to the very next line. However, currently the caret is only allowed to get as close as the beginning of the next line, which breaks the flow. The expected behavior is to be allowed to start at the end of the selected text.


Example:
I have the following text:

"-I/path/to/myproject/includes/something",
"-I/path/to/myproject/includes/somethingelse",
"-I/path/to/myproject/includes/morethings",
"-I/path/to/myproject/includes/evenmorethings",
"Something different"

I want to add 4 more lines and change a small bit of each. I want this to be immediately after the first four lines.
I select the first four lines of text by clicking to the right of the end of the fourth line and dragging up to the blank space above (or the end of the line above). I then hold control and click on my selection and start dragging to duplicate the text.


The best output I can get is:

"-I/path/to/myproject/includes/something",
"-I/path/to/myproject/includes/somethingelse",
"-I/path/to/myproject/includes/morethings",
"-I/path/to/myproject/includes/evenmorethings",

"-I/path/to/myproject/includes/something",
"-I/path/to/myproject/includes/somethingelse",
"-I/path/to/myproject/includes/morethings",
"-I/path/to/myproject/includes/evenmorethings","Something different"


If I could position the caret at the end of the selection I could get:

"-I/path/to/myproject/includes/something",
"-I/path/to/myproject/includes/somethingelse",
"-I/path/to/myproject/includes/morethings",
"-I/path/to/myproject/includes/evenmorethings",
"-I/path/to/myproject/includes/something",
"-I/path/to/myproject/includes/somethingelse",
"-I/path/to/myproject/includes/morethings",
"-I/path/to/myproject/includes/evenmorethings",
"Something different"