Accessible in the vscode marketplace as Andreas Talon
In constant development. Things will break!
Commands
andreas.selectTo(line: number)
Select from current location to specified line.
andreas.lineMiddle()
Move curser to middle of the current line.
andreas.executeCommands(commands: string[])
Sequentially execute multiple commands. Useful for keybindings.
andreas.printCommands()
Print available commands.
andreas.getSelectedText(): string[]
Get selected text.
andreas.getDictationContext(): string
Get text before and after selection. Used for context sensitive dictation.
andreas.increment()
Increment selected number.
andreas.decrement()
Decrement selected number.
andreas.generateRange(start: number = 1)
Generate numerical range starting from given number.
andreas.openEditorAtIndex(index: number)
Open editor/tab at given index. Negative indices are counted from the back.
andreas.getFileName(): string
Get file name of active editor.
andreas.getClassName(): string
Get class name. Useful for inserting constructor in C++/Java.
andreas.getGitFileURL({ useSelection: boolean, useBranch: boolean }): string
Get URL to Git repository file webpage. Optionally include selected line numbers.
andreas.getGitRepoURL(): string
Get URL to Git repository webpage.
andreas.getGitIssuesURL(): string
Get URL to Git repository issues webpage.
andreas.getGitNewIssueURL(): string
Get URL to Git repository new issue webpage.
andreas.getGitPullRequestsURL(): string
Get URL to Git repository pull requests webpage.
Talon language features
Adds document formatter for Talon files.
Adds definitions for Talon actions, lists and captures.