+12

"Open in Browser" button for .html files

stef green 13 ár síðan updated by Thomas James 13 ár síðan 1
I'm a really lazy person, so I don't enjoy going back and forth from folder to ST2 to open up different files - I tend to have about 8 different projects open at any time in ST2. I'd like a button/hotkey that would let me open the file in a browser selected from a settings menu/the settings menu and open it in a new tab rather than new window (is that possible or does the browser make that decision?). I think that this would make the design process much easier for me. 

I'm aware it isn't only used for editing .html files, so maybe in the settings there could be a "disable "open in browser" hotkey" or the like.
+11

If text is selected, Goto Anything should populate the search field with that text to make navigation simpler.

Matthew O'Connor 13 ár síðan updated by Paul Dobbins 12 ár síðan 1
If I have text selected in some document, when I open Goto Anything, I would like the search field to be populated with that text. This would make code navigation simpler since I could select a method or type name, Ctrl-P, Enter, bam!

To retain backwards compatibility, the text could be highlighted so if you didn't want to search for that you could just start typing.
+11

smart inline editing & sub-buffers

Diego F. Goberna 12 ár síðan updated by Xavier Ho 12 ár síðan 1

The best sample I know is this from Adobe Brackets: http://blogs.adobe.com/jnack/2012/10/get-started-in-adobes-open-source-html-editor-brackets.html


For this a "sub-buffer" or "sub-window" would be necessary, that permit to edit another file from within the current one. 


This could lead to a large number of interesting plugins that permit to jump among interconnected files (definitions+implementations, html+css, views+controllers, etc)


Thanks,

Diego

+11

Shell Integration in Windows (Like Notepad++)

Lucas Thoresen 13 ár síðan Uppfært 13 ár síðan 0
I don't know if this recommendation exists already, but this is something that I'm sure many users would like to see in 2.0.
+11

Unicode Font is not showing well

Htain Lin Shwe 12 ár síðan updated by Worajedt Sitthidumrong 12 ár síðan 1

SublimeText 2 can't show Myanmar Unicode correctly.


Image 190


Top one is a SublimeText 2 and bottom is the Text mate 2.


Text Mate 2 show well but can't show well on sublime Text 2.

+11

Disable autocomplete when typing string

David Baumgold 13 ár síðan updated by Spencer Alger 12 ár síðan 1
ST2's autocomplete is very useful, but when suggestions pop up in the wrong context, they can be very annoying. I will never use autocomplete when I am typing a string in my code, and it's distracting when they pop up in those cases -- especially when I'm writing a docstring in Python. Please disable this behavior.
+11

Resize tabs dynamically such that you can click the X to close multiple tabs in a row without repositioning the cursor.

Joshua Poehls 13 ár síðan updated by Robert McLarty 13 ár síðan 1
Currently (just like all other editors I've used) when you close a tab by clicking the X you have to reposition your cursor to close the next tab. I find this really annoying and love how Chrome will automatically make the next tab's X line up with your cursor.

Here is a very good article explaining how Chrome behaves in this manner: http://theinvisibl.com/2009/12/08/chrometabs/

I would love to see Sublime work like this as well.
+11

Unity Launcher support on Ubuntu

Peter Lejeck 13 ár síðan updated by Marcos Garcia 13 ár síðan 1
Sublime Text 2 does not properly go into the Unity Launcher without great difficulty, and when it's there, it doesn't have an icon or the right-click lists.
+11

File location tooltip

amnesia7 13 ár síðan Uppfært 13 ár síðan 0

When you hover over tabs it displays a tooltip of that particular file's filepath. This is fine except that the tooltip for tabs on right hand side of the screen (if too many open) go off the right hand side of the screen.


The tooltip needs to take account of its position in relation to the screen and if there's not room to the right for the filepath tooltip then it should make sure it stays in view.

+11

Syntax highl. for AutoHotkey

Haukur 13 ár síðan 0
Hi! In the non-beta version of Sublime Text you have syntax highlighting for AutoHotkey. Could you add it to the beta as well? Thanks!
+11

Exiting distraction free mode exits full-screen mode also [osx]

Gregg Lind 12 ár síðan 0
(needs a 'was_already_full_screen' var)


+11

Code folding for diff (patch) files

Kai Grossjohann 13 ár síðan Uppfært 13 ár síðan 0
I would expect code folding for diff files to fold hunks and files.

So if I do "Fold All" on a diff file, I would see a list of files that are patched by this diff.  Unfolding such a file, I would get a list of hunks, and unfolding a hunk I would get the contents of that hunk.

What do people think?
+11

Using F3 in a macro

Andrew Hampton 13 ár síðan updated by David Fooks 12 ár síðan 1
I bought ST2 a few months ago but ending up switching back to Notepad++ because I use this pattern so much. I'd like to be able to do this:

Ctrl+f
[type search query]
Esc
Ctrl+q
F3
[some action]
Ctrl+q

The macro would then find the next instance of my search query, then perform [some action].
+11

Encoding missing: UTF8 with BOM

Pelle Poluha 13 ár síðan updated by robertcollier4 12 ár síðan 1
Encoding missing: UTF8 with BOM (Byte Order Mark). Current UTF8 creates a file without BOM. Need to open the file in Notepad++ for this.
+11

New windows should use position of last closed window

Ben Willmore 13 ár síðan updated by Hay 13 ár síðan 1
If I close a window, and then create a new one, the position and dimensions of the old window should be re-used for the new one. Currently (on Mac), new windows are always centred on the screen.
+11

Ability to go to a specific column in Goto Anything

Oleg Oshmyan 14 ár síðan updated by Neville Bagnall 13 ár síðan 1
For example, using a :line:column syntax.
+11

Freehand Editing Mode

Davorin Šego 13 ár síðan updated by niteshade 8 ár síðan 2
Allows the caret to move past end of line and inside tab characters.
+11
Answered

Setting line numbers color?

lashtal 14 ár síðan updated by Jon Skinner 13 ár síðan 1
It appears line numbers color depend on the settings.foreground key, with a little transparency added.
I'd like to make line numbers almost transparent, so they wont introduce visual noise but still be visible, is it possible?
Answer
Jon Skinner 14 ár síðan
Added in build 2020, you can now use the "gutterForeground" key in .tmTheme files
+11
Lokið

Add "Re-open closed tab" to the tabs context menu (like in Chrome)

funkjedi 14 ár síðan updated by Jon Skinner 13 ár síðan 2
Answer
Jon Skinner 13 ár síðan
Added in 2165
+11

PHP inside a Javascript string Highlighting bug

Mauno Lempiäinen 13 ár síðan updated by James Homer 13 ár síðan 1

Sublime doesn't recognize php tags inside a javascript string:


$addDialog = $('<div><?php echo $this->Form->input('parent_id', array('type' => 'hidden', 'div' => false));?></div>');

It highlights the above php code as string and 'cuts' highlighting the JS string when ever there is a ' chracter in php code.