autohotkey-plus icon indicating copy to clipboard operation
autohotkey-plus copied to clipboard

[Suggestion] Syntax highlighting for #If conditions

Open zaregg opened this issue 4 years ago • 6 comments

image Something like this, it could be nice

zaregg avatar Mar 08 '21 21:03 zaregg

An example included in the AutoHotkey documentation for WInActive().

if WinActive("ahk_class Notepad") or WinActive("ahk_class" . ClassName)  ; "ahk_class" need not have a space after it.
    WinClose  ; Uses the last found window.

fade2gray avatar Mar 08 '21 23:03 fade2gray

i’m sorry, i explained myself poorly. With syntax i meant the syntax colouring like in that example. Currently for me it was all one colour. Sorry for the inconvenience

zaregg avatar Mar 08 '21 23:03 zaregg

Ah syntax highlighting, I'm with you now - try asking Mark Wiemer here.

fade2gray avatar Mar 08 '21 23:03 fade2gray

Thank u! Sorry again for my bad wording

zaregg avatar Mar 08 '21 23:03 zaregg

Nothing to apologise for. 👍

fade2gray avatar Mar 08 '21 23:03 fade2gray

Thanks for the callout, sorry for the delay. Tagging https://github.com/vscode-autohotkey/vscode-autohotkey-plus-plus/issues/128 as it's tracking the larger work here

mark-wiemer avatar Nov 23 '22 09:11 mark-wiemer