use of org.springframework.ide.vscode.commons.yaml.schema.SNodeDynamicSchemaContext in project sts4 by spring-projects.
the class YTypeAssistContext method getSchemaContext.
protected DynamicSchemaContext getSchemaContext() {
try {
SNode contextNode = getContextNode();
YamlPath fullContextPath = contextPath.prepend(YamlPathSegment.valueAt(documentSelector));
return new SNodeDynamicSchemaContext(contextNode, fullContextPath);
} catch (Exception e) {
Log.log(e);
return DynamicSchemaContext.NULL;
}
}
Aggregations