Menu

#380 ErrorList: Handling of error nodes from current editing file

None
open
None
5
2017-02-15
2017-01-27
Alan Ezust
No

If there are errors from multiple files, the errors from the currently editing file should be visible in error list first. Further, if the cursor is on a line with an error, the corresponding ErrorList node should be selected and visible. action "Next Error" should go to the next error after that, instead of the first error on the top of the tree.

Perhaps just moving the current file to the top of the error tree will be the easiest way to get this working.

Also, if the user clicks on the error icon in the gutter, it should tell ErrorList to show that node in the tree.

This is important when there are lots of errors in lots of different files and the user wants to focus on the errors in the current file.

Discussion

  • Alan Ezust

    Alan Ezust - 2017-01-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,5 @@
    -If there are errors from multiple files, I think the ones from the currently editing file should be more prominent than the others, so they should either show up under the first node in the tree, and/or it should be auto-expanded...
    +If there are errors from multiple files, I think the ones from the currently editing file should be more prominent than the others, so if the cursor is on a line with an error, the closest ErrorList node should be displayed and expanded after errors are added to ErrorList.
    
    +Also, if the user clicks on the error icon in the gutter, it should tell ErrorList to show that node in the tree. 
    +
    +This is useful when there are lots of errors in lots of different files and the user wants to focus on the errors in the current file.
    
    • Group: -->
     
  • Alan Ezust

    Alan Ezust - 2017-01-30
     
  • Alan Ezust

    Alan Ezust - 2017-02-03
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
    -If there are errors from multiple files, I think the ones from the currently editing file should be more prominent than the others, so if the cursor is on a line with an error, the closest ErrorList node should be displayed and expanded after errors are added to ErrorList.
    +If there are errors from multiple files,  the errors from the currently editing file should be visible in error list first. Further, if the cursor is on a line with an error, the corresponding ErrorList node should be *selected* and visible. action "Next Error" should go to the next error after that, instead of the first error on the top of the tree.
    
     Also, if the user clicks on the error icon in the gutter, it should tell ErrorList to show that node in the tree. 
    
    -This is useful when there are lots of errors in lots of different files and the user wants to focus on the errors in the current file.
    +This is important when there are lots of errors in lots of different files and the user wants to focus on the errors in the current file.
    
     
  • Alan Ezust

    Alan Ezust - 2017-02-03
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,6 @@
     If there are errors from multiple files,  the errors from the currently editing file should be visible in error list first. Further, if the cursor is on a line with an error, the corresponding ErrorList node should be *selected* and visible. action "Next Error" should go to the next error after that, instead of the first error on the top of the tree.
    +
    +Perhaps just moving the current file to the top of the error tree will be the easiest way to get this working.
    
     Also, if the user clicks on the error icon in the gutter, it should tell ErrorList to show that node in the tree. 
    
     
  • Dale Anson

    Dale Anson - 2017-02-15
    • assigned_to: Dale Anson
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.