[
https://jira.jboss.org/browse/JBIDE-6285?page=com.atlassian.jira.plugin.s...
]
Denis Golovin commented on JBIDE-6285:
--------------------------------------
so we have several options here to consider, it could be decided how to insert elements,
like
<tag>|</tag>
or
<tag>
|
</tag>
based on dtd or schema. If element must have children it is good guess and second option
with content assist would be good here, second option in all other cases without
proposals.
I guess just do not propose anything after tag inserted as option one would be a good fix
as well, I'm just brainstorming here :)
Don't invoke code assist automaticly if user inserts
<tag></tag>.
-----------------------------------------------------------------
Key: JBIDE-6285
URL:
https://jira.jboss.org/browse/JBIDE-6285
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: jsp/jsf/xml source editing
Affects Versions: 3.1.0.GA
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 3.2.0.Beta
If user press Ctrl+Space and insert any tag like:
<tag attribute="|" /> then CA invokes automaticly for
attribute="|". It's ok.
For <tag | /> it's ok too.
But for <tag>|</tag> it's not ok. Let's just insert a proposal and if
cursor placed between inserted tags then don't invoke CA automaticly again. It's
not convinient here because in most cases user will want to press Enter after <tag>|
but CA automaticly will insert first proposal in this case.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira