You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't look like there is any keyboard shortcut for commenting/uncommenting a line or block of code in the OverpassQL editor. Most IDEs use Ctrl-/ (or Cmd-/) to comment/uncomment parts of code. CodeMirror has a comment addon comment/comment.js (see https://codemirror.net/5/doc/manual.html#addons) which adds a toggleComment method to the CodeMirror instance.
I think this feature would be quite useful when learning/experimenting with the API and the language. I tried adding that feature myself on a local instance but it seems that the nodejs package used for CodeMirror doesn't implement any of the addons.
The text was updated successfully, but these errors were encountered:
It doesn't look like there is any keyboard shortcut for commenting/uncommenting a line or block of code in the OverpassQL editor. Most IDEs use
Ctrl-/
(orCmd-/
) to comment/uncomment parts of code. CodeMirror has a comment addoncomment/comment.js
(see https://codemirror.net/5/doc/manual.html#addons) which adds atoggleComment
method to the CodeMirror instance.I think this feature would be quite useful when learning/experimenting with the API and the language. I tried adding that feature myself on a local instance but it seems that the nodejs package used for CodeMirror doesn't implement any of the addons.
The text was updated successfully, but these errors were encountered: