Skip to content
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

Comment with keybinding (cmd + /) #1451

Open
gabrielbidula opened this issue Jan 25, 2024 · 8 comments
Open

Comment with keybinding (cmd + /) #1451

gabrielbidula opened this issue Jan 25, 2024 · 8 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gabrielbidula
Copy link

In a JSON payload interface, similar to other API GUIs, it would be beneficial to support code commenting within the payload. This feature should enable users to exclude specific parts of the request through comments.
Additionally, implementing a keyboard shortcut for commenting, such as 'Cmd + /' on macOS, would enhance usability. This shortcut should facilitate both single-line and multi-line comments, allowing users to comment out a line, move to the next line, and repeat the process as desired. I haven't found any open pull requests addressing this, so I'm providing this suggestion.
Thank you for your efforts in developing the application.

Cheers

@Drowze
Copy link

Drowze commented Apr 23, 2024

That would be a very valuable feature! It's indeed something I miss from Postman.

@sanjai0py sanjai0py added enhancement New feature or request good first issue Good for newcomers labels Apr 24, 2024
@samhoooo
Copy link
Contributor

Can I contribute to this feature?

@samhoooo
Copy link
Contributor

Hi @sanjai0py, I implemented this feature in PR #2634

I am a begineer and would like to get some suggestions. Thank you!

@etler
Copy link

etler commented Jul 14, 2024

I was just looking for this feature. I hope it gets merged in soon!

@eifcgn24
Copy link

eifcgn24 commented Sep 5, 2024

Or like in VS Code "Ctrl + K + C" to comment ("Ctrl + K + U" to uncomment)

Ctrl + K + U -> capitalizes at the moment
Alt Gr + 7 -> puts inside { }
alt Gr + 8 -> puts inside [ ]

@AshkanArabim
Copy link

Is there a reason this is still open? The PR was merged quite a while ago.

@LaxmanChoudhary
Copy link

LaxmanChoudhary commented Oct 9, 2024

yep, it's missing the keybinding for windows & linux users. Ctrl+/

@LaxmanChoudhary
Copy link

this should close it. Let's see. 🙄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

8 participants