aponxi/sublime-better-coffeescript — pull request #39 by PPvG (2013-03-25 18:49:01+00:00)
Title: Better `Run` commands

> **TL;DR**:
> I found `Show Compiled` and `Run Script` a bit confusing. Let's rename them to `Run Script / Selection` and `Quick Run Bar` (respectively) and try to make them easier to understand.

Hope I'm not kicking any shins by saying this, but I found `Run Script` and `Show Compiled` a bit confusing: they have sort-a kinda the same functionality (i.e. compile and run code) and they're awkwardly named.

This is what they currently do:

- `Show Compiled` compiles and runs the current file or selection (if any), and outputs the results (or errors) to the Console panel.
- `Run Script` (alt+shift+r) compiles and runs code and outputs the result to a new file. If there is a selection, `Run Script` will run the selection. If there's **no** selection, it shows what can be described as a 'Quick Run bar', and runs the code you enter into it.

What confused me:

- `Show Compiled` does **exactly** what I expected `Run Script` to do.
- `Show Compiled` sounds like an alias for `Display JavaScript`.
- I didn't realise `Run Script` could be run on selections until I looked at the code.

Here's what I'd like to propose:

- Rename `Show Compiled` to `Run Script / Selection` and give it `Run Script`'s shortcut. (Users that prefered the old keymap can always override it.)
- Rename `Run Script` to `Quick Run Bar` and ditch the selection handling.
- Have `Quick Run Bar` output into the current file (at the caret position), instead of a new file. (And possibly make this behaviour configurable.)

What do you think?