Skip to content

"Couldn't resolve AHK v2 interpreter" message when debugging something unrelated to AHK #493

@RandScullard

Description

@RandScullard

Description

Since AHK++ v6 was installed, every time I start debugging a C# project in VS Code, I get this notification popup:

AutoHotkey interpreter not found, check settings: AHK++.v2.file.interpreterPath

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:

  1. Open a C# workspace
  2. Start debugging

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.

Metadata

Metadata

Assignees

Labels

bugsomething isn't workingdebuggerissues with debugging code

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions