Diagnostics are not refreshed after build when a new file is added
wojciech-kulik opened this issue · comments
Wojciech Kulik commented
Steps to reproduce:
- Add a new file with some class.
- Reference this class within the same target.
- Build the project using
xcodebuild
command.
Actual result:
The build succeeds, LSP doesn't print any errors in the log, LSP still shows issues:
Expected result:
LSP should be automatically refreshed and errors should disappear.
Workaround:
Restart LSP (in Neovim :LspRestart
).
Version:
Sourcekit-lsp provided by Xcode Version 15.2 (15C500b)
Related issue:
wojciech-kulik/xcodebuild.nvim#56
Notes:
I reproduced it both in Neovim and Visual Studio Code, so I guess it's not the LSP client's fault.
Alex Hoppen commented
Tracked in Apple’s issue tracker as rdar://123971779