Skip to content
Provides auto-completion, validation, and previewing for OpenRPC documents in Visual Studio Code.
TypeScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.vscode
extension
images
public
src
.editorconfig fix: formatting + private class car on reactwebview May 17, 2019
.gitignore
.vscodeignore feat: initial commit Feb 16, 2019
CHANGELOG.md
README.md
package-lock.json
package.json
tsconfig.extension.json
tsconfig.json
tslint.json
vsc-extension-quickstart.md

README.md

OPEN-RPC Visual Studio Code Extension

Provides auto-completion and validation for OPEN-RPC openrpc.json documents.

Dependabot Status

Installation

You can find this extension on the vscode marketplace here.

Usage

Open a file that matches the pattern: *openrpc.json

Use vscode keybindings as normal to get auto completion, formatting and validation features:

  • CTRL + SPACE - auto complete OpenRPC Document - ENTER or TAB to complete
    • CTRL + N/CTRL + P - down/up a completion menu line
  • ALT + SHIFT + F - Format Document
  • To See Errors:
    • mouse hover underlined green ~
      • CMD + K + I - keychord for hover
    • CMD + SHIFT + M to see errors in the Problems Pane

gif

openrpc-vscode

screenshot

image

Document Preview

CMD + SHIFT + P brings up the command palette, then search for OpenRPC preview and select Document Preview: Start OpenRPC preview window.

image

image

Extension Settings

This extension contributes the following settings:

  • jsonValidation for OPEN-RPC documents via its meta-schema

1.0.0

Initial release of OPEN-RPC vscode extension

You can’t perform that action at this time.