]
Alexey Kazakov commented on JBIDE-20387:
----------------------------------------
[~ddekany] sorry for the delay. We have limited resources to verify the PRs. Hope we can
find time to review them for the next JBoss Tools release targeted Eclipse Neon.
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.4.0.Alpha1
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).