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

+3

Fix display of symlink folders in side bar

Corey Frang 11 ár síðan 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 14 ár síðan updated by Jon Skinner 14 ár síðan 1
Cmd+R does and then Cmd+P works again.
Answer
Jon Skinner 14 ár síðan
Fixed in build 2020
+3
Fixed

Spell checker handling of accented characters

grumpus 13 ár síðan updated by Jon Skinner 12 ár síðan 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 13 ár síðan

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 12 ár síðan 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 13 ár síðan 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 13 ár síðan 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 13 ár síðan Uppfært 13 ár síðan 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 13 ár síðan 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 13 ár síðan updated by Michael Aye 13 ár síðan 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 13 ár síðan 0
It's a bit confusing when files and folders look pretty much the same in the tree.