increpare / PuzzleScript

Open Source HTML5 Puzzle Game Engine
MIT License
903 stars 159 forks source link

keyboard shortcut for commenting lines #543

Closed RzvnB closed 3 years ago

RzvnB commented 4 years ago

Would be nice to have a shortcut for commenting a single line in the web editor.

increpare commented 4 years ago

Good suggestion. I agree maybe? But then maybe people would want it to work with general selections, which is slightly trickier...(ideally I'd want it to be a toggle comment/uncomment, which would want to be smart about a number of things)

increpare commented 3 years ago

Done! Will probably upload tomorrow; just for the record the command is ctrl+/ .

increpare commented 3 years ago

@RzvnB Ok this is my favourite and most commonly used keyboard shortcut in puzzlescript now (maybe behind copy/paste). Thank you so much for the suggestion!