-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix go to definition for AHK v1, other misc work (#562)
- Loading branch information
1 parent
3028a64
commit e80f175
Showing
9 changed files
with
75 additions
and
21 deletions.
There are no files selected for viewing
Submodule ahk2
updated
from 53d6b4 to cec559
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#NoEnv | ||
#SingleInstance, Force | ||
SendMode, Input | ||
SetBatchLines, -1 | ||
SetWorkingDir, %A_ScriptDir% | ||
|
||
MyDefProviderFunc() { | ||
MsgBox % "Hi from MyDefProviderFunc" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#NoEnv | ||
#SingleInstance, Force | ||
SendMode, Input | ||
SetBatchLines, -1 | ||
SetWorkingDir, %A_ScriptDir% | ||
|
||
#Include ./included.ahk1 | ||
|
||
;* Should be able to ctrl+click to jump to `included.ahk1` | ||
MyDefProviderFunc() |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import assert from 'assert'; | ||
import { tryGetFileLink } from './defProvider'; | ||
|
||
suite(tryGetFileLink.name, () => { | ||
const tests: [ | ||
name: string, | ||
args: Parameters<typeof tryGetFileLink>, | ||
expected: ReturnType<typeof tryGetFileLink>, | ||
][] = [['non-match', ['/c:/path/to/file.ahk', 'foo'], undefined]]; | ||
tests.forEach(([name, args, expected]) => | ||
test(name, async () => { | ||
assert.strictEqual(await tryGetFileLink(...args), expected); | ||
}), | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters