[jbosstools-issues] [JBoss JIRA] (JBIDE-17650) Find better way to enable Tern cordova facet for cordova projects

Denis Golovin (JIRA) issues at jboss.org
Mon Jun 23 17:38:24 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978744#comment-12978744 ] 

Denis Golovin commented on JBIDE-17650:
---------------------------------------

Now tern.java support is enabled for every JavaScript project as soon as o.j.t.jst.jsdt installed. But no plugins are activated. 
For cordova projects o.j.t.jst.jstd is optional dependency. When it is present, hybrid mobile projects get tern support because they have JavaScript nature. Cordova.js enabled through utility method called from HMT side, so this cordova.js tern facet is activated only for HMT projects.


So my suggestion is:
1. Change adapter extension point to have also ability to configure enabled tern facets
2. Register adapter for org.jboss.tools.aerogear.hybrid.core.HybridAppNature with cordova.js adapter enabled in extension point, so there would be no need to call any utility from HMT, just declaration of extension point would be enough. 


> Find better way to enable Tern cordova facet for cordova projects
> -----------------------------------------------------------------
>
>                 Key: JBIDE-17650
>                 URL: https://issues.jboss.org/browse/JBIDE-17650
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: aerogear-hybrid
>    Affects Versions: 4.2.0.Beta2
>            Reporter: Denis Golovin
>             Fix For: 4.2.0.Beta3
>
>




--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list