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

+5

Enable keyboard hotkeys for Close File dialog

Sam Blomberg 11 year бұрын updated by Max K 6 ай бұрын 1

This is a minor functionality tweak, but it would be great to have hotkeys for the Close File dialog that duplicate similar applications' functionality. Here's the Sublime Text dialog in question:


Image 261


Here are the hotkeys I propose:


d - Same as clicking "Don't Save"

c - Same as clicking "Cancel"

s - Same as clicking "Save"


Here's the same Photoshop dialog for which the above hotkeys function properly:


Image 262


Why make this change? It's much more friendly to keyboard-users who use Cmd+W to quickly close multiple open files.


Thanks for the consideration!

+5

"Go to symbol" crashes with SCSS

Florian Letsch 12 year бұрын updated by Jiehan Zheng 12 year бұрын 0
Using CMD+R for "go to symbol" in a SCSS file works fine, I start typing a class name and it jumps to the according symbol. However, if I have a typo and want to change what I've typed so far, as soon as I hit backspace, Sublime crashes. I do not know if this is core or plugin related and I have never reported a bug before, so please point me to the right direction to make this a prober bug report.
+5

Navigate or filter project file/directory by typing

innergy 13 year бұрын жаңартылды 13 year бұрын 2
Currently you can search for a file or folder in your project by right-clicking on a folder and searching within it.

It would be really handy in very large projects to be able to navigate or filter the list of files and folders simply by highlighting the project pane and typing.

For example, in the following hierarchy:
  a -> b -> c.txt

If everything were collapsed, I could type "a", right arrow, "b", right arrow, "c." and c.txt would be highlighted. At that point I could hit <enter> and open that file in a new tab.

Another option would be the ability to filter the entire list by supplying a keyword. This is very helpful if I know a portion of the name of the file I want and it's several directories deep.

Using the same example as above, I could press "/" (to enter filter mode), then a small text box would appear. I'd type "c.txt" and the project hierarchy is flattened showing only the "c.txt" file, which is selected. I can then press <enter> to load it in a new tab. Or if there are several matches, I can use the arrow keys to move between them before choosing the one I want. Of course in that case there needs to be some indication of the directory it's in.

Thanks!
+5

Customizations

Bisyork 14 year бұрын 0
I wasn't sure if I liked the space-eating tendencies of "delete word"... so I went in and changed it.

That made me very happy.

One could do the same in Emacs, but Emacs hasn't mastered nice scrolling after how many years?

+5

regex key bindings

voxmea 14 year бұрын 0
Bring ST1 regex keybindings to ST2.
+5

hex rgb color code hightlight

Markus Falk 13 year бұрын updated by Liam Cain 13 year бұрын 1
I would like for sublime to hightlight hex and rgb colors in the code with the corresponding color like the the following html/css example shows :)

<code>#ff0000</code>

code {color: #000, background-color: #ff0000}

the example is just to demonstrate what I mean what sublime should do ...

don't know if I explained it the way I mean it. goal is to let me see what colors look like while writing code :)
+5

Fantastic!

Polychronis Ypodimatopoulos 13 year бұрын жаңартылды 13 year бұрын 0
This piece of software is just... sublime. Here are my thoughts on it (didn't want to replicate the discussion from G+ here):

https://plus.google.com/107958667107270024286/posts/5GSeGswCGhJ
+5
Fixed

Make drag'n drop of some filetypes into editing area work under Linux

Metin Amiroff 14 year бұрын updated by Jon Skinner 14 year бұрын 0
Under Linux, while html, python, css files can be dragged and dropped into editing area, some file types like sublime-snippet, tmLanguage and tmPreferences cannot be.

I tested this under Windows and could not reproduce this bug.
Answer
Jon Skinner 14 year бұрын
Added in 20110203
+5

Project settings should remember per-file text wrap settings

Nicolas Perriault 13 year бұрын жаңартылды 13 year бұрын 1
Use case:
  1. Create a file, eg. test.md in a new directory
  2. Enable text wrap, set it to 80col
  3. Save the file, create a sublimetext project, eg. test.sublime-project
  4. Close the project, reopen it, open test.md
  5. text wrap settings have not been remembered

What would be cool is to store these per-file settings in the project settings file.

+5

Persist index of files in projects folder

kpatzwaldt 12 year бұрын 0

When switching projects with Ctrl+Alt+P, the index of the files in the project folder is rebuilt. As I usually switch between different versions of the entire AOSP, this is incredibly slow and makes switching between projects impratical.


I realize that files may have changed in the meantime, but at least scan for changes in the background while letting the user use the cached file list from the previous session.