Skip to content

Releases: mark-wiemer/ahkpp

3.2.0 - 2023-01-29 ❄️

29 Jan 23:31
000720c
Compare
Choose a tag to compare
  • Debug keyboard shortcut is now Ctrl + Alt + F9 (was F9) to avoid conflicts with VS Code default shortcuts.
  • New setting: Snippet template name. Create your own template for new AHK files, including no template at all.
  • Moving lines of code via commands now (almost) correctly indents (PR #306, issue #319)
  • Snippets and keywords updated to AutoHotkey v1.1.36.0 (PR #288, PR #298)

Fixes:

  • Fix syntax highlighting for:

    • strings with double colons in them (PR #278)
    • conditional directives (#69)
    • #Include and #IncludeAgain (#86)
    • semi-colons without a preceding space (usually meant to be comments) (#295)
  • Fix formatting for:

    • comments at the beginning of a code block (#291)
    • IfMsgBox (#290)
    • complex hotkeys (#303)
    • object assignment within unbraced code blocks (#316)
    • nested, unbraced code blocks (PR #287)
  • Fix hover message for doc comments to always be trimmed (PR #308)

3.1.0 - 2022-11-21 🦃

22 Nov 06:11
905288f
Compare
Choose a tag to compare

Compiler:

  • New compiler options in settings: Choose base file, file icon, and "use MPRESS"
  • Add "Compiler GUI" command in context menu to use the AHK GUI when compiling

Snippets: Update snippets for AHK 1.1.35.00 and fix broken InStr() snippet (#263)

Grammar: Fix #Requires not being recognized (#268)

Editor: New AHK file icon (green square with white H)

Debugger: Minor debugger improvements

Formatter: Close the following bugs:

  • Formatter incorrectly indents object literals (#184, #222)
  • Nested one command code flow control (#255)

Miscellaneous: Extension should start up faster

3.0.0 - 2022-10-01 👻

02 Oct 00:38
7fb5277
Compare
Choose a tag to compare

This is "The Kyklish Release" because Kyklish wrote most of this code. Thank you!

Breaking changes:

  • Update file template: Add #NoEnv and SetBatchLines, -1 (PR #202)

Formatter bugfixes may be considered breaking if you wanted the old behaviors. If you want the old behavior, please open an issue.

Features:

  • Add formatter directive for "Format Block Comment" (PR #164)
  • Add "allowed number of empty lines" setting to preserve any number of lines. Defaults to 1, -1 means "preserve all empty lines" (PR #194)
  • Add "preserve indent" setting to preserve spaces before a comment. Defaults to false. (PR #192)
  • Add "trim extra spaces" to trim spaces between words. Defaults to true. (PR #191)
  • Trim end of line when formatting (PR #190)

Fixes:

  • Fix some snippets (PR #138, PR #201, PR #210)
  • Fix formatting bugs with semi-colon as part of a string (PR #159)
  • Fix some formatting bugs with if, else, etc. without braces (PR #181)
  • Fix formatter issue with non-label colon at end of line (PR #162)
  • Even more formatter fixes (PR #164)
  • Use default debug icon (was yanked in 2.8.3, now it returns!) (PR #149)

2.8.5 release candidate (RC) 1

18 Jul 07:00
Compare
Choose a tag to compare
Pre-release

Woohoo a 🧪 pre-release! Note this requires VS Code 1.63.0 (November 2021) or newer. See 🧪 pre-release extensions and publishing 🧪 pre-release extensions for more info.

  • Fix #153 in main branch
  • Restore functionality introduced in 2.8.3

This is a 🧪 pre-release for now since last time I tried to make a change like this, everything 💥 exploded 😔. Please try it out and let me know if anything else 💥 explodes!

Testing pre-releases is a great way to help speed up the development process!

You can download the pre-release by clicking the fancy "overlapping squares" icon in the extension menu.

image

It's easy to switch between the pre-release and the stable release, VS Code will give you a clear button "Switch to Release Version"

image

Once you install the pre-release, you'll always have the latest pre-release installed. Pre-releases should be relatively stable, but are more likely to include bugs.

2.8.4 - 2022-07-07

07 Jul 17:45
Compare
Choose a tag to compare

Revert changes in 2.8.3 to fix #153.

2.8.4 has identical code and functionality to 2.8.2

Very sorry for this.

2.8.3 (yanked) - 2022-07-04 🦅

05 Jul 07:00
2bcbf27
Compare
Choose a tag to compare

This release has been yanked, meaning it's not supported. Use v2.8.4 instead.

  • Change to use default debug icon (#100)

  • Unexpected change: Break "step into" function of debugger. :(

2.8.2 - 2022-06-11 🎂

11 Jun 18:51
6d6a3ec
Compare
Choose a tag to compare
  • No user-facing changes
  • Security fixes in dependencies
  • Update internal dependencies: Node v16, npm v8
  • Close #126

2.8.1 - 2021-05-09

10 May 01:52
14e5cc7
Compare
Choose a tag to compare
  • Fix indentation with (:: (#72)

2.8.0 - 2021-03-14

14 Mar 21:30
1a6be25
Compare
Choose a tag to compare
  • Add setting to toggle debug button in editor title menu (#10)

2.7.2 - 2021-03-02

03 Mar 04:20
8741d6e
Compare
Choose a tag to compare
  • Fix indentation with parentheses again (sorry!) (#58)