Skip to content

Latest commit

 

History

History
 
 

vscode

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hyperjump - JSON Schema VSCode Extension

A VSCode extension for using the JSON Schema Language Server.

Disabling JSON Language Features

VSCode's built-in "JSON Language Features" extension includes JSON Schema functionality. That means you could end up getting the same messages twice (once from the built-in extension and once from this extension) or you might get incorrect or confusing messaging. For example, JSON Language Features will warn you against using 2020-12 because it doesn't support dynamic references, but this extension fully supports 2020-12 and you are encouraged to use it.

If you wish, you can disable the built-in extension. In the "Extensions" tool, search for @builtin json language features to find the extension. Click the "Disable" button to disable it.

If you do choose to disable the built-in extension, keep in mind that this extension is not yet a complete replacement and you may end up losing some functionality you're used to.

Contributing

Contributions are welcome and encouraged! If you have a feature/bug/improvement you want to work on, it's usually best to open an issue to discuss the issue before starting work.

Launch Extension

This is the launcher I use to launch the extension for development. Yours may vary slightly depending on your environment.

.vscode/launch.json

{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "args": [
        "--extensionDevelopmentPath=${workspaceFolder}/vscode"
      ],
      "name": "Launch Extension",
      "outFiles": [
        "${workspaceFolder}/vscode/out/**/*.js"
      ],
      "preLaunchTask": "npm: build - vscode",
      "request": "launch",
      "type": "extensionHost"
    }
  ]
}

.vscode/tasks.json

{
  "version": "2.0.0",
  "tasks": [
    {
      "type": "npm",
      "script": "build",
      "path": "vscode",
      "group": "build",
      "problemMatcher": [],
      "label": "npm: build - vscode",
      "detail": "npm run build-client -- --sourcemap && npm run build-server -- --sourcemap"
    }
  ]
}