-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include path not detecting correctly #164
Comments
Update: After adding the include paths via SciteConfig.au3 file found in Scite folder, errors stop showings in VSCode, it this normal behavior? I know SciteConfig creates a registry key with the paths and also modifies SciTEUser.properties file. |
You bring up a valid point. It looks like AutoIt3Wrapper.au3 retrieves the Includes directories from Thoughts @loganch? |
Personally I'm skeptical about modifying registry from within an extension... |
@osmiyaki |
There is a situation when an include path was added to the |
I did a bunch of digging and was actually able to make Au3Check look at the includePaths entires with the -I parameter, but AutoIt3Wrapper has no such setting, neither through the command line nor declarations in the file. It relies solely on the registry. I was able to write a watcher for changes in the config on includePaths that will set the registry entry that AutoIt3Wrapper looks for to match what's in includePaths. The location is in HKCU which fortunately does not require admin rights and was able to run the command on my work machine successfully. |
Thank you very much @loganch , great work 👍 . Best regards |
It works fine @loganch 👍 . For example ...
That's awesome 🥳 . The tiny little downside is that this registry key-value pair would never be removed completely. The folder AutoIt will always exists which is not a big deal, I want to mention it. All in all, thank you 🤝 . Best regards |
Hello, in the past i have used this extension wothout issues, but suddenly now in my script i get erros corresponding to include files not being detected, I'm including erros displaying and the user config.
I'm using portable version if vscode 1.74.3, portable Scite 4.4.6 and portable autoit 3.3.14.5
I have tried running vscode as admin and updating, reinstalling scite and autoit, reverting extension version without fixing the error.
Asking for help, please.
The text was updated successfully, but these errors were encountered: