+1

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

Ken Chatfield 12 years ago 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 years ago updated 13 years ago 2
how can I make a macro to put a semicolon at the end of the line?
+1

html comment bug

Ahmad Shukr 12 years ago 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 years ago 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 years ago updated by Martin Wicke 11 years ago 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 years ago updated by Joel Thornton 12 years ago 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 years ago 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 years ago updated by Dave Mazzoni 11 years ago 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 years ago updated by Jose S Pacheco 11 years ago 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 years ago 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

贾延平 11 years ago 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 years ago 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.

+1

Tweak to homerow navigation in vintage mode

Jonathan Soeder 13 years ago updated 13 years ago 0
I should be able to hold down J, or K, and scroll faster through a file the same way that I can hold down H and L and scroll horizontally faster.  As it stands I have to hit J for every line I want to go down
+1

focus code block

Jakeb Rosoman 11 years ago 0

sublime currently offers the ability to fold away code block's I don't care about which obviously helps me focus on the ones I do care about but personally I find it pretty in-affective for that job. How about it allows me just to select the block I want to work on and zoom in to that block as if it was in a separate file? I find myself creating separate files when writing HTML/Jade just so I can simulate this affect.

+1

Goto file in current directory

Rob Speer 14 years ago 0
There should be an easy keyboard command to open another file in the same directory as the current one (or with a path relative to the current file). This allows a lightweight workflow for people who don't organize their files into projects.

This is the same idea I asked about on the forum -- I'm looking for an equivalent to :e or :tabe in gvim.

Ideally, this would auto-complete to files that already exist, but also allow typing a filename that does not exist yet to create that file.
+1

Auto complete causes views to jitter

Ben Vanik 13 years ago updated 13 years ago 0
I run in two column mode, and when using auto complete in the right column any changes to the layout of the auto complete dialog once it's up (more typing to change results/etc) will cause the entire view to shift to the left ~10px and then immediately back to its original location. As a result, the entire view bounces around while typing and makes things unusable. I had to disable auto complete to regain my sanity. The behavior does not reproduce in the left column.

Linux x64 Ubuntu
+1

vim mode, deleting last line should move you to previous line

Jon Hogue 11 years ago 0

When in vim, and you go to the last line, and type "dd", it goes to the previous line. This way, you can delete all the lines from the bottom of the file.


In sublime, it doesn't go to the previous line.

+1

After editing preferences, next file is saved in the wrong folder

Jesse Ruderman 11 years ago 0
1. Open the "user preferences" file by pressing ⌘,
2. Save the file
3. Open a new tab by pressing ⌘N
4. Save this file

Result: the save dialog defaults to
"~/Library/Application Support/Sublime Text 3/Packages/User/"

Expected: the save dialog should keep defaulting to the last folder I picked myself  (in my case, usually ~/Desktop/ or ~/Documents/)
+1

Mouse select/capture as a block of text

Brian Bruggeman 11 years ago 0

Visual Slickedit has a cool feature where the mouse can select a block of text as a rectangle within the screen rather than across lines of text.  For example:

   a quick text example of where something
   might be a block select rather than a text line

   select


if we used a block select on the first two characters in the above text, we'd have 3 lines:

 

   ['a ',

    'mi',

    'se']


This can be very useful for inserting text, filling in comments, cutting text, etc.

+1

Can I include sublime on the repository of my distro as freeware?

Filipe Machado 11 years ago 0

Is possible or am I bypassing sublime commercial license?