Skip to content
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

v2 support preview #378

Merged
merged 38 commits into from
Aug 8, 2023
Merged

v2 support preview #378

merged 38 commits into from
Aug 8, 2023

Conversation

mark-wiemer
Copy link
Member

@mark-wiemer mark-wiemer commented Aug 4, 2023

Closes #96.

Changes proposed in this pull request:

Breaking changes

  • Rename some settings. Users will have to manually adjust these new settings from the defaults to match their old settings:
    • ahk++.file.compilePath is now ahk++.file.compilerPath
    • ahk++.file.executePath is now ahk++.file.interpreterPathV1

Other changes

  • .ahk1 and .ah1 extensions now available for v1 scripts, .ahk2 and .ah2 for v2 scripts. .ahk and .ext can be used for either version and still default to v1.
  • AHK version now automatically changes to match the #Requires directive near the top of any script the first time that script is opened
  • Allow running and debugging v1 or v2 scripts without changing settings
  • "Open help" (Ctrl + F1) now opens language-specific help
  • Full syntax highlighting for v2 scripts thanks to AutoHotkey v2 Language Support by thqby
  • Updated icons (found next to the file's name in the explorer)
    • v2 scripts will have official green icons, while v1 scripts now have modified blue icons
    • Icons are a bit smaller to align with existing VS Code icons

Known issues

Some features are not added to this initial preview release, but will be coming soon!

@mark-wiemer mark-wiemer changed the title begin v2 support: blue icon for v2 scripts v2 support preview: New icon, file extension, grammar Aug 5, 2023
@mark-wiemer mark-wiemer changed the title v2 support preview: New icon, file extension, grammar v2 support preview Aug 8, 2023
Copy link
Member Author

@mark-wiemer mark-wiemer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat

.github/ISSUE_TEMPLATE/v2.md Outdated Show resolved Hide resolved
@mark-wiemer mark-wiemer added this pull request to the merge queue Aug 8, 2023
Merged via the queue into main with commit e124efd Aug 8, 2023
3 checks passed
@mark-wiemer mark-wiemer deleted the v2-support branch August 8, 2023 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Support for AHK V2 syntax
1 participant