loganch / AutoIt-VSCode

AutoIt Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=Damien.autoit
MIT License
74 stars 25 forks source link

Missing optional components paths are considered as errors. #169

Open olaf-k opened 1 year ago

olaf-k commented 1 year ago

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.)

vanowm commented 1 year ago

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?

vanowm commented 1 year ago

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.