Comments (7)
Please, do not add any shortcut. I understand you are a novice ST2 user, but you'll realize in a short time that the mess it makes to have each Package adding its own random shortcut can be a real headache. Use the package for a while until you see it suits you, and then Goto Preferences->Key Bindings - User and add a keyboard shortcut according to your needs and uses.
from sublime-jsrun.
Thanks for your thoughts. Can you help me figure out how to add a user key-binding for jsrun, @juanfal?
from sublime-jsrun.
Goto Preferences->Key Bindings - User
And in the empty (I suppose you do not have any previous key binding…)
[
{ "keys": ["ctrl+shift+j"], , "command": "js_run" }
]
you can see examples in
Preferences->Key Bindings - Default
from sublime-jsrun.
Awesome. Thank you.
Anyway… Packages come with good defaults sometimes. And I think that is ok, as long as you can overwrite them through the Key Bindings - User.
On 02.11.2012, at 23:54, juanfal [email protected] wrote:
Goto Preferences->Key Bindings - User
And in the empty (I suppose you do not have any previous key binding…)
[
{ "keys": ["ctrl+shift+j"], , "command": "js_run" }
]
you can see examples inPreferences->Key Bindings - Default
—
Reply to this email directly or view it on GitHub.
from sublime-jsrun.
The problem with that approach, sometimes, is they hide other keyboard commands and that can even be dangerous or unreliable at the best.
TextMate used to have a very clever way to handle it: it allows to have more than one action over one shortcut and when you act doing the shortcut it offers you a small pop-up menu with the meaning of each one to select.
from sublime-jsrun.
I have to agree with @juanfal. Maybe if Sublime had some kind of shortcut conflict system, but atm it only causes confusion.
I'd rather just improve the instruction on how to add the shortcut.
from sublime-jsrun.
Ok. A comment about how to set a shortcut would be awesome :)
Thanks!
from sublime-jsrun.
Related Issues (14)
- Double quotes aren't supported HOT 1
- Nothing happens after selecting "run Javascript in browser" HOT 3
- Focus browser HOT 9
- Windows Support HOT 5
- config HOT 1
- I can't find the plugin HOT 5
- Can't install via Package Manager on OSX HOT 7
- Investigate use of WebDriver
- Upgrade to ST3 HOT 3
- Linux support HOT 1
- Windows support HOT 3
- Screencast
- iOS simulator support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime-jsrun.