pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/BlueGlassBlock/better-json5

ossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-8522af645b000615.css" /> GitHub - BlueGlassBlock/better-json5: JSON5 highlighter + intellisense + formatter + validator for VS Code, done right · GitHub
Skip to content

BlueGlassBlock/better-json5

Repository files navigation

better-json5

JSON5 support for Visual Studio Code, done right ⚡

Syntax highlighting, validation, formatting, and JSON schema based intellisense / completion for JSON5 files in Visual Studio Code.

Features

Syntax highlighting with correctly colored keys, with your favorite theme support out-of-the-box

Syntax Highlighting

JSON Schema based validation and intellisense

Overview

Completely configurable formatting

Formatting

Sorting Command

Sorting

Proper folding for objects, arrays and multiline strings

Folding

Extension Settings

  • json5.schemas: Associate schemas to JSON5 files in the current project.
  • json5.validate.enable: Enable/disable validation.
  • json5.format.enable: Enable/disable formatting.
  • json5.format.keepLines: Keep all existing new lines when formatting.
  • json5.format.trailingCommas: Control the occurrence of trailing commas in objects and arrays.
  • json5.format.keyQuotes: Control the usage of quotes for object keys.
  • json5.format.stringQuotes: Control the usage of quotes for string values in objects and arrays.
  • json5.format.tabSize: Override the tab size for formatting. If set to false, it will use the default tab size of the editor. If set to true, it will use Tab (\t) for indentation. If set to a number, it will use that number of spaces for indentation.
  • json5.format.startIgnoreDirective: The start of ignore directive for formatting. Default to json5-fmt: off. Only works for // line comments.
  • json5.format.endIgnoreDirective: The end of ignore directive for formatting. Default to json5-fmt: on. Only works for // line comments.
  • json5.tracing: Traces the communication between VS Code and the JSON5 language server.

Credits

This extension is heavily based on the JSON Language Features extension by Microsoft.

Changelog

See CHANGELOG.md

License

MIT

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy