Raise warning to users on empty compile commands
kkharji opened this issue · 1 comments
When opening a project for the first time, xbase is expected to build and compile the project to generate compile commands to support LSP features, then communicate to the user the build and compile result. However, it does not make it obvious to the user that the project failed to build and compile, and acts as if it was successfully built and ready for development
Raise warning to user on empty compile commands. Later, similar to #178. It will help debugging effort.
It turned out that the project was compiled successfully, but no compile commands was generated. This was fixed in xbase-lab/xclog@4705618. in term of socket responses, is still an issue, even though the error above might not be reproduced thanks to xbase-lab/xclog@a94cbe5. However, try/catch
for decoding should be implemented, just in case. This shell be handled in #180. Therefore, changing the purpose of this issue to raise warning to users on empty compile commands.