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

+4

OSX: double/triple-click+hold doesn't work as expected

Filipe Cabecinhas 13 years ago updated by Alex Parker 13 years ago 2
In OSX apps, triple-clicking normally highlights the whole line.
In sublime text 2, triple-click is just a double-click + a click to de-select the word.

It gets worse the you click and hold. In OSX, double-click+hold would select the clicked word and start selection mode, just like when you use a single click+hold to select text. In the same way, triple-click+ should select the whole line and start the selection mode.

+4

Add variable support ($HOME) in .sublime-project && sublime-workspace

Nathan Farrar 11 years ago 0
One of the most glaringly missing features (IMHO) is the lack of variable support in .sublime-project and .sublime-workspace files.

I sync my sublime projects directory across multiple systems.  This _only_ works on my personal systems where I have the exact same username and exact same folder structure, because the paths HAVE to be hardcoded due to the lack of support for variable expansion.
+4

Add icon for windows context menu

B D 11 years ago 0

Many of new Sublime Text users (and me) are coming from Notepad++ folks. It's a reflex to click on an item with icon under "Open" item. To preserve this reflex, Sublime Text should include an icon on it's context menu item.

Here's some how-to's to do this manually:

+4

Reorder filename components in window title

Greg Anderson 13 years ago updated by Pawan Yadav 11 years ago 1
Currenlty, Sublime sets the Window title like so:

~/my/very/long/path/filename.ext - Sublime Text 2 (UNREGISTERED)

This ordering makes it very difficult to find the file you want in a window list or taskbar. Many programs order the components of the window title with the filename first, like so:

filename.ext - ~/my/very/long/path

Or, in the case of Sublime:

filename.ext - ~/my/very/long/path - Sublime Text 2 (UNREGISTERED)

This would make it much easier to scan window lists and taskbar buttons.  I'm definitely going to be registering Sublime shortly, which will make my window titles a little shorter, but having the filename first would be a huge win.


+4

fedora package

FreedomKnight 11 years ago 0

I found sublime text 3 beta is supporting ubuntu package.

I think it can support rpm package too.

because rpm package also popular in desktop linux and enterprise linux

+4

Sticky subroutine headers

henry1 13 years ago 0
Not something I have seen in other editors, but would be very useful for me. It would be nice for subroutine/function/module/class declarations to act as a type of "sticky header" which would stay at the top of the screen until you have scrolled past the end of the structure. A good demonstration can be found on this page: http://www.noodlesoft.com/blog/2009/09/25/sticky-section-headers-in-nstableview/

Sometimes, for example, I search for something and then have to find out what subroutine the result is in, so I need to scroll back slowly looking for the declaration. (I read a a lot of code other people have written with very long functions).
+4

OS X: Overlay scrollbar behaviour is not true to OS system preferences when using an external mouse

Mark Osborne 12 years ago 0

The "overlay_scroll_bars" setting in Sublime is not true to the OS X system preference value 'When scrolling', when using an external mouse on a Mac laptop. With values 'system' or 'enabled', the scrollbars will show as overlayed when scrolling with the touchpad on the laptop, however if scrolling with an external mouse (I use a Logitech), the scroll bars do not show. With this mouse I can only get the scrollbars to show when setting the value to 'disabled' or using the OS system preference values 'Automatically based on mouse or trackpad' or 'Always'.


The behaviour to show the scrollbars when scrolling with an external mouse on OS setting 'When scrolling' works as it should in other apps. It would be great to get this working as it should in Sublime!

+4

File "forking" while editing

Borys Forytarz 12 years ago 0

Sometimes it would be useful to "fork" the file while editing. For example when you work on a file and you would like to check, i.e. two ways of implementation of some functionality. What you usually do is implementation of first version, then you comment it and implement second version (i.e. to compare speed or something else). This is the situation when file "forking" would be useful. How it should work? Its easy:

1. You open the file (let's name it A)
2. You fork the file (some keyboard shortcut maybe) - you get A1 file. Technically this is the second file buffer (copy) with its own view pointing to the same location on HDD
4. Now you can work on two versions of the same file simultaneously. When you save changes in A, this file will be written to HDD under its original location. When you save A1, the file will overwrite A, but not change anything in view to A (and vice-versa).


And what about version stored on HDD? Simply it is the latest you saved.

Please note that this is NOT file cloning, which is now implemented in Sublime. The main difference is that when you clone the file, each change is propagated between clone and original file. Forked file will not propagate the changes between each other.

+4

Key bindings for input panel

gearheart 13 years ago 0
I'm writing a plugin which uses show_input_panel. How can I override key bindings for input panel, opened by this plugin?

Thank you.
+4

Python format strings - highlighting support

Daniel Oaks 12 years ago 0
I use Python formatting strings quite a bit, and decided to write up a bit of regex to match those as well as the usual % variable format.

The diff for the change is here: https://gist.github.com/4540008
and works as well as the old-style format string specification