AutoHotkey Plus Plus
名称: AutoHotkey Plus Plus
ID: mark-wiemer.vscode-autohotkey-plus-plus
说明: AutoHotkey IntelliSense, debug, and language support for VS Code, forked from AutoHotkey Plus by cweijan
版本: 2.8.1
发布者: Mark Wiemer
VS Marketplace 链接: https://marketplace.visualstudio.com/items?itemName=mark-wiemer.vscode-autohotkey-plus-plus
V1调试高亮插件
右上角调试按钮
AutoHotkey2 Language Support
ID: thqby.vscode-autohotkey2-lsp
说明: Autohotkey2 Language Support using vscode-lsp.
版本: 1.3.5
发布者: thqby
VS Marketplace 链接: https://marketplace.visualstudio.com/items?itemName=thqby.vscode-autohotkey2-lsp
V2全功能调试高亮插件
右键运行脚本
右键调试脚本
vscode-autohotkey-debug
ID: zero-plusplus.vscode-autohotkey-debug
说明: Advanced debugging support for AutoHotkey(includes H) v1 and v2
版本: 1.11.0
发布者: zero-plusplus
VS Marketplace 链接: https://marketplace.visualstudio.com/items?itemName=zero-plusplus.vscode-autohotkey-debug
配置
插入下面配置VSCODE全局setting.json
修改autohoktey.exe路径
"launch": {
"configurations": [
{
"name": "AutoHotkey Debug U64",
"runtimeArgs": [
"/CP65001",
"/ErrorStdOut",
],
"program": "${file}",
"request": "launch",
"runtime_v1": "C:/Program Files/AutoHotkey/AutoHotkey.exe",
"runtime_v2": "C:/Program Files/AutoHotkey_V2/AutoHotkey64.exe",
"type": "autohotkey",
"port": "9002-9010",
"console": "internalConsole",
"internalConsole": true,
"useOutputDebug": {
"useTrailingLinebreak": true
},
"useAutoJumpToError": true,
"usePerfTips": {
"fontColor": "red",
"format": "{{elapsedTime_ms}} ms {{hitCount}} hit"
},
"useDebugDirective": true
},
{
"name": "AutoHotkey Debug U32",
"runtimeArgs": [
"/CP65001",
"/ErrorStdOut"
],
"program": "${file}",
"request": "launch",
"runtime_v1": "D:/AutoHotkey/AutoHotkey32.exe",
"runtime_v2": "D:/AutoHotkey2/AutoHotkey32.exe",
"type": "autohotkey",
"port": "9002-9010",
"useOutputDebug": {
"useTrailingLinebreak": true
},
"useAutoJumpToError": true,
"usePerfTips": {
"fontColor": "red",
"format": "{{elapsedTime_ms}} ms {{hitCount}} hit"
},
"useDebugDirective": true
}
]
}
调试界面选择,开始调试
Code Runner
右上角运行
默认运行快捷键CTRL+ALT+N
ID: formulahendry.code-runner
说明: Run C, C++, Java, JS, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, CMD, BASH, F#, C#, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml, R, AppleScript, Elixir, VB.NET, Clojure, Haxe, Obj-C, Rust, Racket, Scheme, AutoHotkey, AutoIt, Kotlin, Dart, Pascal, Haskell, Nim,
版本: 0.11.7
发布者: Jun Han
VS Marketplace 链接: https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner
全局setting.json配置模板
"code-runner.executorMap": {
"ahk": "\"C:\\Program Files\\AutoHotkey\\AutoHotkey.exe\" /CP65001",
"ah2": "\"C:\\Program Files\\AutoHotkey_V2\\AutoHotkey.exe\" /CP65001"
},
"code-runner.executorMapByFileExtension": {
".ahk": "\"C:\\Program Files\\AutoHotkey\\AutoHotkey.exe\"",
".ah2": "\"C:\\Program Files\\AutoHotkey_V2\\AutoHotkey.exe\""
},
https://www.autoahk.com/archives/41950
Wednesday, January 24, 2024
AHK VSCODE 插件推荐
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment