[jbosstools-issues] [JBoss JIRA] (JBIDE-17978) Need to turn on 'angular'-Tern Module automatically in case of AngularJS is detected on a project

Alexey Kazakov (JIRA) issues at jboss.org
Tue Aug 19 01:59:29 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-17978:
-----------------------------------

    Description: 
At the moment, a user cannot use Content Assist for Angular.js by default, because the according Tern module isn't turned on by default.

So, users have to do the following set up in order to use it:

Add 'AngularJS module to Tern in order to make anguler-related stuff enabled on the project. In order to do that you should enable 'JBoss Experimental configuration' in Window -> Preferences -> General -> Capabilities first, then enable 'angilar' module in Project properties -> Tern -> Modules.

We shall detect the angular usage on a project and turn that module on automatically.

We should ask user to enable AngularJS support for the project when an html file with angularJS usage is opened with JBT HTML Editor (if not enabled yet):

!dialog.png!

  was:
At the moment, a user cannot use Content Assist for Angular.js by default, because the according Tern module isn't turned on by default.

So, users have to do the following set up in order to use it:

Add 'AngularJS module to Tern in order to make anguler-related stuff enabled on the project. In order to do that you should enable 'JBoss Experimental configuration' in Window -> Preferences -> General -> Capabilities first, then enable 'angilar' module in Project properties -> Tern -> Modules.

We shall detect the angular usage on a project and turn that module on automatically.



> Need to turn on 'angular'-Tern Module automatically in case of AngularJS is detected on a project
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-17978
>                 URL: https://issues.jboss.org/browse/JBIDE-17978
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.2.0.Beta3
>            Reporter: Victor Rubezhny
>            Assignee: Victor Rubezhny
>              Labels: new_and_noteworthy
>             Fix For: 4.2.0.CR1
>
>         Attachments: dialog.png
>
>
> At the moment, a user cannot use Content Assist for Angular.js by default, because the according Tern module isn't turned on by default.
> So, users have to do the following set up in order to use it:
> Add 'AngularJS module to Tern in order to make anguler-related stuff enabled on the project. In order to do that you should enable 'JBoss Experimental configuration' in Window -> Preferences -> General -> Capabilities first, then enable 'angilar' module in Project properties -> Tern -> Modules.
> We shall detect the angular usage on a project and turn that module on automatically.
> We should ask user to enable AngularJS support for the project when an html file with angularJS usage is opened with JBT HTML Editor (if not enabled yet):
> !dialog.png!



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


More information about the jbosstools-issues mailing list