[
https://issues.jboss.org/browse/JBIDE-15714?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-15714:
----------------------------------------
{quote}
Thus i'm still not really following what the problem is besides that on the very first
content assist the browser might not be fully initialized ?
{quote}
#2 problem (refresh problem) means that we need to refresh the browser *before* we execute
our JS to get proposals. But because this refresh is asynchronous and takes some time we
can't invoke refresh when we asked to execute the JS. In this case the browser will be
actually refreshed after the JS is executed and you will get proposals for the old html.
We have to refresh the browser automatically when the code is changed. Not when we ask to
execute the JS. It's too late.
So, if we initialize the preview browser (when using the source tab) after first
Ctrl+Space for {{}} and enable auto refreshing then we will have the only problem: no
proposals for the very first Ctrl+Space. Which we agreed is not a big deal. We will have a
message for that in the proposal list saying "content assist loading...try
again".
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)