Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ColSONNew to Visual Studio Code? Get it now.
ColSON

ColSON

Artem Shush

|
3 installs
| (0) | Free
ColSON language support.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ColSON

This extension provides syntax highlighting for ColSON, a minimalist language that can be converted into JSON.

Syntax

ColSON JSON
:: [
::: {
True true
False false
None null
123.5e-2 123.5e-2
key :: value "key": "value"
key ::: "key": {}
key :: "key": []
:: comment skipped
\\ ""
\False\ "False"
~snippet "~snippet"
  • Consistent indentation is important.
  • Empty lines are optional.
  • Snippets start with ~ and may contain only letters, numbers, - and _.
  • Snippets are treated as strings but allow you to see suggestions.

Example

ColSON file

ColSON example file

JSON file

{
  "meta": {
    "language": "en",
    "title": ""
  },
  "body": [
    {
      "type": "h1",
      "content": "Double space:  "
    },
    {
      "type": "ul",
      "content": ["first", "~my_snippet", 123.05, true, "False"]
    }
  ],
  "footer": {
    "path": "/",
    "script": "script.js"
  }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft