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

+3

"replace all" closes the replace-bar

Martin Kauber 13 ár síðan updated by Kaur Kuut 12 ár síðan 1
You just pressed CTRL+H to make a replace and pressed "replace all", the bar closes after execution. Now, to replace anything else, you have to press ctrl+h again. It's tiresome, maybe an extra button to toggle this auto-close would help. I make a lot of replace searches and right now I'm back using 1.4 version.
+3
Answered

Has the command to toggle word wrapping been implemented yet?

Falcon NL 14 ár síðan updated by jaming ring 7 ár síðan 8
I tried making a shortcut to toggle word wrapping a moment ago, but it appears the toggle command doesn't exist anymore. is there a new way of doing this or is it not implemented yet?
Answer
Jon Skinner 14 ár síðan
You can do this via the View/Word Wrap menu.

The underlying command is "toggle_setting", you can see how its using in Packages/Default/Main.sublime-menu
+3

Syntax highlighting for Python fails to pick up %(var2)s but will pick up %(var)s

Cal Leeming 13 ár síðan Uppfært 13 ár síðan 0
"""
hello %(name)s, your other name is %(name2)s
"""

See following image:

Image 97


+3
Lokið

Remove cursor

Jan Hančič 13 ár síðan updated by Jon Skinner 12 ár síðan 1

When using multiple cursors, I sometimes miss-click one (ctrl+click) and then I have to reset all my cursors and start all over again.

Suggestion: if I have multiple cursors active, clicking an existing cursor would remove it.

Answer
Jon Skinner 13 ár síðan

This can be done by subtracting the errant caret from the selection, there are some details at http://www.sublimetext.com/docs/2/column_selection.html

+3

The most important Thai alphabet and It's biggest problem

Pirun Tirapibal 11 ár síðan 0
Please Develop for Thai user, I have a problem about Thai alphabet
We voted on this link http://sublimetext.userecho.com/topic/117587-thai...
But not have a response.

Image 293
+3

open_files_in_new_window not working when sublime is closed

aristidesfl 13 ár síðan Uppfært 13 ár síðan 1

When I drag something to sublime while it is closed, it opens that thing in the last open window instead of a new window.


This is probably a conflict with the remember_open_files setting.

+3

can't move to next line if line wraps with last character onto next line

Oliver Rutherfurd 13 ár síðan Uppfært 13 ár síðan 0
I'm on OS X and when I press either down (or 'j' using Vintage) the caret moves to the last position on the line but pressing again doesn't do anything.  Changing the view size so > 1 char is wrapped or none are wrapped fixes it.  Here's an example below:

1 123456789^
  0
2 blah blah blah
+3

find in files - why not allow for direct editing of the preview

bernhard bockelbrink 12 ár síðan updated by J L 12 ár síðan 1
It would be totally awesome if I could edit files directly in the find results tab when I use find in files. Maybe even with all the features I have  for find and replace in text files.
+3

CSS: comments inside properties break the scope

wes hardee 12 ár síðan 0

Comments that are inside a css property aren't being recognized as having the right scope. Putting comments there is a little rare, but since it's perfectly valid CSS, it should probably be supported.

navigation {
    background-color: #333 /* darkgrey */;
}
+3

Highlight search matches in the code overview

Nicolas Lehuen 12 ár síðan 0

In some other editors, when you search text, you get a small color line in the right scroll bar, so that you can instantly view the places where the text can be found, and get a feel of the density of matches.


Likewise, when viewing diffs in TortoiseGit or TortoiseSVN, small color lines in the scroll bar show places where interesting stuff happens.


Sublime Text 2 has a very cool code overview which is fairly unique on the scene. Unfortunately this code overview is mostly a zoomed-out view of the code, with no additional information.


Highlighting search matches, modified lines, pointing an arrow from some selected symbol to the place it is defined etc. could be an interesting set of new features that would uniquely leverage the code overview.