+2

Subtract select not working properly (API)

Kroum Tzanev 12 лет назад 0

If a < b < c, when we subtract the region [a,b] from the region [a,c] the result is [a,a] (or empty) and not the expected [b,c].


>>> view.sel().clear()
>>> view.sel().add(sublime.Region(0,10))
>>> view.sel().subtract(sublime.Region(0,5))
You can see that everything is working ok if you replace on of the two 0s by 1 or 2 for example. 
Note : You should move the scroll bar to update the selections in the view. 
+2

Don't destroy files when encountering characters that can't be encoded

Brynjard Øvergård 11 лет назад 0

Today when Sublime saves a file and encounters a character that can't be encoded in eg ISO-8859-1, it automatically converts it to UTF-8 (and informs you with a popup dialog with just one option - OK). This destroys the file (UTF-8 encoding is in many cases non reversible), so it would be nice if this instead was a question. It would also be very nice if Sublime could highlight or somehow search for unencodable characters (characters like non-braking space is _very_ difficult to distinguish from a normal space).

+2

Make pressing CTRL-F while the search bar is visible should put the field in focus rather than closing it

Acorn 13 лет назад обновлен Alan Andersen 13 лет назад 1
I often have the problem that I press CTRL-F because I want to search for something, begin typing, and find that I am overwriting some text on the page.

This is because the search bar was already open when I typed the shortcut and was therefore closed.

I think it would be more user friendly if pressing the shortcut just put your focus in the search box, and if you want to close the bar you should press ESC (which closes it already).
+2

I would love to be able to treat functions independantly of files on the screen.

Philip David Harvey 12 лет назад 0
There is an IDE coming called Light Table that does this. But it will not support the languages I like. To be able to treat method blocks as independent entities would be great.
+2

Open new document on "Open Files" empty space click.

Murray Nuttall 12 лет назад 0
Like the tab bar functionality, but on the "Open Files" sidebar.

I don't use the tab bar because it doesn't give me enough file information when editing a lot of files. So I hide the tab bar and use the "Open Files" sidebar instead.

I would like to be able to click, or double click, empty space in the sidebar to create a new document.
+2

Disable autosave

Алексей Ракеев 12 лет назад обновлен 12 лет назад 6
How could I turn off damn autosave "feature"?
It recreates files deleted from sidebar again and again. WTF?
+2

Ability to disable a keyboard shortcut

Simon Boudrias 12 лет назад 0

 With the growing number of community packages, each one adding their own keyboard shortcut, we're to a point where we can run into conflict. May it be internationals keyboard configuration, shortcuts overwriting others plugins ones, etc.


I think we should be able to disable/protect some specific keyboard key from being used. This would allow the user to prevent packages from removing some important characters or system wide shortcuts.

+2

Search for a word under cursor

Maxim Razin 12 лет назад обновлен Martin H 12 лет назад 1

Is there a keyboard shortcut or plugin to search for other occurrences of a word under cursor, like vim * and # commands?

+2

Option: show open files inline rather than in a separate list

muffy 11 лет назад 0

I prefer to display open files in the sidebar instead of in tabs. It would be great to have an option to show open files inline in the folder view rather than a separate list. I think of my files grouped like my folder structure and frequently switch between files in the same folder. The open files list is a jumble of files. I can drag them around but that's more work—I already organized the files into folders. Along with this when opening a project, folders containing open files should be expanded by default so the files are visible. Please keep the one-click to display feature for open files though. In fact, I suggest it be the default behavior.

+2

javascript auto completion on prototype

julien barbay 13 лет назад 0
I really don't know if it's easy to do so, but i'd love to see javascript autocompletion on custom functions, based on prototype discovery.

I'm not really sure how to do this, thing i'm sure is i'm gonna try ; but any support / help would be very cool. 
+2

case insensitive renames on OS X, even when the file system is case sensitive

Scott Aubrey 13 лет назад обновлен 13 лет назад 0
Using a case sensitive FS, When creating, then renaming a file, the file gets renamed, but this is not reflected in ST2 UI. 

