Gesture for multi-line comments
See original GitHub issueI’ve read the discussion in the GraphQL repo about not supporting multi-line to simplify the spec and because most editors support a gesture for commenting / uncommenting multiple lines.
Has any consideration been given to adding to graphiql the ability to comment / uncomment similarly with a single gesture? Basically a keystroke / button that you could press after highlighting some text in the query window and it would immediately add or remove #
within the highlighted text.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Multiline comments in Python - GeeksforGeeks
Python multi-line comment is a piece of text enclosed in a delimiter (“””) on each end of the comment. Again there should be...
Read more >Single Line and Multi Line Comments in Python
To implement multi line comments using # sign, we can simply depict each line of a multi line comment as a single line...
Read more >How do I create multiline comments in Python? - Stack Overflow
For single line you can use Shift + # . Share. Share a link to this answer.
Read more >Clarifying Code with Javascript Comments | Udacity
Javascript multiline comments, also known as block comments, start with a forward slash followed by an asterisk (/*) and end with an asterisk ......
Read more >Multi-line (block) comments in LaTeX - TeX
if you are using overleaf, you could try the hotkey Ctrl + / ( command + / on a Mac) to toggle commenting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Doesn’t work with a Danish keyboard, where
/
is onshift + 7
.ctrl + shift + 7
does nothing 😦that works already @glennblock! try selecting a block of text and doing
cmd + /
orctrl + /
. try it here for example