VS Code extension for authoring LoopBack3 applications
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
.gitignore
CONTRIBUTING.md
README.md
ctrl-space-type.gif
ctrl-space.gif
green-squiggles.gif
hints.gif
links.gif
loopback.png
package.json

README.md

This extension links some JSONSchemas to Loopback configuration files.

ℹ️ Schemas used by this plugin can be found here. Please do not file schema bugs on this repo!! This repo is just for the plugin. 😸 File schema bugs here.

Currently implemented schemas

  1. model-config.json
  2. model-config.json
  3. datasources.json
  4. config.json
  5. middleware.json
  6. Model definitions (/common/models/customer.json etc.)

Check the package.json.contibutes.jsonValidation for the actual configurations.

Gifs!

Code hints

The plugin prompts you as you type

demo of code hinting

Green Squiggles

If you have a mismatched type or missing property, you'll get a green squiggle underline

demo of green squiggles on problems

Ctrl+Space

Hit ctrl+space to be shown available properties

ctrl+space demo

It also works for enum types

ctrl+space demo for enumerated type

Links

You can click links to read extended documentation

clicking links from tooltip