Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

launch AHK help #55

Closed
ElectroLund opened this issue Nov 16, 2020 · 3 comments
Closed

launch AHK help #55

ElectroLund opened this issue Nov 16, 2020 · 3 comments

Comments

@ElectroLund
Copy link

Would be great to open the help file AutoHotkey.chm from within VSCode.

@cweijan
Copy link
Owner

cweijan commented Nov 17, 2020

version 2.6.0 has been support, when active editor language is autohotkey, press F1 to open document.

@fade2gray
Copy link
Contributor

This overrides VSCode's default keybinding Show All Commands for opening the Command Palette that I'd gotten so used to.

Can't it be changed to Shift + F1, I don't see that being use as a default keybinding, or just leave it to be accessed from the command palette with AHK: Open AutoHotkey Document?

@cweijan
Copy link
Owner

cweijan commented Nov 19, 2020

@fade2gray

  1. press ctrl+shift+p
  2. type 'open keyboard shortcuts'
  3. Add below code to keybindings.json
{
        "key": "shift+f1",
        "command": "document.open",
        "when": "editorLangId == 'ahk'"
}

@cweijan cweijan closed this as completed Nov 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants