You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Adds support for SwiftDriver compile commands. Note, This PR also remove escape chars from file-path of file list to fix error reading the file content.
See: kkharji/xbase#178, kkharji/xbase#179
kkharji
added a commit
to xbase-lab/xclog
that referenced
this issue
Apr 21, 2023
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.
kkharji
changed the title
Project build failure isn't handled correctly by xbase
Raise warning to users on empty compile commands
Apr 21, 2023
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 developmentRaise warning to user on empty compile commands. Later, similar to #178. It will help debugging effort.
The text was updated successfully, but these errors were encountered: