Skip to content

Commit

Permalink
Add __New docs for all Object descendants (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-wiemer authored Feb 22, 2025
1 parent b2570e7 commit c4e7447
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ language/*.tmLanguage.json
*.log
*.txt
*.zip
notes.md
2 changes: 1 addition & 1 deletion ahk2
Submodule ahk2 updated 1 files
+79 −1 syntaxes/ahk2.d.ahk
10 changes: 8 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@

## 6.5.0 - unreleased 💞

### Debugger

- Add [docs/debugging.md](./docs/debugging.md) and [docs/\_welcome.md](./docs/_welcome.md)
- Fix `.vscode/launch.json` support for AHK v1 ([Issue #603](https://github.com/mark-wiemer/ahkpp/issues/603))
- Add `.vscode/launch.json` support for AHK v2 ([PR #606](https://github.com/mark-wiemer/ahkpp/issues/603))
- Change "AutoHotkey execute bin not found: ..." to "AutoHotkey interpreter not found" with a preceding message showing the interpreter path. ([PR #606](https://github.com/mark-wiemer/ahkpp/issues/603))
- Remove the `runtime` argument from `launch.json` support due to issues with cross-version debugging ([PR #606](https://github.com/mark-wiemer/ahkpp/issues/603))
- We are not considering this a breaking change as this behavior didn't work before. If you'd like to use different AHK interpreters across different workspaces, use IDE workspace settings. If you'd like to use different AHK interpreters within a single workspace, please [open a discussion](https://github.com/mark-wiemer/ahkpp/discussions/new/choose)
- Remove the `runtime` argument from `launch.json` for both AHK v1 and AHK v2 due to issues with cross-version debugging ([PR #606](https://github.com/mark-wiemer/ahkpp/issues/603))
- We are not considering this a breaking change as this behavior didn't work before. If you'd like to use different AHK interpreters across different workspaces, use IDE workspace settings. If you'd like to use different AHK interpreters within a single workspace, please [open a discussion](https://github.com/mark-wiemer/ahkpp/discussions/new/choose) and we'll be happy to help.

### IntelliSense

- Add detailed `__New` docs for `InputHook` and basic `__New` docs for all `Object` descendants that didn't have it([#586](https://github.com/mark-wiemer/ahkpp/issues/586))

## 6.4.3 - 2025-01-18 🎆

Expand Down
26 changes: 26 additions & 0 deletions demos/manualTests/586-new-class-method.ahk2
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#Requires AutoHotkey v2.0

class MyHook extends InputHook {
__New() {
super.__New("L1")
}
}

class MyClipboardAll extends ClipboardAll {
__New() {
super.__New()
}
}

class MyClass extends Class {
__New() {
super.__New()
}
}

class MyInteger extends Integer {
__New() {
;* Should be the only warning on this file
super.__New()
}
}

0 comments on commit c4e7447

Please sign in to comment.