genius257 / vscode-autoit

AutoIt language extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=genius257.autoit
MIT License
4 stars 3 forks source link

Auto add include statement when undefined function reference is detected. #11

Open genius257 opened 1 year ago

genius257 commented 1 year ago

Easy implementation is to simply add this feature for the standard files in the AutoIt include directory, to avoid too much IO. Alternative is to once scan and map all files in Standard library, User-defined libraries and workspace. Watching the folders for changes if possible would be a plus.

See https://stackoverflow.com/a/53015835/3958400 for inspiration on how to trigger.