Skip to content

About

VS Code extension that provides clickable file links in YAML files

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

YAML File Link

VS Code extension that provides clickable file links in YAML files.

Features

  • 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

Installation

  1. Clone the repository
git clone https://github.com/mkjung/yaml-file-link.git
cd yaml-file-link
  1. Install dependencies
npm install
  1. Build the extension
npm run compile
  1. Package the extension
npm run package

Development

  • npm run compile - Compile the extension
  • npm run watch - Watch for changes
  • npm run package - Create VSIX package
  • npm run lint - Lint the code

Usage

In your YAML files, you can create clickable links using the format:

filepath: path/to/file.txt:10

The 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

Requirements

  • VS Code 1.80.0 or higher

Extension Settings

This extension has no configurable settings.

License

MIT License - see the LICENSE file for details.

About

VS Code extension that provides clickable file links in YAML files

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages