Skip to content

October CMS autocomplete for YAML files

License

Notifications You must be signed in to change notification settings

inetis-ch/october-schemas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JSON Schemas of October CMS config files

Form fields fields.yaml

The form fields configuration is used for creating backend forms

fields.yaml schema URL:

https://raw.githubusercontent.com/inetis-ch/october-schemas/master/fields.json

October CMS documentation

Lists columns columns.yaml

The column configuration is used for creating backend record list

columns.yaml schema URL:

https://raw.githubusercontent.com/inetis-ch/october-schemas/master/columns.json

October CMS documentation


Setup your IDE for autocomplete

PhpStorm

Open Settings/Preferences dialog, go to Languages & Frameworks | Schemas and DTDs | JSON Schema Mappings.
Add new json schema and specify :

  • a name (what you want)
  • the URL (see above),
  • schema version 7

add mapping "file path pattern" and set the file name (e.g. fields.yaml)

Documentation

Visual Studio Code

{
    "yaml.schemas": {
        "https://raw.githubusercontent.com/inetis-ch/october-schemas/master/fields.json": [
            "fields.yaml"
        ],
        "https://raw.githubusercontent.com/inetis-ch/october-schemas/master/columns.json": [
            "columns.yaml"
        ]
    }
}

About

October CMS autocomplete for YAML files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published