Skip to content

Command Open Related File

Erik Lieben edited this page Feb 21, 2017 · 2 revisions

Open related file command

This command is a simple way to switch between your HTML and typescript or javascript source file. It can be activated by performing ctrl+shift+p to open the command pallet and searching for it.

aurelia open related file command

By default, the command is not attached to a key binding, but you can set one yourself by configuring it:

Go to File / Preferences / Keyboard Shortcuts

keyboard shortcuts

And add the following section in the right side (keybindings.json) of the JSON document that opens.

[
    {   
        "key": "alt+r",
        "command": "extension.auOpenRelated",
        "when": "editorFocus" 
    }
]

You can modify the key property to configure it to another key mapping

Clone this wiki locally