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

v5.0.0 #383

Merged
merged 41 commits into from
Aug 8, 2023
Merged

v5.0.0 #383

merged 41 commits into from
Aug 8, 2023

Conversation

mark-wiemer
Copy link
Owner

5.0.0 - 2023-08-07 ✌️

AutoHotkey v2 support now in preview! Please test it out and report any issues, you'll help the community of 120,000+ users of this extension!

Be sure to go to the settings and update the new V2 settings in case the defaults aren't correct 😊

Breaking changes

  • Rename some settings. Users will have to manually adjust these new settings from the defaults to match their old settings:
    • ahk++.compiler.compileBaseFile is now ahk++.compiler.compileBaseFileV1
    • ahk++.file.compilePath is now ahk++.file.compilerPath
    • ahk++.file.executePath is now ahk++.file.interpreterPathV1
    • ahk++.file.helpPath is now ahk++.file.helpPathV1
    • ahk++.file.templateSnippetName is now ahk++.file.templateSnippetNameV1 with default value AhkTemplateV1

Other changes

  • Allow .ahk1 and .ah1 extensions for v1 scripts, .ahk2 and .ah2 for v2 scripts. .ahk and .ext can be used for either version and still default to v1.
  • Automatically change AHK version 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 version-specific help
  • Add full syntax highlighting for v2 scripts thanks to AutoHotkey v2 Language Support by thqby
  • Update icons (found next to a script'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!

Thank you!

This update relies heavily on open-source code from thqby and Steve Gray (Lexikos). Thank you for your awesome work!

@mark-wiemer mark-wiemer enabled auto-merge August 8, 2023 03:11
@mark-wiemer mark-wiemer added this pull request to the merge queue Aug 8, 2023
Merged via the queue into main with commit 114bc31 Aug 8, 2023
@mark-wiemer mark-wiemer deleted the release-5.0.0 branch August 8, 2023 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant