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

+1

Closing a file opened in multiple tabs still displays the 'unsaved file' prompt

Ken Chatfield 12 років тому 0

The user should be able to close files displayed in multiple views without being prompted to save changes until there is only one view remaining of that file (after which the user should be prompted as usual when trying to close)


It's also important this bug is fixed to allow for development of plugins that manage multiple views of files (I'm currently developing one)

+1

add semicolon at the end of the line

Ricardo Cruz 13 років тому оновлений 13 років тому 2
how can I make a macro to put a semicolon at the end of the line?
+1

html comment bug

Ahmad Shukr 12 років тому 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 років тому 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 років тому оновлено Martin Wicke 11 років тому 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 12 років тому оновлено Joel Thornton 12 років тому 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 років тому 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 13 років тому оновлено Dave Mazzoni 11 років тому 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 12 років тому оновлено Jose S Pacheco 11 років тому 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 років тому 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