-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard shortcut to comment line #248
Comments
Too difficult to implement and keep a track of the comment<->line relation. Maybe sometime in the distant future. Definitely not for this or the next major iteration of jsFiddle. |
I am not sure you need to keep track of the "relation." What if it worked something like: if the first two non-whitespace characters are '//' remove them, otherwise, add them? Perhaps it's not that simple. Thanks for the great work you have done. |
Ok, I totally misunderstood what you were requesting. We're updating the editor to a new version, so adding a keyboard shortcut to comment out some lines of code should not be a problem. |
This is working partially at http://alpha.jsfiddle.net CMD+/ comments out the selection - unfortunately for now it tries to use HTML comments for all panels, including JS and CSS. |
This works however my browser also zooms in, kinda irritating, but really cool feature otherwise :) |
|
ohhhh 👍 :p i was copying what you literally commented as in "CMD + / rather than "CMD /" SORRY guys |
one more thing "CTRL + S" isn't actually updating however opening save as dialog, an this is when the javascript/HTML/CSS boxes are focused |
@yusafkhaliq was never updating anything. See bottom left in jsfiddle.net for available shortcuts. |
This is great however the shortcut creates an HTML comment, any chance of doing the same of the JS block? |
A keyboard shortcut to 'comment' selected lines would be a very useful feature. My suggestion is cntrl+/.
The text was updated successfully, but these errors were encountered: