[jbosstools-issues] [JBoss JIRA] (JBIDE-15714) Dynamic content assist for AngularJS expressions in html files

Alexey Kazakov (JIRA) issues at jboss.org
Wed Apr 8 14:04:19 EDT 2015


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

Alexey Kazakov commented on JBIDE-15714:
----------------------------------------

In order to provide this content assist we need to:
1. Initialize the browser
2. Refresh the browser if anything is changed on the page but before we execute our JS to get proposals.

Both tasks are asynchronous and take some time.
#1 can be solved by initializing the browser when the editor (even the source tab) is being opened (I don't like it) OR as Max suggested we could put a placeholder/message for the very first time when the Angular content assist in invoked (I like this idea better).
#2 can be solved if we enable the refreshing mechanism when the angular content assist is invoked the very first time for the page/editor. As soon as it's enabled we will refresh the browser after every change in the source.

So, we wouldn't see angular proposals only the first time the content assist is invoked.

> Dynamic content assist for AngularJS expressions in html files
> --------------------------------------------------------------
>
>                 Key: JBIDE-15714
>                 URL: https://issues.jboss.org/browse/JBIDE-15714
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml/html source editing
>            Reporter: Alexey Kazakov
>            Assignee: Alexey Kazakov
>            Priority: Critical
>              Labels: new_and_noteworthy
>             Fix For: 4.3.0.Alpha2
>
>         Attachments: Diagram.gliffy, vpe.png
>
>




--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list