An open API service indexing awesome lists of open source software.

https://github.com/rexebin/f12-open-file

VSCode extension: F12 Open File
https://github.com/rexebin/f12-open-file

definition f12 vscode

Last synced: 9 months ago
JSON representation

VSCode extension: F12 Open File

Awesome Lists containing this project

README

          

# F12 Open File

![F12 Open File](./f12.gif)

**F12: Open File** extension is a Definition Provider, which means it only react to 'Go to Definition'.

Use case: open Angular's `templateUrl` and `styleUrls` at a key stroke: F12 when cursor is within the url quotes, without any configuration.

## Usage

1. move cursor to file name string in any file. A file name must be a string with single or double quote with relative path and file extension.
2. press F12 to open.
3. CMD/CTRL + Click to open, or CMD/CTRL + ALT + Click to open side by side.

Note: Only works with **relative** paths with full file name and extensions

## Links

[Source code](https://github.com/rexebin/F12-Open-File)

[Install "F12: Open File" from VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=rexebin.f12-open-file)