jomiller / vscode-rtags

RTags Client for Visual Studio Code
GNU General Public License v3.0
10 stars 0 forks source link

Saving a file may trigger false positive diagnostic messages in other unsaved files #21

Closed jomiller closed 5 years ago

jomiller commented 5 years ago

This issue may occur between files that have references to the same symbols, for example a header file and dependent source file.

The core issue is that RTags automatically reindexes files upon saving, and it does not consider any unsaved files when doing so. RTags instead uses the last saved versions of all files.

jomiller commented 5 years ago

This issue has been mitigated by the following algorithm: