-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.ahk2
64 lines (49 loc) · 1.82 KB
/
config.ahk2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
;* Tests for the settings/config provided by this extension
#Requires AutoHotkey v2.0
#SingleInstance
;** AHK++.exclude tested via automated tests :)
; set AHK++.v2.general > librarySuggestions to All
; set AHK++.exclude to "excluded.ahk"
; see whether MyExcludedFunc is suggested (Ctrl+Space)
MyExclu
;** AHK++.general
;* showOutput (tested via e2e tests)
; todo Completion Commit Characters (AHK++.v2.completionCommitCharacters) is untested for now
; todo ** V2: Diagnostics (AHK++.v2.diagnostics)
; todo Class Non Dynamic Member Check is untested for now
; todo Params Check is untested for now
;** V2: File (AHK++.v2.file)
;* interpreterPath
; Setting to an invalid path and restarting the extension host should:
; - not show an error message on startup
; - add msg to output channel: Ctrl+Shift+U -> AHK++ (v2) -> "Couldn't resolve AHK v2 interpreter"
; - show "Select AHK v2 Interpreter" in status bar
; - show error message when trying to run a script
; - log error message in AHK++ (v1) when trying to debug a script
; - persist settings when user confirms quick pick via error message
; - successfully run a script when user confirms quick pick
;** V2: Formatter tested in other files :)
;** V2: General (AHK++.v2.general)
;* commentTagRegex
; comments matching the regex show up in the command palette and breadcrumb
; Ctrl+Shift+O or F1 > "Go to Symbol in Editor"
;; hello world
;* completeFunctionCalls
; when typing a function name, the parens are automatically added
; cursor moved to the middle of the parens
;* librarySuggestions
; https://www.autohotkey.com/docs/v2/Scripts.htm#lib
; I added "MyMsgBox" to my standard library
; and "MyLocalMsgBox" to the local library
;** V2: Warn (AHK++.v2.warn)
;* callWithoutParentheses
MyFunc
MsgBox "hi"
MsgBox ("hi")
;* localSameAsGlobal
MyFunc() {
x := 2
}
;* varUnset
; x := 1
MsgBox(x)