-
Notifications
You must be signed in to change notification settings - Fork 10
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
Support for AHK V2 syntax #96
Comments
You could use this for now: |
AHK v2 recently became stable. I will strongly consider adding support when I have more time to work on this project. Step 1 is finding the parsing logic in the language definition and copying that. This will provide a solid foundation for formatting, syntax highlighting, and IntelliSense. |
See #123 |
See #146 |
With AHK v2 being fully released, this is now top priority :) |
I'm not sure if its related to v2, but I just installed V2, and now when I'm trying to run my script, I am getting:
By default, |
@JroachAu , your issue is unrelated to this one 😕 you're welcome to create a new discussion to help get setup, I'm not sure this is an issue with this extension. Double-check your file path, I've gotten v2 working on my machine so I know it can be done! |
Refer to progress in https://github.com/mark-wiemer/hello-vscode-extension for my WIP prototypes. I would love to understand https://github.com/thqby/vscode-autohotkey2-lsp and other repos in https://github.com/stars/mark-wiemer/lists/syntax-highlighting so I don't reinvent the wheel. This will take some time, but it remains interesting work and my schedule is finally a bit clearer. |
I'm still looking at this every once in a while, but I've mostly dedicated my free time to other projects. I'll be writing code related to this within the month, at least. As always, this is a passion project so please be patient :) |
Cheers to the new release! This probably removes the last excuse I have for not switching to v2. Let's be honest: There's a pretty good chance there are bugs in the v2 support, and there's even a chance some v1 support has been broken. That's OK. That's normal for a major release. It's still an incredible milestone, and you have my full congratulations! And thanks again just for the existence of this project. It is indeed a great tool. |
I really hope nothing with V1 broke! I promise I tested things as thoroughly as I could, all basic scenarios should be working just fine. Please do report issues if you see them! I'm aware of four issues with V2 support, nothing critical though. Fixes and enhancements will continue for the foreseeable future 🤓 Thank you for the kind words! |
Does this extension support AHK V2 syntax, or is it only V1?
It doesn't seem to support it; the colors get messed up for V2 scripts.
The text was updated successfully, but these errors were encountered: