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

0

Copy all text from all tabs in a group (useful for copying scripts and deps into consoles)

Tom Rathbone 13 years ago 0
When working with the JavaScript console (or other REPL) I often open up a script and all it dependencies in ST2.  Then to run the script I need to flick through the tabs in the correct order, selecting all the text from each in turn and pasting each into the terminal/REPL.

My suggested feature would provide a menu-item/shortcut that would select all of the text from every tab in a tab-group in order such that it can be pasted in one go.

Thanks for creating Sublime, fantastic editor.
0

Remove violet color from default Monokai scheme.

Lukas Dvorak 13 years ago 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 13 years ago updated 13 years ago 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 13 years ago 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 12 years ago 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 12 years ago 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 13 years ago 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 13 years ago 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 12 years ago 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 12 years ago 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.