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

Shortcut to comment/decomment selected line #425

Closed
Gharwen opened this issue Apr 5, 2024 · 3 comments
Closed

Shortcut to comment/decomment selected line #425

Gharwen opened this issue Apr 5, 2024 · 3 comments
Assignees
Labels
enhancement new feature or request

Comments

@Gharwen
Copy link

Gharwen commented Apr 5, 2024

In AHK Studio with the shortcut ctrl+j it is possible to toggle a selected command line or block to a comment line/block and vice versa.

Is it possible to implement this in ahk++ ?

This would be a great help, especially when it comes to commenting out larger blocks or "reactivating" commented-out blocks.

@Gharwen Gharwen added the enhancement new feature or request label Apr 5, 2024
@mark-wiemer
Copy link
Collaborator

@Gharwen, have you tried Ctrl+/ ? That's the default for VS Code :)

@fade2gray
Copy link

Shift+Alt+A?

@Gharwen
Copy link
Author

Gharwen commented Apr 18, 2024

In the meantime, I have found the right shortcut.

CTRL+K and CTRL+C for comment a line or marked block
CTRL+K and CTRL+U for uncomment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new feature or request
Projects
None yet
Development

No branches or pull requests

3 participants