Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open FileNew to Visual Studio Code? Get it now.

Open File

Alexander

|
319 installs
| (0) | Free
Open local file from a keybinding
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

keybindings.json: How to open keybindings.json

// absolute path
{
	"key": "ctrl+shift+8",
	"command": "openFile",
	"args": "C:/warning.svg"
}
// relative path
{
	"key": "ctrl+shift+8",
	"command": "openFile",
	"args": "./package.json"
}
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2021 Microsoft