editdor icon indicating copy to clipboard operation
editdor copied to clipboard

Integrate well-known ontologies for auto-complete

Open vcharpenay opened this issue 4 years ago • 4 comments

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.

vcharpenay avatar Jan 20 '21 11:01 vcharpenay

see also #8.

vcharpenay avatar Jan 20 '21 11:01 vcharpenay

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.

fexpal avatar Feb 02 '21 08:02 fexpal

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.

fexpal avatar Feb 16 '21 06:02 fexpal

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?

fennibay avatar May 06 '21 09:05 fennibay