Open Xuanluo-Qiu opened 9 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: Move the default address of the generated "compile_commands.json" file from the ".vscode" folder to the "build" folder
这是 xmake-vscode 插件的行为,跟 xmake cli 无关,请提到 xmake-vscode/issues 那边去。。
另外,插件可以自己配置修改目录的。。xmake.compileCommandsDirectory
自己改下就行了。。
默认路径不会改,会 break 其他用户,而且众口难调,不可能满足所有用户需求
Bot detected the issue body's language is not English, translate it automatically.
This is the behavior of the xmake-vscode plug-in and has nothing to do with xmake cli. Please refer to xmake-vscode/issues. .
In addition, the plug-in can configure and modify the directory by itself. . xmake.compileCommandsDirectory
Just change it yourself. .
The default path will not be changed and will break other users. It is also difficult to adjust and cannot meet the needs of all users.
Is your feature request related to a problem? Please describe.
在当前使用clangd时,默认生成的
compile_commands.json
文件出现在.vscode
文件夹中,我认为这是不合理且麻烦的。因为并不是每个人都在使用vscode,并且现在的方案十分的繁琐,对其他编辑器的使用者并不友好。Describe the solution you'd like
将
compile_commands.json
文件移动到build
文件夹有以下好处:vscode
,如果提案通过,那么无论是否使用vscode
都能拥有开箱即用的体验。clangd
默认寻找compile_commands.json
文件的路径就是build
文件夹,这一简单的修改会省去修改路径的时间,并且十分优雅,无需做其他改动。Describe alternatives you've considered
No response
Additional context
No response