Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Send Tree View update notification on first no-op compilation. #997
Fixes #846. Previously, Metals didn't send tree view update
Now, Metals will send a tree view update compilation for the first
Fixes #846. Previously, Metals didn't send tree view update notifications on no-op compilations under the assumption that the tree view wouldn't change since it was an empty compilation. However, this assumption was wrong when an empty compilation is the first compilation of a build server connection because the Bloop build server may have copied over classfiles to the BSP session class directory. Now, Metals will send a tree view update compilation for the first compiation even if it's empty ensuring the tree view properly picks up the latest outlines from the project.