[jbosstools-issues] [JBoss JIRA] (JBIDE-20387) Use column number when navigating to errors, and more

Daniel Dekany (JIRA) issues at jboss.org
Sun Jul 26 11:26:02 EDT 2015


     [ https://issues.jboss.org/browse/JBIDE-20387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dekany updated JBIDE-20387:
----------------------------------
    Description: 
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)).


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




> 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
>            Reporter: Daniel Dekany
>
> 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)).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list