Let's say i have a file Foo.cpp in the bar directory. When i open the file, the heading of the tab of the open file is bar/Foo.cpp.
Now, suppose there's an error in the file. If i compile, it will appear in the build messages. When i click the error message, the file opens a new tab with the heading Foo.cpp. Why does it open the file again? It should reuse the already-open file. There's the potential that if a user fixes the error in one tab and closes it and visits the other tab (amidst a lot of other things), that the fixes could be lost. A window does pop up a while later that says "File so-and-so is modified outside the IDE...", but in between, there's potential for lost changes.
Is there a setting that will fix this?