ByteYue opened a new issue, #21657: URL: https://github.com/apache/doris/issues/21657
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description Formerly, developers should manually set the `--compile-commands-dir` argument for clangd. According to clangd's official (documentation)[https://clangd.llvm.org/installation], we can make one soft link to the 'compile_commands.json' so that clangd would automatically detect it and then do all the semantic analytical workloads. ### Solution 1. add one new ignore item for `compile_commands.json` in the root path 2. add logic in the build.sh which can detect the build dir and make soft link for the `compile_commands.json` ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
