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: 637
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:HTTP Preview server not exists (Eclipse Neon and WTP 3.9.1 installed)
Next Topic:Why I cannot run Eclipse?
Goto Forum:
  


Current Time: Mon May 06 00:26:23 GMT 2024

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

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

Back to the top