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

+1

html comment bug

Ahmad Shukr 12 ár síðan 0

HTML comment like this(we use it in our template system) 

<!--- --->

cause editor to not end the comment and comment all text after comment end ,

 


+1

First build's variant's shortcut is not shown in command palette

Timothy Basanov 12 ár síðan 0

Ctrl-Shift-B is a shortcut for a first build variant, it works.

When I open command palette this variant does not show any shortcuts associated.

It's confusing.


+1

Rename File from Command Palette

Dave Hulihan 11 ár síðan updated by Martin Wicke 11 ár síðan 1
Sublime should be able to rename a file from the command palette. Since sublime's Goto anything is so effective, I often don't even use the sidebar in my projects. This means I have to open the sidebar, find the file, right click and rename. Renaming from command palette would make this process much easier.
+1

Force soft tabs (spaces) when using YAML syntax highlighting

Djuri Baars 13 ár síðan updated by Joel Thornton 13 ár síðan 1
When working in YAML files, you can't use tabs as indentation (as specified by the markup language) it would be good if you choose the YAML file type at the right bottom that "Indent using spaces" is forced just like in TextMate
+1

Go to a specific char in a line - Vim's 'f' or 't' counterpart

Tomasz Wrobel 12 ár síðan 0

Is it possible to go to a specific character/string  in a line, like 'f' or 't' in Vim? That'd be especially powerful in multiselect.

Not sure whether to post it in 'questions' or 'ideas'.

+1

add option to draw box around current line

codex 14 ár síðan updated by Dave Mazzoni 11 ár síðan 1
Colorizing the background of the current line is either too subtle, or screws up syntax coloring.  A box is ideal for me.
+1

Bug: Expand Tabs to Spaces clears bookmarks

Michael Butler 13 ár síðan updated by Jose S Pacheco 11 ár síðan 2
To reproduce:
Create bookmarks on various lines in the file.  
Now choose "Convert indentation to Spaces" -- even if your file does not have a single tab character in it. Alternately, run the expand_tabs command. 
Expected result: beginning tabs are replaced with (i.e. 4) spaces and bookmarks are preserved at their positions.
Actual Result in Sublime Text 2.0.1 Build 2217: Tabs are converted to spaces if present, but all bookmarks are removed and a single new bookmark appears as at the very last line of the file. This happens even if no characters were modified in the file. 
+1

Windows install needs to check/fix HKEY_CLASSES_ROOT\Applications\sublime_text.exe\shell\open\command

Mark Stewart 12 ár síðan 0

If you've been using the portable version as a default editor and then switch to the installed version, the "Open With..." functionality will be broken, as the path listed above will still lead to the portable.  See http://stackoverflow.com/questions/9450895/sublime-as-default-editor for more info

+1

Build system can not handle utf-8 args

贾延平 12 ár síðan 0

I use ruby and try to run ruby file in the editor,But it going wrong when file name has some chinese chars.


I found build system's file path do not encode into utf-8 encoding,but ConsoleCP is set to 65001(I guess)。


I do not know this is a sublime editor bug or ruby's。ruby use ConsoleCP to detect the script file's encoding.

+1

Search history should be paired with the replacement text

Nicolay77 13 ár síðan 0

Whenever I select a previously used search term, the last replacement text used with this search string should be selected too, currently I have to do the operation twice, once for the search text and other for the replacement text.


Also, to be able to pin some search/replace text pairs, that way they are not deleted from history.