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

+2

OS X: Font rendering/anti alias of search bar messed up in fullscreen

Frederic Hemberger 12 років тому оновлений 12 років тому 1

Today I noticed something strange. After switching to fullscreen mode, the font rendering/anti alias of the search bar breaks.


Image 192


Image 193


Switching back to windowed mode and everything works fine again. I don't have any font_options set im my config.


OS X 10.6.8

Sublime Text build 2220

+2

Package ratings

Chris Eigner 11 років тому 0
I'd love to see github fork/star counts next to packages in the package explorer. This would give some indication which packages to use when there are many dups.
+2

Copy file name and/or file location from its tab's context menu

R K 12 років тому 0

 In a collaborative environment, I often have to quickly send someone the name and/or location of the file I'm currently working on. My previously used editor had an option to copy that info from the context menu of the file's/buffer's tab directly to the clipboard, which is really handy, especially if the paths are really long and nested deeply.


The options in my previous editor were like this (example path and file: /very/long/path/to/my/working/directory/file.pm):

- 'Copy full path' -> /very/long/path/to/my/working/directory/file.pm

- 'Copy file name' -> file.pm

- 'Copy directory name' -> /very/long/path/to/my/working/directory/


This would be so perfect. :)

+2

Python auto-suggestions

Andrew B 12 років тому оновлено FichteFoll 12 років тому 1
Hi, is there a possibility for autosuggestion after I have imported such module? For example I import os module and then in the code I type os.(and at this point I want to see suggestions about all possible methods, functions, etc. in that module.
+2

OS X: Scroll bar does not respect system preference "Click in the scroll bar to jump to the spot that's clicked"

Andy Durdin 13 років тому 0
In OS X Snow Leopard, when the user has configured scroll bars to “Jump to the spot that's clicked” (instead of the default “Jump to the next page”), Sublime Text 2 (build 2111) incorrectly scrolls by a page when clicked.

Additionally, when this preference is enabled and the user drags in the scroll bar, it should jump to the location and continue to scroll to the corresponding location the user drags to. (Incidentally, this is the same scrolling behaviour as the minimap provides.)

This system preference is found at: System Preferences > Appearance > Click in the scroll bar to:

+2

Project 1 file scan blocks project 2 file scan

Scott Bowers 13 років тому 0

I have a lot of projects and I need to context-switch frequently.  Some of these projects are quite large and some of these are on remote volumes, which take a while to scan. When this process starts, and I need to switch to a different project, the new project will not start to scan the files until the previous one finishes.


Use case: I work on remote project X on day one, finish and close out sublime. When I work on project Y on day two, I open sublime to find that it instantly starts scanning project X.  When I switch to project Y, sublime sits there, not letting me Goto Anything or see any of my files until the previous scan finishes.  Only then will it start scanning project Y

Also, sublime throws away the directory scan of project X when I switch to project Y.  This means that a quick fix for project Y means that I have to then wait for an entire scan of project X.  Sublime should be able to hold on to this information, so I can quickly switch between X/Y without having to wait. 

In my opinion it would be best to:

1) Sublime caches the file scan of your projects. When you switch to a project, immediately use the cache so I can start editing files and being productive.
2) Display an indication in the file tree and goto anything of entries that have not been verified
3) Scan files in the background to verify
4) When I switch to a project, pause any existing scans and start scanning it immediately.

+2

Have "Goto Anything" should respond to other "Goto *" keyboard commands

Shayne Sweeney 14 років тому оновлено adzenith 13 років тому 3

I love the Goto Anything menu, I use it religiously. I also use the more specific Goto menus, like the line, or symbol ones.


I find myself often hitting the keyboard command for another Goto action while using the Goto Anything menu. I think this addition would be useful and easy to implement.

Here's an example of how it might work:

Hit Command-P, start typing the name of the file and narrow it down, highlighting the one you're after.

Now press Command-R, you are now searching through symbols in the highlighted file. The string in the text field for the Goto Anything menu shows an "@" appended. You can backspace to return to the previous state.


+2

Show current symbol/function in status bar (near current language)

Jonathan Beebe 13 років тому оновлений 13 років тому 2
I love the built-in symbol browser (Cmd+R), but many times I'd like to just quickly see which symbol/function I'm currently in. For instance, in BBEdit, the symbol browser is "always on" and updates the current item based on where you are in the document.

I like how the symbols menu is accessed via Cmd+R in Sublime Text 2 (rather than being always on/always visible), so how about have the option to show the current symbol in the status bar (near the currently selected Language, for instance)?

I think this feature would be very useful to many different people, and for me personally, would put the final nail in the coffin of all other Mac OS X text editors :-)
+2

Increase responsiveness for projects stored on network drives

Nathan Walasek 12 років тому оновлений 11 років тому 3

All of my project files are hosted on a shared network drive, which is mapped to a drive letter in Windows 7. After opening the project in ST2, I attempt to navigate through directories and many times (especially on larger projects) it appears as though that directory is empty (the toggle-arrow changes, but no files/folders appear). Only after waiting for several minutes do the files appear.

+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.