A Visual Studio Code extension that provides enhanced visualization for scaffold tokens in your codebase.
Features
Token Visualization: Highlights tokens defined in scaffold.toml files throughout your codebase
Custom File Explorer: Dedicated view that shows files and directories containing scaffold tokens
Configurable Highlighting: Customize the highlight color to match your preferences
Real-time Updates: Automatically updates when tokens or files change
Visual Indicators
Files containing token names in their filename are highlighted with a special icon
Directories containing token names are highlighted with a special icon
Token occurrences in files are highlighted with your chosen color
scaffold.toml files are marked with a settings icon
Configuration
The extension supports the following settings:
scaffoldTokenHighlighter.highlightColor: Set the color used for highlighting tokens (default: "#E8C569")
Usage
Install the extension
Open a project containing a scaffold.toml file
The extension will automatically:
Parse tokens from your scaffold.toml file
Show the Scaffold Token Explorer in the activity bar
Highlight token occurrences in your files
Highlight files and directories containing token names
Requirements
Visual Studio Code version 1.60.0 or higher
Related
scaffold - A template generation tool that generates files and directories, emulating the filetree in your template path, replacing tokens with defined values. This extension helps you visualize and navigate the tokens used in your templates.