VS Code extension that provides clickable file links in YAML files.
- Supports file links with line numbers in YAML files
- Handles relative and absolute paths
- Works with spaces in filenames
- Supports both Windows and Unix-style paths
- Clone the repository
git clone https://github.com/mkjung/yaml-file-link.git
cd yaml-file-link- Install dependencies
npm install- Build the extension
npm run compile- Package the extension
npm run packagenpm run compile- Compile the extensionnpm run watch- Watch for changesnpm run package- Create VSIX packagenpm run lint- Lint the code
In your YAML files, you can create clickable links using the format:
filepath: path/to/file.txt:10The extension supports:
- Simple paths:
file.txt:1 - Paths with spaces:
my folder/file.txt:5 - Quoted paths:
"path with spaces/file.txt":10 - Relative paths:
../other/file.txt:15 - Absolute paths:
/home/user/file.txt:20
- VS Code 1.80.0 or higher
This extension has no configurable settings.
MIT License - see the LICENSE file for details.