Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] How do I enable content assist for JQuery on OrionHub?

Hi Bob,

currently there is no good way to contribute a 3rd party index / support to the JS tools.

You could try adding your index like:

provider.registerService("orion.core.typedef", {}, {

id: "node.redis",    //your index id
type: "tern",        //the type, must be 'tern'
defs: RedisIndex    //the index object
});

which should be picked up by our indexer, which in turn would allow our content assist support to use the index while inferring. But this option would require you to also provide a separate plug-in
to Orion.

We are also  investigating better support in bug 427033, the idea being able to point the tooling at an installable library which would allow 3rd parties to provide indexes, content assist proposal, etc to the JS tools (and be able to remove them) easily.

Michael Rennie


I would like to use OrionHub to develop a Web app using JQuery. I hear that I may be able to add an index to enable content assist for JQuery.

Please let us know if/how this can be done.

Thanks,
Bob


Back to the top