This creates numerous issues:
You can then open the wrong file casing in the side bar.
If you save that file again, it is created with the wrong casing, resulting in two files. 
Sometime it won't open a file the the UI has the wrong casing for.
It requires a restart of ST2 to get the correct casing for files back.

This can easily be tested by opening a folder on a case sensitive disk image on OS X.


+2

Options to maintain tab groups and sessions

route_access 11 лет назад 0

I use Sublime Text as the primary note making tool / text editor and keep it open all the time.


I have 4-5 work tabs open all the time for convenience, and 4-5 personal notes too, plus a couple of other side projects tabs open in it, which is a lot of clutter (work, side-project and personal notes mixing is really a pain while tab switching/searching/reviewing work)


I'm really looking forward to a create/save/switch tab group option so that I can switch between my tab groups like work, home etc at will without keeping all of them open at the same time or having to open each of my tabs painstakingly from the respective folders.

+2

Very EASY: Use this theme instead!! Screenshot attached

baradei2011 13 лет назад 0

It's a MUCH better theme for the program, I installed it on my copy, but I think it should be used from the start
https://github.com/buymeasoda/soda-theme

Image 21


+2

Dragging tab across windows glitchy on OS X

chaiguy 13 лет назад обновлен 13 лет назад 0
Had no probs in previous build (2157 was it?) but now dragging a tab from one window to another can freeze the drag just before it gets to the other tab row. Releasing the mouse then opens a new window. It works eventually, but sometimes takes a few tries.
+2

Quick Add backwards

Anand kumar 12 лет назад 0

The same quick add instead of the next occurrence in the forward direction the previous occurrence of the word.

+2

Dynamic language definitions

Henrik Thorup Andersen 11 лет назад обновлен Darin Morrison 11 лет назад 1

I have been experimenting with dynamically updating the language definitions in order to support higlighting of all typenames, etc in c/c++ (via libclang), and it is working great. The way it is done is a bit of a hack though, continuosly writing language definitions to disk and removing them when closing the file. Some kind of support for updating the language definitions in memory via the api would be great, and maybe not that hard to do?

+2

Syntax can be changed in the Find input field

Oleg Oshmyan 13 лет назад обновлен 13 лет назад 0

Open the Find pane (Ctrl+F/Cmd+F). Click on the syntax selector in the bottom right corner of the screen and select any syntax from the list. Bam, the Find input field is now treated as a full-blown buffer with its own line numbering and syntax!


This might be useful as a feature, but the way it works now it sure looks like a bug: the syntax indicator still shows the syntax of the file, the Find input field looks ugly, and there is no way to return it to normal.

+2

Soft wrap X many spaces/tabs more than the previous line.

Mueez 12 лет назад 0
+2

indent-level vs. tab-key vs. tab-character

Garance A Drosehn 12 лет назад обновлен 12 лет назад 2

I'd like to set the size of each indent-level to be 4 characters.  I'd want the tab-character (in a file) to jump to the next 8-character boundary.


I'd expect the tab key (when pressed on the keyboard) to tab to the next indent level (4-characters), not the next tab-character level (8-characters).  I'd want the whitespace on each line to have a tab-character for every 8 spaces needed, followed by 4 more space characters if the indent-level is not a multiple of 8 characters.  This matches a style policy used in the FreeBSD project, for instance.


I can do this with preference settings in XCode, but I don't see how to do the same thing in SublimeText2.  Sorry if I'm just missing something which should be obvious!

+2

Opening find panel should not show the sidebar if it's hidden

Allen A. Bargi 12 лет назад обновлен eproxus 12 лет назад 0
Opening find panel should not show the sidebar if it's hidden. 
follow this to recreate the bug: 
1. hide the sidebar by pressing (Cmd+K,Cmd+B) in windows use Ctrl
2. now press Cmd+f to start a search in the current file
now the sidebar appear again along with the find panel!

Сервис поддержки клиентов работает на платформе UserEcho