Skip to content

Commit

Permalink
v5.1.1 (#476)
Browse files Browse the repository at this point in the history
* Remove nested validations

Submodule validates itself on every commit anyway

* Update prettierignore for ahk2

* Remove lint-staged

More trouble than it's worth :)

* Remove husky for realsies

* Update known issues

* bump to 5.1.1 for testing

* Launch with env var, fixup build

* Migrate to @vscode/test-cli

* Move to correct branch

* Fix global recognition

* Use extensions for snippets instead (specifically github PRs)

* Update changelog
  • Loading branch information
mark-wiemer authored Aug 28, 2024
1 parent 7ed2f82 commit e6abd3d
Show file tree
Hide file tree
Showing 15 changed files with 1,450 additions and 1,443 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

30 changes: 29 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,38 @@
# ahk2
ahk2/client/src/browserClientMain.ts
ahk2/client/src/extension.ts
ahk2/client/src/test/extension.test.ts
ahk2/client/src/test/formattingProvider.test.ts
ahk2/client/src/test/utils.ts
ahk2/server/src/ahkProvider.ts
ahk2/server/src/browserServerMain.ts
ahk2/server/src/codeActionProvider.ts
ahk2/server/src/colorProvider.ts
ahk2/server/src/commandProvider.ts
ahk2/server/src/common.ts
ahk2/server/src/completionProvider.ts
ahk2/server/src/constants.ts
ahk2/server/src/definitionProvider.ts
ahk2/server/src/formattingProvider.ts
ahk2/server/src/hoverProvider.ts
ahk2/server/src/Lexer.ts
ahk2/server/src/localize.ts
ahk2/server/src/PEFile.ts
ahk2/server/src/referencesProvider.ts
ahk2/server/src/renameProvider.ts
ahk2/server/src/scriptrunner.ts
ahk2/server/src/semanticTokensProvider.ts
ahk2/server/src/server.ts
ahk2/server/src/signatureProvider.ts
ahk2/server/src/symbolProvider.ts

# Folders
.idea/
.@vscode/test-electron/
.vscode-test/
dist
node_modules
out
ahk2

# Files
.vscode/settings.json
Expand All @@ -14,3 +41,4 @@ language/*.tmLanguage.json
*.log
*.txt
*.vsix

5 changes: 5 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// https://github.com/microsoft/vscode-test-cli
import { defineConfig } from '@vscode/test-cli';
export default defineConfig({
files: ['out/src/**/*.test.js'],
});
6 changes: 0 additions & 6 deletions .vscode/dev.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,4 @@
],
"description": "Generate tests for Mocha.",
},
"Issue link (ahkpp)": {
"scope": "markdown",
"prefix": "[#",
"body": ["[#$1](https://github.com/mark-wiemer-org/ahkpp/issues/$1)"],
"description": "Link an ahkpp issue",
},
}
13 changes: 13 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"recommendations": [
"aaron-bond.better-comments",
"dbaeumer.vscode-eslint",
"github.copilot",
"github.copilot-chat",
"github.vscode-pull-request-github",
"eamodio.gitlens",
"esbenp.prettier-vscode",
"simonsiefke.svg-preview",
"meganrogge.template-string-converter"
]
}
6 changes: 5 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"outFiles": ["${workspaceRoot}/out/**/*.js"],
"preLaunchTask": "npm: build:dev"
// "preLaunchTask": "npm: build:dev",
"env": {
"VSCODE_AHK_SERVER_PATH": "", // default path works for debug as well
"SYNTAXES_PATH": "" // default path works for debug as well
}
},
{
"name": "Test Extension",
Expand Down
6 changes: 6 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 5.1.1 - 2024-08-27 🧪

> 🧪 means this is a [pre-release](https://code.visualstudio.com/updates/v1_63#_pre-release-extensions)!
- Fix global function recognition ([#472](https://github.com/mark-wiemer-org/ahkpp/issues/472))

## 5.1.0 - 2024-08-22 🧪

> 🧪 means this is a [pre-release](https://code.visualstudio.com/updates/v1_63#_pre-release-extensions)!
Expand Down
2 changes: 1 addition & 1 deletion ahk2
Submodule ahk2 updated from f7548c to 41b130
4 changes: 1 addition & 3 deletions docs/FullV2Integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,13 @@ New, added:
These issues will be resolved before a full release

- Several [commands](#commands) are duplicated. The plan is to retain the current visual style.
- Globals like `MsgBox` and `ExitApp` are not recognized in any file, e.g. [compile.ahk2](../demos/manualTests/compile.ahk2)
- `common.ts#loadahk2` needs work
- Needs more tests!! Many features have not been tested at all, hence the pre-release!
- [Release pipeline](../.github/workflows/deploy.yml) has been changed to push pre-releases. Definitely fix this for the final release 😉
- Settings description name placeholders are not replaced

### Low priority

These issues will be backlogged and resolved after a full release

- App is bloated, including source map files that can be removed. See [ahk2/webpack.config.js](../ahk2/webpack.config.js)
- No newline at end of file when formatting (inconsistent with v1 and industry standards)
- Format check is [failing in the pipeline](https://github.com/mark-wiemer-org/ahkpp/actions/runs/10503320004/job/29096451649?pr=467)
Loading

0 comments on commit e6abd3d

Please sign in to comment.