A VS Code extension that enhances code readability by displaying string constant values directly above their references.
Features
Shows string constant values above their usage in the code
Supports both single and double-quoted strings
Works with TypeScript and JavaScript files
Beautiful pink-themed visualization that matches VS Code's theme
Automatically updates as you type
Installation
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Search for "Constant Visualizer"
Click Install
Usage
The extension automatically activates for TypeScript and JavaScript files. When you use a string constant in your code, its value will be displayed above the reference in a subtle pink theme.
To enable/disable the visualization:
Open the command palette (Ctrl+Shift+P)
Type "Enable Constant Visualization"
Press Enter
Example
const WELCOME_MESSAGE = "Welcome to the app!";
console.log(WELCOME_MESSAGE); // The value "Welcome to the app!" will appear above WELCOME_MESSAGE
Requirements
VS Code version 1.74.0 or higher
Extension Settings
This extension contributes the following settings: