You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALSO to document, the yaml plugin does not always see changes to schema files. If this fails you can untick and retick the last option in the extension settings (enable schema validation)
Notes on some things to add in future.
In the section on working with support modules we need to enable the ability to generate the schema for a generic IOC locally.
To do this we would just need to (for example pmac support):
/epics/ioc-pmac/ibek-support/pmac/pmac.ibek.support.yaml
../../ibek/builder2ibek.support.py /dls_sw/prod/R3.14.12.7/support/pmac/2-5-23beta1/ pmac/pmac.ibek.support.yaml -o '14:A+B 474:A+B 801:1 805:1.0 804:1.0'
ibek support generate-links pmac
ibek ioc generate-schema --output /tmp/pmac.ibek.ioc.schema.json
ioc.yaml
instance you are working with to# yaml-language-server: $schema=/tmp/pmac.ibek.ioc.schema.json
Having done the above once you can now:
pmac.ibek.support.yaml
ibek ioc generate-schema --output /tmp/pmac.ibek.ioc.schema.json
ioc.yaml
which will now see the new schemaThe text was updated successfully, but these errors were encountered: