]
Jiri Peterka closed JBIDE-15168.
--------------------------------
Verified with JBDS 8.0.0.CR1, Fedora 20_64
Show only macro and function declarations in Freemarker outline
---------------------------------------------------------------
Key: JBIDE-15168
URL:
https://issues.jboss.org/browse/JBIDE-15168
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: freemarker
Affects Versions: 4.1.0.Final
Reporter: Daniel Dekany
Assignee: Peter Palaga
Fix For: 4.2.0.CR1
In the "FreeMarker IDE" Eclipse plugin, you should disable the outline view for
now, as it's too broken to be useful, while it often slows template editing to crawl
and is constantly flashing/redrawing as you type into the template, or even sometimes if
you just move the cursor.
Regarding why it's broken:
* You show all the statements in it, which is way too much details and so it quickly
becomes useless for overview and navigation. (Imagine if the Java outline did that,
showing all if-s and for-s and assignments.) If should just list the macro and function
declarations.
* It treats FreeMarker tags that don't end with {{/>}} as element openings, and
then puts everything after that inside that element. But FreeMarker tags that start with
{{#}} and can't have a body are implicitly closed. They are like {{img}} in HTML;
{{<img ...>}} is the same as {{<img .../>}}. Similarly, {{<#assign x =
1>}} is the same as {{<#assign x = 1 />}}.
* It redraws the whole tree way to often. It slows things down, and the flashing it
causes is annoying.