question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gesture for multi-line comments

See original GitHub issue

I’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:open
  • Created 4 years ago
  • Reactions:3
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
pmorchcommented, Dec 8, 2021

Doesn’t work with a Danish keyboard, where / is on shift + 7. ctrl + shift + 7 does nothing 😦

1reaction
acaocommented, Jun 23, 2019

that works already @glennblock! try selecting a block of text and doing cmd + / or ctrl + /. try it here for example

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found