+1

Side Bar Scrolling Behavior

Zander Milroy 12 years ago 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 years ago 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 years ago 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 years ago 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 years ago 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 years ago updated by Nick Farina 13 years ago 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 years ago updated by Luc Bourhis 12 years ago 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
  ...
}
+1

Click on completion list does nothing

Aparajita 13 years ago updated 13 years ago 2
If I bring up a completion list and directly click on an entry, the list closes but nothing happens. Shouldn't that entry be inserted the same as if it were selected and Return was pressed?
+1

Input Bar for Java, Ruby etc.

Kelan Torch 13 years ago 0
It would be amazing, if we could have sublime give us a dialog box when we are getting input through Scanner(Java) and gets (ruby) etc... that way we don't always have to use the command line/ terminal. If this could be implemented, I would probably even donate to Sublime over and above my paid version.
+1

ignore leading "./" in GOTO ANYTHING

lh2im 11 years ago 0

performing a grep on shell/terminal will give me a file result like:

./folder1/file1.ext: .....

./folder1/file2.ext: .....

./folder2/folder1/file1.ext: .....


doubleclick on the filename will copy "./folder1/file1.ext"


perform GOTO ANYTHING shortcut in sublime and paste the filename.

nothing shows up because of the leading "./" string. you have to cut off the "./" or if grepping from subfolder just the "."


would be awesome if GOTO ANYTHING would ignore this leading pattern. Maybe ignoring just a leading "/", will be helpfully for someone too....


+1
Completed

Add keyboard shortcut for Save As

Hay Kranen 14 years ago updated by Jon Skinner 14 years ago 4
A common shortcut that's missing: Ctrl/Cmd-Shift-S to 'Save As'.
Answer
Jon Skinner 14 years ago
OS X Save As key binding has been added in build 2020
+1

Project panel sizing issue (build 2051)

toothrot 14 years ago updated 14 years ago 1

Resize the project panel small enough so you have a scrollbar. Scroll all the way to the right. Enlarge the project panel until the scrollbar disappears. Whoops, now all the filenames are cutoff with no scrollbar.
Small inconvenience, but I think the right edge of the content should remain anchored to the splitter until the panel becomes larger than the contents..

Image 1

+1

Bug with highlightning on datetime in python

Steffen Hageland 12 years ago updated by jan otte 12 years ago 6

The following datetime-string will make give wrong syntaxhighlightning in python 2.7: "%H%M".


The last M will not be marked purple, but instead yellow like a normal string.

+1

Makefile syntax coloring doesn't work with ':=' operator.

Paulius Kigas 12 years ago updated by Franklin Yu 8 years ago 1

A picture's worth a thousand words:


Image 202


In my opinion, lines with ':=' operator should look the same as lines with '=' operator. As far as I've tried, the same issue appears on every color scheme.

+1

Clojure not accepting bigint's [Fix included]

Morten Linderud 12 years ago 0

Valid Clojure code:

(+ 1 2)

(+ 1N 2N)

However, first is correct with the Sublime syntax file, and the second is incorrect.

Fix:

inside Clojure.tmLanguage, change the regex for constant.numeric.integer.clojure from (-|\+)?\b[0-9]+\b to:

(-|\+)?\b[0-9](|N)+\b


There might be better fixes but this atleast does not show invalid syntax :)

+1

SAS syntax highlighting

Veronica G. 12 years ago updated 12 years ago 4
Starting to work on data analysis using SAS - I love Sublime Text, but right now, the syntax isn't highlighted. Am having to use a native SAS editor which is kinda annoying. Would love to see this as an option!
+1

Stretch tabs to the very top in full screen mode

Tomek Sowiński 13 years ago updated by fucksyouhard 8 years ago 2
One annoying thing when working in full screen mode is when you throw your mouse to the top of the screen, you cannot select a tab because there is a few pixels of black space between the tabs and the top edge of the screen.

Proposal: either remove the black space at the top or, if it's needed for design/art reasons, stretch the hot/active area of the tabs upwards onto the black space.
+1

Running builds not killed when a file is closed

Lyndsy Simon 13 years ago updated 13 years ago 0
I'm developing in Python using Flask, which includes a built-in, self-reloading webserver.

When I close a file with the webserver still running, the process becomes orphaned and I cannot kill it without resorting to the operating system's method - on Windows, I have to use Task Manager.

Running build processes should be terminated when the active window is closed.
+1
Completed

Syntax Highlight Based off SHEBANG lines

Scott Bowers 14 years ago updated by Jon Skinner 14 years ago 0
When working with with executable scripts, syntax highlighting is disabled because the file type cannot be detected.

This feature increases highlighting availability by mapping SHEBANG lines to mime types.
Answer
Jon Skinner 14 years ago
This was added in the latest version
+1

Have the current directory 'stick' to top of folders view when it is not visible (for long lists of files)

Adam Zielinski 11 years ago 0
At the moment, if you have enough files in a directory you can no longer see the folder you and currently looking at files in. It would be nice if the current directory name stayed stuck to the top of the folder viewer while you scrolled around. Sort of like on websites whose nav bars stay at the top of the screen when you scroll down the page.