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

Konstantin Marmalyukov (JIRA) issues at jboss.org
Tue Apr 7 13:19:18 EDT 2015


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

Konstantin Marmalyukov commented on JBIDE-15714:
------------------------------------------------

I implement a Visual Editor browser initialization. The problem are:
# if we initialize browser on CA request, Content Assist will not give user any proposal at the first time. But will give some seconds after. The problem is that there is not enough time for browser to set URL.
# if we refresh browser on CA request, CA will give user incorrect proposal.  But will give some seconds after. The problem is that there is not enough time to perform a refresh.

Problem 2 can be easily fixed with doing a refresh-on-change(like we do for visual editor) when CA for angularJS files is enabled(you call content assist for angularjs - you activate "autorefresh"). Problem 1 can be fixed with non-lazy initialization, but [~akazakov] doesn't like this approach. 

See http://www.screencast.com/t/kFwHx92m

> 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