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

+3
Résolu

Has the command to toggle word wrapping been implemented yet?

Falcon NL il y a 14 ans mis à jour par jaming ring il y a 7 ans 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?
Solution
Jon Skinner il y a 14 ans
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 il y a 13 ans mis à jour il y a 13 ans 0
"""
hello %(name)s, your other name is %(name2)s
"""

See following image:

Image 97


+3
Terminé

Remove cursor

Jan Hančič il y a 13 ans mis à jour par Jon Skinner il y a 13 ans 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.

Solution
Jon Skinner il y a 13 ans

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 il y a 11 ans 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 il y a 13 ans mis à jour il y a 13 ans 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 il y a 13 ans mis à jour il y a 13 ans 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 il y a 13 ans mis à jour par J L il y a 13 ans 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 il y a 12 ans 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 il y a 12 ans 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.

+3

More animation in sidebar

Matt Peterson il y a 13 ans mis à jour il y a 13 ans 0
When expanding or collapsing a folder with a large number of items in it, the sidebar likes to jump instantly to center the expanded or collapsed folder, which my eyes find quite disorienting. Is it possible to animate this scrolling?