Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>String BeautifyNew to Visual Studio Code? Get it now.
String Beautify

String Beautify

liaoruo2025

|
1 install
| (1) | Free
Beautify Your String
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Beautify

Beautify Your String - A VS Code extension for detecting, previewing, and beautifying embedded JSON, Markdown, and escaped strings in your code.

Features

  • Detect Embedded Content: Automatically detect embedded JSON, Markdown, and escaped strings in your code files.
  • One-Click Beautify: Beautify detected content or selected text with a single command.
  • Preview Panel: Instantly preview detected content (JSON, Markdown, etc.) in a side panel with syntax highlighting.
  • Copy & Expand: Copy detected content or expand it for easier editing and review.
  • Status Bar Integration: Quick access to extension features from the VS Code status bar.
  • Context Menu Support: Right-click to beautify or preview content directly from the editor.
  • Hover Preview: Hover over detected content to see a formatted preview (optional).

Getting Started

  1. Install the extension from the VS Code Marketplace.
  2. Open any code file containing embedded JSON, Markdown, or escaped strings.
  3. Use the commands or context menu to beautify or preview content.

Commands

  • Beautify: Beautify — Beautify detected content in the current file.
  • Beautify: Beautify Document — Beautify all supported content in the document.
  • Beautify: Beautify Selection — Beautify only the selected text.
  • Beautify: Detect Document — Detect all embedded content in the document.
  • Beautify: Copy Detected Content — Copy detected content to clipboard.
  • Beautify: Expand Detected Content — Expand content for easier editing.
  • Beautify: Preview Detected Content — Preview content in a side panel.
  • Beautify: Open Settings — Quickly open extension settings.

Extension Settings

This extension contributes the following settings:

  • beautify.enableJson — Enable detection and preview of embedded JSON strings. (default: true)
  • beautify.enableMarkdown — Enable detection and preview of embedded Markdown strings. (default: true)
  • beautify.enableEscapedString — Enable detection and preview of escaped strings. (default: true)
  • beautify.enableHover — Enable hover preview for detected content. (default: true)
  • beautify.showInContextMenu — Show commands in the editor context menu. (default: true)

Requirements

  • VS Code 1.116.0 or higher
  • No additional dependencies required

Known Issues

  • Large files or very complex embedded content may impact performance.
  • Hover preview may not work with all file types.

Release Notes

0.0.1

  • Initial release with JSON, Markdown, and escaped string detection, beautification, and preview features.

Contributing

Contributions are welcome! Please submit issues or pull requests on GitHub.


Enjoy using Beautify!

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