Author Topic: Find correct file with next_error if multiple files of same name in project  (Read 685 times)


  • Senior Community Member
  • Posts: 1379
  • Hero Points: 104

My project contains multiple "" files in different directories.

When building, if there is an build error in one of the, when I do "next_error", it sometimes shows me a different

For example, lets say I have:


The error message from the compiler says:

dir1/dir2/dir3/  Error message

When I do "next_error", SE is opening the wrong, it opens dirA/dirB/dirC/ instead of dir1/dir2/dir3/

As the compiler error message has the ending directories in it, would it be possible for SE to do some smarter matching and if the compiler gives more path info for an ambiguous file, use this extra path info to choose the correct ?