-
Notifications
You must be signed in to change notification settings - Fork 11
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
"Couldn't resolve AHK v2 interpreter" message when debugging something unrelated to AHK #493
Comments
It happens whether I start debugging via a keybinding or the command palette. However, I just noticed that it only happens the first time I start debugging after loading a particular workspace. So I can go in and out of the debugger without additional popups appearing. Which is good - this is only a minor annoyance. |
Yeah same issue. It also happens even without debugging anything. I get the error message on every startup. v2 is not installed, only v1. |
Same here. Have uninstalled this extension and switched to one of the other AutoHotkey extensions until this is fixed. |
after a patience, finally I installed ahk2 just to prevent the message |
Thanks for the feedback and sorry for the inconvenience. I should have a fix for this published next week. |
Hi @mastrodaro, please open a new issue. And please try downgrading back to 6.3.0 to see if that mitigates the issue: |
Just an FYI, the AHK interpreter is also used to provide completion suggestions, hover text, and a bit more. So missing the file is a bit of a problem. However, I will still work to:
For this week's hotfix, just expect a clearer error message and a setting to disable such warnings in the future. The error will still appear by default but once marked as ignored should never appear again. |
Note to self: As of 6.4.0, the error text starts with "Couldn't resolve AHK v2 interpreter, please check settings:", it's from ahk2/server/src/localize.ts |
Hi all, please try out this release early! Unless major bugs are found, I'll be testing and releasing tomorrow morning (~16 hours from now) vscode-autohotkey-plus-plus-6.4.1-rc1.zip Rename If you don't trust this comment, that's OK, but I hope you can see by the guide that I intend to share more releases like this to work around the current registry limitations with pre-release version numbering. Thanks again for your patience on this one, I know it was annoying |
Description
Since AHK++ v6 was installed, every time I start debugging a C# project in VS Code, I get this notification popup:
This is in a workspace with no AutoHotkey files, totally unrelated to AutoHotkey. I don't have AHK v2 installed - I am still on v1 and don't plan to upgrade anytime soon.
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
Expected not to get any notifications related to AHK++. I think the AHK++ extension should check whether you are debugging an AutoHotkey script before it looks for the AHK interpreter. I couldn't find anything in the AHK++ docs about support for v1, but it seems to still be supported, so it's not clear if having v2 installed is a requirement.
The text was updated successfully, but these errors were encountered: