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

0

Remove violet color from default Monokai scheme.

Lukas Dvorak vor 12 Jahren 0
Please change violet color to something less intrusive like red or so. Ive changed it myself to #E53B57.
0

Update the userecho icon =D

Christian Howe vor 13 Jahren aktualisiert vor 13 Jahren 0
It's still the old icon! There's a shiny new one now.
0

Adding a description to the .sublime-completions file format

Max Franks vor 12 Jahren 0

I just finished a Python .sublime-completions file and noticed a descrepancy between the snippet and completion formats. Snippets include a description field where as the sublime-completion format does not.


Can we add this feature so completions will have descriptions like snippets do?

0

Re-open Last Search Results

Dain Anderson vor 11 Jahren 0

As with the re-opening of closed tabs, it would be nice to be able to re-open the last-run search as part of that same tab history (or implemented as a setting that could be turned on).

0

Find selected/highlighted text?

Lee Gee vor 11 Jahren 0
As in Komodo, I like to highlight some of a line of text (CMD+cursor key), and then CMD+F to find it, and then CMD+F to find the next (or SHIFT+CMD+F to find the previous).
Saves having to copy/paste into the Find dialog.
Otherwise this text editor is showing great promise!
0

subl -n should not un-minimise Sublime Text 2 windows on OS X

Sijmen vor 12 Jahren 0
Using build 2181 on OS X:
  1. Open a Sublime Text 2 window
  2. Minimise that window
  3. In the terminal, type
    subl -n

Instead of simply opening a new window, the first window is first un-minimised.

0

Converting tabs to spaces (should only happen outside of quotes?)

Mike Youell vor 12 Jahren 0

Hi


There is a case in my code where I need to have a tab inside quotes. The problem is that I have the setting to convert tabs to spaces set.


I'm guessing that this setting is intended for the layout of code and not for tabs inside quotes. I would recommend only doing the conversion from tabs in to spaces outside quotes.

0

Why do animated cursors drain the battery?

nh2 vor 11 Jahren 0

Using strace -f sublime_text on Linux, I noticed that Sublime spams poll() system calls when the window has focus and you use the smooth, phase, or blink caret_style:


[pid 20117] poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLIN}, {fd=6, events=POLLIN}], 11, 0) = 0 (Timeout)
[pid 20117] recvfrom(3, 0xdd2f94, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)


This results in a permanent 5% CPU usage and prevents the CPU from entering sleep modes and reducing battery life, even if you are not doing anything.


If you use the wide or solid carets, this does not happen.


Questions:

  1. Why needs poll() be used for caret animation?
  2. I can understand that smooth/phase require some form of frequent updates, but why does blink poll with the same frequency instead of twice per second?

Thank you!

0

Toolbars are very useful.

RickyS vor 11 Jahren 0

My hand is on the mouse anyway when I'm done with an edit, as I'm switching over to a terminal window to run something.

So a save-file button would save my pinky finger from another press of the control key.


0

Setting default_dir doesn't take effect immediately

Kai Grossjohann vor 13 Jahren aktualisiert vor 13 Jahren 1
When I create a new view and set default_dir in it, then this takes effect only on the second Command+O.

To reproduce, put the following in Packages/User/foo.py and bind the "foo" command to a key.  (Running the command from the console doesn't exhibit the bug.)

import sublime, sublime_pluginclass

FooCommand(sublime_plugin.WindowCommand):
    def run(self):
        v = self.window.new_file()
        v.settings().set('default_dir', '/tmp')
        self.window.focus_view(v)
I used the following key binding:

{ "keys": ["super+shift+x"], "command": "foo" }

This happens with build 2155.