[jbosstools-issues] [JBoss JIRA] (JBIDE-19505) Angular Code Assist doesn't work for jboss-kitchensink-angularjs app
Victor Rubezhny (JIRA)
issues at jboss.org
Tue May 19 20:57:19 EDT 2015
[ https://issues.jboss.org/browse/JBIDE-19505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069431#comment-13069431 ]
Victor Rubezhny commented on JBIDE-19505:
-----------------------------------------
The discussion on the issue goes here: https://github.com/angelozerr/angularjs-eclipse/issues/118#issuecomment-100332673
I see few issues here:
1) JSDT Tern Core Plugin wasn't forced to start for some reason (probably because of latest refactorings on the project): https://github.com/angelozerr/tern.java/commit/db1314d2e10f677b82abd60940c9aeb6d58cf777 - it's fixed at the moment for coming v.1.0.
2) 'messages' variable is defined in ng-repeat attribute of {code}<li ng-repeat="message in successMessages">{{message}}</li>{code} tag attribute which isn't a supported case at the moment. This is not a something we can fix in upstream at the moment.
3) other variables aren't shown (like errors.name, errors.email, errors.phoneNumber) - not sure where they should came from... it looks like from the controller's $scope, but I don't think AngularJS-Eclipse is able to deal with such a controller... On the other hand there is an error marker on ng-app='kitchensink' attribute on index.html page that says: "Cannot find module with name kitchensink." - this could be a main problem to show these variables. (This error marker stays the same even after the first problem was fixed see #1 in this list)
> Angular Code Assist doesn't work for jboss-kitchensink-angularjs app
> --------------------------------------------------------------------
>
> Key: JBIDE-19505
> URL: https://issues.jboss.org/browse/JBIDE-19505
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing, upstream
> Affects Versions: 4.3.0.Alpha1
> Environment: JBDS 9.0.0.Alpha1-v20150216-1042-B11, Linux
> Reporter: Vlado Pakan
> Assignee: Victor Rubezhny
> Fix For: 4.3.0.Beta1
>
>
> 1. Import jboss-kitchensink-angularjs from JBoss Central
> 2. Open partials/home.html page
> 3. Open Angular Explorer and lind modules > MemberService > MembersCtrl to controler
> 4. Find this line {code}<li ng-repeat="message in errorMessages">{{message}}</li>{code} and invoke Code Assist for {{m
> ERROR: Code Assist doesn't contain proposal for message variable
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jbosstools-issues
mailing list