Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » [JSON Editor]Completion for JSon schema working only on first-level?
[JSON Editor]Completion for JSon schema working only on first-level? [message #1779035] Fri, 29 December 2017 13:56
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 636
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hello,

I have a custom json-schema and associated it with my file.

Schema is here https://github.com/syndesisio/syndesis/blob/master/app/rest/model/src/main/resources/syndesis/syndesis-extension-definition-schema.json

Sample file:
{
"version":"",
"name":"",
"extensionId":"",
"icon":"",
"description":"",
  "actions": [
    {
      "actionType": "extension",
      "id": "log-body",
      "name": "simple-log-body",
      "description": "A simple xml based logging extension",
      "tags": [
        "xml"
      ],
      "descriptor": {
        "kind": "ENDPOINT",
        "entrypoint": "direct:log-body",
        "inputDataShape": {
          "kind": "any"
        },
        "outputDataShape": {
          "kind": "any"
        },
        "propertyDefinitionSteps": []
      }
    }
  ],
  "tags": [
    "feature",
    "experimental"
  ]
}


The completion is working for the attributes of first level (version, name, extensionId, icon, description, actions, tags) but I have no completion for attributes inside actions for instance.

Is it supported?
Is it because the schema is not written correctly?
Is it because the json schema metamodel is not a supported one (http://json-schema.org/draft-04/schema#) ?
What is the good place to put breakpoints to investigate on that if it should work and there is a bug somewhere?

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:Embedding the Javascript Editor in a custom Part
Next Topic:HTTP Preview server not exists (Eclipse Neon and WTP 3.9.1 installed)
Goto Forum:
  


Current Time: Sun Sep 23 17:46:07 GMT 2018

Powered by FUDForum. Page generated in 0.02015 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top