+3

select dashed separated words on double click

Asa Williams fa 13 anys updated by Travis Roberts fa 12 anys 2
When you double click on a word that is dashed separated (this-is-dashed-separated) it selects the entire word.  This would be really helpful for html/css.  The biggest reason for not using dashes in css is for this reason. Many popular libs (twitter's bootstrap) use dashes and it would make web dev's lives a lot easier.
+3

Fix display of symlink folders in side bar

Corey Frang fa 11 anys 0
Symlinks and folders cause some really really weird bugs in sublime text's project browser. As seen on ST 2.0.2 - Mac OS X 10.9.1:

https://gist.github.com/gnarf/99dcda98a8438e4d7a3f
+3
Fixed

Cmd+P doesn't work right after opening ST without a file loaded

marksteve fa 14 anys updated by Jon Skinner fa 14 anys 1
Cmd+R does and then Cmd+P works again.
Answer
Jon Skinner fa 14 anys
Fixed in build 2020
+3
Fixed

Spell checker handling of accented characters

grumpus fa 13 anys updated by Jon Skinner fa 12 anys 3

Sublime Text 2 allows the user to add a new spelling dictionary. For example: to install a Polish dictionary on a Mac, you can download a MySpell dictionary and unzip the files (pl_PL.aff and pl_PL.dic) it into the following path: 

~/Library/Application Support/Sublime Text 2/Packages/Language - Polish


The spell checker can then be activated by selecting from the View > Dictionary menu.


Unfortunately the spell checker can only handle words without any accented (extended Latin) characters. 


Any word with such a character is considered to be misspelled and is underlined.


In order for the spell checker functionality to make sense, this bug must be fixed. 

Answer
Jon Skinner fa 13 anys

Some documentation was recently added on how to handle this, at http://www.sublimetext.com/docs/2/spell_checking.html


In short, Sublime Text 2 supports UTF-8 encoded dictionaries only, and you should be good to go if you convert your dictionary to UTF-8.

+3

Add external directories to goto definition search in project or user settings

Noel Peden fa 11 anys 0

It would be great to include external directories (for libraries, etc.) to a project's goto definition search. E.g. in Rails, or in any ruby script, gem directories could be included and definitions jumped to. I am sure many languages would benefit by this. No doubt priority in results should be given to project files.

+3

Remove file from the project and from the list of opened files on "Delete File" menu click

Roman Vorushin fa 13 anys 0

Otherwise it stays in editor and can be restored again, especially with enabled "save_on_focus_lost" setting

+3

allow escape characters in find/replace

Michael Zap fa 13 anys 0
I very often need to find/replace multiple lines of text, and usually I do that in Notepad++ using /n escape characters. But these aren't recognized as new lines in Sublime, so I can't do multi-line find/replace. For example I often replace \n\n with \n</p><p>\n when I'm turning plain text into HTML code.

Alternatively you could allow for a multi-line dialog when finding/replacing (think textareas instead of input fields). I think that PHP Expert Edit did that back when I used it. That would also work for my purposes.
+3

Reveal in side bar should focus it

Kai Grossjohann fa 13 anys actualitzat fa 13 anys 0
If I execute the command "reveal in side bar", then the idea is that I will want to interact with the side bar next, so it would be useful to focus the side bar straight away, as if I had typed Ctrl+0.

It could be that it makes a difference whether the side bar is visible at the time when "reveal in side bar" is executed:  Perhaps we will want to focus the side bar if it was not visible before the "reveal" command, but we might not want to focus the side bar if it was already visible.

My personal opinion is to give it focus no matter whether it was visible.  But you may disagree.
+3

Mid-Snippet Placeholder Tab cancelling/escaping/forgetting

Jake Wilson fa 13 anys 0

When using a snippet that has placeholders in it, while in the snippet you TAB from one placeholder to the next.


It's great, except most of the time when working with a snippet, while I am mid way through the snippet, it's more efficient for me to manually move to a different part of the snippet and start typing something else.  But the next time I press TAB, my cursor jumps to the next placeholder after the last placeholder I was at before I moved elsewhere manually.


It would be very nice that if the user used any navigation keys (arrow keys, home, end, page up, page down, etc) while mid-snippet, that Sublime would "cancel" out of the "snippet TAB mode".  So after moving elsewhere, pressing TAB no longer moved you to the next snippet placeholder.  Sort of like, once you move elsewhere mid-snippet, it would be nice if SublimeText2 would "forget" that you were in a snippet.  So the next tab was treated like a normal tab instead of a key that moved you back to the next snippet placeholder.


In most cases (at least for me), when moving elsewhere during the snippet, that basically means that I'm done with the snippet and I need to continue to something else.  I don't want to press TAB and be moved BACK into the snippet again.


Another place this is extremely useful is using snippets within snippets.  Take the following HTML snippet:


<table>

  <tr>

    $1

  </tr>

  <tr>

    $2

  <tr>

<table>


After typing "table" and pressing TAB, it creates the snippet and moves your cursor to $1.  Then, lets say you have a <td>$1<td> snippet you want to use next.  If you type "td" and press TAB, then it doesn't create the TD snippet for you.  Instead it types "td" and then moves you to $2 in the above snippet.


It would be great if SublimeText2 would detect that if a snippet tabTrigger was typed while within a Snippet, then the first Snippet was forgotten and it would now work with the new snippet you just typed.


This sounds pretty confusing. I hope it makes sense...

+3

Add pythonpath to API

Eli Bressert fa 13 anys updated by Michael Aye fa 13 anys 1
It would be nice to add a "pythonpath" option in the build options. 
+3

Make folders/groups in a project tree bold

Anton Sokol fa 13 anys 0
It's a bit confusing when files and folders look pretty much the same in the tree.
+3

Increment numbers with Ctrl+A and decrement with Ctrl+X in Vintage mode

eproxus fa 12 anys updated by Giles Butler fa 12 anys 1

In Vim, Ctrl+A increments the number under the cursor and Ctrl+X decrements it. This would be a nice addition to the Vintage mode.

+3

Close window when in fullscreen leaves menu and dock hidden (OSX)

Oktay Acikalin fa 14 anys actualitzat fa 14 anys 1

1. Open new window.

2. Switch to fullscreen.
3. Close window or close file until window closes too.
4. Menu and dock stay in auto-hide mode.

OSX 10.6.6
Sublime build 2050

+3

Live Search is a very productive feature

Rohan Allison fa 13 anys 0
Yes Live Search as on this site, as on Google Instant and any modern search UI.

This was implemented in ZionEdit (Look up on sourceforge.net).

+3

Sync context menu on files in sidebar with one on tabs

iconv fa 14 anys 0
Currently the only context action on opened file in sidebar is Close, but 'Close others', 'Close files to the bottom' would also be useful.
+3

CTRL+D CTRL+K bug because of case insensitivity/sensitivity mix

Telemako Mako fa 12 anys 0
Create a new file with the text:
TITLE
title
title
TITLE

Now select "title" and CTRL+D to select the next one until you select the first "TITLE" and try to deselect it with CTRL+K. It will deselect the last "title" and keep the "TITLE".

It looks like it is case insensitive to select, but case sensitive to deselect. It does not find TITLE in the pile of items selected somehow.
+3

Shortcut to delete CamelCaseSubWords

Matteo Nardi fa 12 anys 0

Since "Alt+Arrow" moves by word inside CamelCaseWords, I would expect "Alt+Delete/Backspace" to delete subwords as well.


Expected behavior: (* is the cursor)

"ThisIsALongAnd*ComplicatedWord"

Alt+Backspace -> "ThisIsALong*ComplicatedWord"


"ThisIsALongAnd*ComplicatedWord"

Alt+Delete -> "ThisIsALongAnd*Word"


(I'm running SublimeText2 on Linux, I would expect the shortcuts to be different on other platforms)


As a workaround I added a macro and a shortcut to do that.

+3

Delete word exhibits confusing behavior

flyingtabmow fa 14 anys 0
Delete word (forwards or backwards) exhibits confusing and unpredictable behavior. From what I've gathered:

If there is a word immediately to the right of the cursor, and a space to the left (but only at most one), then "delete word backward" deletes the previous word and not the space preceding it.  If there is more than once space to the left of the cursor, it deletes the spaces until it reaches the previous word. If there is a word immediately to the left of the cursor, it deletes the word AND the space preceding the word (but only if there is exactly one space preceding the word... if there are more, it doesn't delete any spaces).

That is confusing.  I'm not sure whether this is a bug or "desired" behavior, but regardless, predicting the behavior of deleting a word shouldn't involve extensive thought about the current context of the cursor... it should delete the previous word on the screen (similar shenanigans take place when deleting a word forwards...).

At the very least, spaces before the word should never be deleted by "delete word backward", and spaces after the word should never be deleted by "delete word forward".
+3

Change syntax highlighting rules to match file names instead of file extensions.

Andrew Porter fa 13 anys updated by Louis Galipeau fa 11 anys 2
This allows for contextual differences for files of the same language type, and should still make it easy for the current, more general file extension matching to continue working as it does.

For example:

{
  "*_spec.rb" : "RSpec",
  "*_steps.rb" : "Cucumber Steps",
  "*.rb" : "Ruby"
}

+3

mIRC Scripting Language support

Daniel Fischer fa 12 anys updated by FichteFoll fa 12 anys 2
I would really appreciate support for the mIRC Scripting Language (MSL) in Sublime Text.

This is a syntax file for Notepad++, I guess it's not that hard to translate it.