5. Using in editors

5.1. Usage in IntelliJ IDEA and other JetBrains IDEs

Add schema reference to your YAML configuration file:

$schema: "https://alexmond.github.io/spring-boot-config-json-schema/sample/boot-generic-config.json"

spring:
  datasource:
    url:

Examples:

Intellij1
Intellij2

5.2. Usage in Visual Studio Code

Add schema reference using YAML language server directive (requires YAML Language Support by Red Hat extension):

# yaml-language-server: $schema=https://alexmond.github.io/spring-boot-config-json-schema/sample/boot-generic-config.json

spring:
  datasource:
    name:

Examples:

vcs1
vcs2