]
Denis Golovin updated JBIDE-20387:
----------------------------------
Sprint: (was: Sprint #10 January 2016)
Use column number when navigating to errors, and more
-----------------------------------------------------
Key: JBIDE-20387
URL:
https://issues.jboss.org/browse/JBIDE-20387
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: freemarker
Affects Versions: 4.3.0.Beta2
Reporter: Daniel Dekany
Assignee: Denis Golovin
Fix For: 4.3.x
The plugin doesn't utilize some tooling-centric information available in
{{freemarker.core.ParseException}}, most importantly, the column number that Eclipse could
utilize to jump at the error start inside the line. The information that's not used is
(see
{{plugins/org.jboss.ide.eclipse.freemarker/src/org/jboss/ide/eclipse/freemarker/editor/Editor.java}}):
* {{getColumnNumber()}}, {{getEndColumnNumber()}}
* {{getEndLineNumber()}}
* {{getEditorMessage()}}: This should be used instead of {{getMessage()}} (though
apparently the output of `getMessage()` is identical, it's actually because FM detects
that it was called from JBoss Tools and then creates a message customized for that).