Skip to content

sumneko/vscode-file-alias

Repository files navigation

File Alias

avatar

Display alias (or anything else) to the right of the file name

Usage

file-alias.listFile

Specify a list file (must be a valid json file), the key of json is the relative path of the file, and the value is the displayed alias.

The preview image above uses the following settings:

"file-alias.listFile": "listfile.json"

listfile.json

{
    "24C8245F82CFCD04": "[Haru Urara]",
    "31EDAED9542FB1B1": "[Seiun Sky]",
    "769A76808677D175": "[Nishino Flower]",
    "4621C279794DBDFE": "[Mayano Top Gun]",
    "6867B34B31B2DD12": "[Rice Shower]"
}

file-alias.contentMatch

Match a piece of content from the file content as an alias

"file-alias.contentMatch": "// filename: (\\w+)"

file-alias.contentMatchFormat

Format the matched content

avatar

avatar

"file-alias.contentMatch": "Compile (\\w+)"

"file-alias.contentMatchFormat": "<{1}>"

Note

VSCode's public API cannot achieve this feature, so this extension did some hacks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published