mark-wiemer-org / ahkpp

AutoHotkey Plus Plus (AHK++) - AutoHotkey v1 and v2 support for VS Code
https://marketplace.visualstudio.com/items?itemName=mark-wiemer.vscode-autohotkey-plus-plus
Other
152 stars 10 forks source link

Shortcut to comment/decomment selected line #425

Closed Gharwen closed 4 months ago

Gharwen commented 5 months ago

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.

mark-wiemer commented 4 months ago

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

fade2gray commented 4 months ago

Shift+Alt+A?

Gharwen commented 4 months ago

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