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.
- 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.
- press F12 to open.
- 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