editdor
editdor copied to clipboard
Integrate well-known ontologies for auto-complete
I've started some tests to have auto-completion on @type
. See vcharpenay/editdor-onto-integration
.
Could you try to add the file schema.json
to the editor and tell me if it has the expected behavior? Note that this is a preliminary test, where only a fixed list of labels are suggested for @type
, regardless of a context and/or other annotations.
see also #8.
I´ve added it to the mapping file where you are able to add JSON-Schemafiles on your own. It is done here on that branch: https://github.com/eclipse/editdor/tree/feat/JSON-Schema-Enhancement You should try it out locally.
We made some changes to the initial JSONSchema which can be found here: https://github.com/eclipse/editdor/blob/feat/JSON-Schema-Enhancement/src/assets/saref.json
Still we got some problem when loading the JSONSchema, but I'm hoping this could be fixed easily.
Will this include also a functionality like "go to definition"? For instance if I use a specific term from a certain context, could I jump to the linked ontology from my TD?
Or should I log a separate issue for this?