Skip to content

Commit

Permalink
v5.1.3 🧪 (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-wiemer authored Aug 31, 2024
1 parent fb7b9e5 commit 5819abc
Show file tree
Hide file tree
Showing 113 changed files with 510 additions and 585 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ assignees: mark-wiemer
Please note the known limitations of AHK v2 support. These issues are already being addressed :)
- Formatting ([Issue #381](https://github.com/mark-wiemer/vscode-autohotkey-plus-plus/issues/381))
- Snippets ([Issue #382](https://github.com/mark-wiemer/vscode-autohotkey-plus-plus/issues/382))
- Formatting ([Issue #381](https://github.com/mark-wiemer-org/ahkpp/issues/381))
- Snippets ([Issue #382](https://github.com/mark-wiemer-org/ahkpp/issues/382))
-->

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
# https://github.com/vscode-autohotkey/ahkpp/settings/secrets/actions
# https://github.com/mark-wiemer-org/ahkpp/settings/secrets/actions
# https://dev.azure.com/markwiemer/_usersSettings/tokens
# Saved locally as "CI VS Code Marketplace Publish Token", expires 2024-06-22
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/project-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
- uses: actions/[email protected]
with:
# https://github.com/settings/tokens
# https://github.com/vscode-autohotkey/ahkpp/settings/secrets/actions
# https://github.com/mark-wiemer-org/ahkpp/settings/secrets/actions
project-url: https://github.com/orgs/mark-wiemer-org/projects/1
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
124 changes: 72 additions & 52 deletions Changelog.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Please validate the build before opening a PR. Automated checks will have to pas

### Automated checks

All checks are found in [📄 `package.json#scripts`](https://github.com/mark-wiemer/vscode-autohotkey-plus-plus/blob/main/package.json).
All checks are found in [📄 `package.json#scripts`](https://github.com/mark-wiemer-org/ahkpp/blob/main/package.json).

- Validate: Make sure everything is working correctly
- Lint
Expand All @@ -75,7 +75,7 @@ All checks are found in [📄 `package.json#scripts`](https://github.com/mark-wi

## Syntax highlighting

The syntax in [📄 `language/ahk.tmLanguage.yaml`](https://github.com/mark-wiemer/vscode-autohotkey-plus-plus/blob/main/language/ahk.tmLanguage.yaml) determines how syntax highlighting is applied.
The syntax in [📄 `language/ahk.tmLanguage.yaml`](https://github.com/mark-wiemer-org/ahkpp/blob/main/language/ahk.tmLanguage.yaml) determines how syntax highlighting is applied.

```
; No syntax highlighting here 😞
Expand All @@ -94,7 +94,7 @@ Some resources:
To update the syntax, we recommend following this flow:

1. 🤔 Take some time to reproduce a syntax highlighting issue with as little AHK code as possible
1. ➕ Add a new file in [📁 `src/test/suite/grammar/samples`](https://github.com/mark-wiemer/vscode-autohotkey-plus-plus/tree/main/src/test/suite/grammar/samples) that demonstrates the issue
1. ➕ Add a new file in [📁 `src/test/suite/grammar/samples`](https://github.com/mark-wiemer-org/ahkpp/tree/main/src/test/suite/grammar/samples) that demonstrates the issue
1. 🏃 Run `npm run test_grammar` to generate a `.snap` snapshot for the file you added
1. ✏️ Edit the YAML grammar
1. 🧪 Repeat the last two steps until everything is working as you want
Expand Down
2 changes: 1 addition & 1 deletion ahk2
Submodule ahk2 updated from 4f5fd5 to 7a3e11
37 changes: 37 additions & 0 deletions demos/manualTests/thqby.ahk2
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#Requires AutoHotkey v2.0

; Tests for features provided by thqby's extension

; todo Debug AHK and Attach is untested for now

; todo Debug AHK with Params is untested for now

; Export AHK Symbols should give ~20 lines for this
; And open in an unsaved new editor group
MyMsgBox(text) {
MsgBox(text)
}

; Stop AHK Script should work after starting via Run AHK Script
; Auto-closes MsgBox windows as well :)
MyMsgBox("Hello world!")
MyMsgBox("Hello again!")

; Add Doc Comment should add and then go to doc comment
; todo Known issue with two args will be reported later
AddDocComment(arg1, arg2) {
; do nothing
}

; Update File Version Info should update the file version info ;)
; create block comment, don't save, put cursor at end of first line
; update version only via quick pick

; Switch AHK Version should switch and ignore the `Requires` directive

; todo Select AHK Syntaxes is untested for now

; todo Set A_ScriptDir Here is untested for now

; Set AHK v2 Interpreter should open quick pick with installed options
; updates should reflect in workspace settings
221 changes: 0 additions & 221 deletions demos/v1Demo.ahk

This file was deleted.

68 changes: 0 additions & 68 deletions demos/v2Demo.ahk2

This file was deleted.

Loading

0 comments on commit 5819abc

Please sign in to comment.