Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20387

Use column number when navigating to errors, and more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.4.0.Alpha1
    • 4.3.0.Beta2
    • freemarker
    • None
    • devex #113 April 2016
    • 1

      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).

            alexeykazakov Alexey Kazakov
            ddekany Daniel Dekany (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: