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

Readable

Shuhei Takahashi

|
2 installs
| (0) | Free
Decode and pretty-print escaped or encoded log strings: literal \n and \uXXXX escapes, base64, URL-encoding, and JSON/Python dict/Ruby hash formatting.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Readable

読みにくいログ文字列(エスケープされた \n、\uXXXX のようなUnicodeエスケープ、Base64、URLエンコード、JSON/Pythonのdict/Rubyのhash表現など)を、選択して右クリックするだけで読みやすくするVSCode拡張です。

使い方

エディタ上で対象の文字列を選択し、右クリックメニューから以下のいずれかを実行します。

  • Readable: Format
  • Readable: Decode / Convert

Features (仕様)

Readable: Format

選択したテキストを、以下のフォーマットとして解釈できた場合に整形し、選択範囲そのものを書き換えます。

  • JSON
  • Pythonのdict / listリテラル('によるクォート、None / True / False を含む)
  • Rubyのhashリテラル({key: v} / {"k" => v}、シンボル、nil を含む)

パースは上記の順に試行し、最初に成功した形式で2スペースインデントに整形します。すべて失敗した場合はエラー通知を表示するのみで、選択範囲は変更しません。

Readable: Decode / Convert

選択したテキストに対して以下の変換を常にすべて試み、結果を新しい読み取り専用タブにセクションごとに並べて表示します(このタブは編集不可で、閉じる際の保存確認は出ません)。

  1. バックスラッシュエスケープの解除(\n \t \r \" \\ \uXXXX \xXX など)
  2. Base64デコード
  3. URLデコード(パーセントエンコーディング)

デコードに失敗した項目についても、失敗した旨を明記した上でセクション自体は表示します(バイナリ等でどうしても表示できない場合を除く)。

Requirements

なし。

Extension Settings

現時点では設定項目はありません。

Known Issues

  • Pythonリテラル / Rubyハッシュのパーサは簡易実装のため、複雑なネストやエッジケースを網羅しない可能性があります。

Release Notes

0.0.1

プロジェクトの雛形のみ(機能未実装)。


Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft