Add "quick-run" and keyboard short-cut
Hirse opened this issue · 6 comments
I would like to have a keyboard short-cut that I can use to trigger the run in the most fitting language without have to use the mouse and selecting how I want to run it.
To select the language, I would think that taking the current documents language makes the most sense.
So for example, if the language is "JavaScript" or "HTML", use runjs
.
Well, that's a good idea, I'll do some code for it in a couples of day, please wait for it :)
It is done, you can test it with the version 0.5.0 i just released.
If you have another ideas, bugs or something off with this release don't hesitate to contact me or fill an issue
Thanks for the quick solution.
One issue though:
Ctrl
+ R
is already used by Rename JavaScript Identifier.
Could you change the shortcut to Ctrl
+ Shift
+ R
for example?
No problem, I'll make a quick fix
I change it into F9, because Ctrl-Shift-R already used in another extension (I think it is live reload preview)
Nice, thanks.