YAML Key Viewer for Visual Studio Code
Usage
You can use this extension to get the full path of the key where your cursor is on.
Use Cmd-Shift-P (Mac) or Ctrl-Shift-P (Windows/Linux).
There are two commands:
YAML: Get full key : See the full key
YAML: Copy full key to clipboard : Copy the full key to clipboard
Example:
Use YAML: Get full key like below
Then, it will show the full path the key where your cursor is on.
Installation
- Install Visual Studio Code
- Launch Code
- From the command palette
Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
- Select
Install Extension
- Choose the extension
YAML key viewer
- Reload Visual Studio Code
Additional installation steps Linux
Xclip is required.
Install xclip on Debian/Ubuntu: sudo apt-get install xclip
Install xclip on CentOS/RHEL/Fedora: sudo yum install xclip (You must have epel/3rd part repositories enabled)
License
MIT
| |