Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>strinfoNew to Visual Studio Code? Get it now.
strinfo

strinfo

sollniss

|
8 installs
| (0) | Free
Annotating custom strings in your code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

strinfo

Allows annotating custom strings via tooltip, CodeLens and the status bar.

Extension Settings

"strinfo.mappings": {
    "somestring1": "Some String (Local)",
    "somestring2": {
        "plain": "Some String (DEV)",
        "markdown": "<h4>Some String</h4><span style='color:var(--vscode-charts-green);'>DEV</span>",
    },
    "somestring3": {
        "plain": "",
        "markdown": "<h4>Some Other String</h4><span style='color:var(--vscode-charts-red);'>PROD</span>",
    },
}

Demo

You can either set one string for all display methods or specify a plain string and a different markdown one. The markdown is only used for tooltips. If plain is empty and markdown is set, CodeLens and status bar display are disabled.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft