On Windows:    Shift + Alt + F  
On Mac:        Shift + Option + F  
On Linux:      Ctrl + Shift + I  

Original answer How do you format code in Visual Studio Code (VSCode)?

I'm adding it here because when I was looking for it I found your post before the other one. Hope it helps.

Answer from manuelbcd on Stack Overflow
๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
JSON Visualizer - Visual Studio Marketplace
Extension for Visual Studio Code - Visualize JSON data as interactive diagrams
๐ŸŒ
Visual Studio Code
code.visualstudio.com โ€บ docs โ€บ languages โ€บ json
Editing JSON with Visual Studio Code
November 3, 2021 - The association of a JSON file to a schema can be done either in the JSON file itself using the $schema attribute, or in the User or Workspace settings (File > Preferences > Settings) under the property json.schemas Open in VS Code Open in VS Code Insiders . VS Code extensions can also define schemas and schema mapping.
๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
jsonhero.io tools for VS Code - Visual Studio Marketplace
Extension for Visual Studio Code - Quickly view JSON in jsonhero.io - A beautiful JSON viewer for the web
๐ŸŒ
Reddit
reddit.com โ€บ r/vscode โ€บ what is your favorite json editor extension?
r/vscode on Reddit: What is your favorite JSON editor extension?
December 30, 2020 -

There are a couple I've tried, but they either aren't what I need or aren't updated anymore... JSON Editors I've tried:

  • JSON Editor (and a lot of forks of this repo)

  • JSON Tree Editor

  • JSON

What's your favorite JSON editor?

Find elsewhere
๐ŸŒ
GitHub
github.com โ€บ BugBlitz98 โ€บ jsonviewer-vscode
GitHub - BugBlitz98/jsonviewer-vscode: JSON Graph Visualizer VS Code Extension ยท GitHub
Visualize your JSON data in beautiful, interactive graphs directly inside VS Code! This extension is designed for developers who work with complex JSON structures and want an intuitive way to explore them visually.
Author ย  BugBlitz98
๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
JSON Grid Viewer - Visual Studio Marketplace
Extension for Visual Studio Code - Get a better overview of the content in a JSON file by viewing it in an resizable grid.
๐ŸŒ
GitHub
github.com โ€บ marss19 โ€บ json-viewer-visual-studio-extension
GitHub - marss19/json-viewer-visual-studio-extension: A tool to format JSON to a friendly view, compare and print formatted results, evaluate JSONPath expressions
This is a simple Visual Studio extension to view and manipulate JSON. After installation it is available in the main menu: Tools -> JSON Viewer.
Starred by 18 users
Forked by 11 users
Languages ย  C#
๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
JSON Smart Viewer - Visual Studio Marketplace
Extension for Visual Studio Code - An interactive, collapsible tree viewer for JSON files.
๐ŸŒ
Jondjones
jondjones.com โ€บ architecture โ€บ frameworks โ€บ visual-studio-code โ€บ tips-for-working-with-json-in-visual-studio-code
Tips for working with JSON in Visual Studio Code - Jon D Jones.
As seen below, this extension gives you a new view within VS-Code to work with JSON files: ![Tips for working with JSON in Visual Studio Code][1] By selecting the 'Open in JSON viewer' option from the command palette, you can view a JSON document ...
๐ŸŒ
Reddit
reddit.com โ€บ r/vscode โ€บ what editor/viewer do you use in order to view massive json file?
r/vscode on Reddit: what editor/viewer do you use in order to view massive JSON file?
April 24, 2025 -

want to view a huge .json file (to be precise, .jsonl) in read-only mode(if possible). A write stream to that file hasn't been closed yet, and a process running on my pc is constantly writing to it. I tried sublime text to open the file, but it seems to force a refresh every time whenever a chunk is written to the .jsonl. In contrast, vsc doesn't refresh as long as I keep focus.

I'm not trying to edit it literally, so it would be nice if it was optimized for read-only.

๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
JSON Lines Viewer - Visual Studio Marketplace
Extension for Visual Studio Code - View each line of JSON Lines file in json format
๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
Json Editor - Visual Studio Marketplace
Extension for Visual Studio Code - Generate a tree view editor of the active JSON document