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
- Host: GitHub
- URL: https://github.com/rexebin/f12-open-file
- Owner: rexebin
- Created: 2018-04-15T18:50:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T17:57:42.000Z (over 3 years ago)
- Last Synced: 2025-04-08T03:51:08.341Z (about 1 year ago)
- Topics: definition, f12, vscode
- Language: TypeScript
- Size: 478 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# F12 Open File

**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)