loganch / AutoIt-VSCode

AutoIt Extension for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=Damien.autoit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing optional components paths are considered as errors.

olaf-k opened this issue · comments

commented

since Karen closed their "issue", I'm opening this one.

the extension seems to consider that some AutoIt utilities are always installed, which yields errors when you have a custom install.
in my case, I didn't install Koda nor the wrapper, so I get these messages on every Code launch:

image

(I'm an occasional AutoIt user so I don't really know which utilities are optional though. but I'd be happy to help if you point me to the proper place in the code.)

commented

This extension uses wrapper to run the scripts. In fact, it uses wrapper almost for everything, check syntax, show help, build executables, etc...

As of other non-essential paths, there should be another way to notify user...any suggestions?

commented

Maybe paths errors should only be shown when settings changed and not on startup?

Also, in case of AutoIt-VSCode used only for syntax highlighting (aka no AutoIt installed) the Check path error should only be shown once per session, instead of on each file save.