thqby / vscode-autohotkey2-lsp

Autohotkey v2 Language Support using vscode-lsp.
https://marketplace.visualstudio.com/items?itemName=thqby.vscode-autohotkey2-lsp
GNU Lesser General Public License v3.0
219 stars 21 forks source link

[Feature request] Configure custom module-symbols and disable some of the built-in #173

Closed zachpoblete closed 2 years ago

zachpoblete commented 2 years ago

To my knowledge, ;;, ; TODO, and ;# are the only ways of making module-symbols. See the outline on the left.

image

But this conflicts with my use of the Better Comments extension. I have configured the ; tag to strikethrough the entire line, clearly showing I want it commented out. This probably means I don't want it in my outline.

image

I have also configured the =, ==, and === tags to highlight headers. I want them to be in the outline, but they aren't.

image

It would be cool if there was a setting in ahk2-lsp where I could configure a regex pattern to match custom module-symbols, such as ^;=+ [^=].+, which would match my headers. It would also be nice to disable some of the built-in module-symbols.

thqby commented 2 years ago

set commenttags option

zachpoblete commented 2 years ago

Thanks for this!