🍨 A XMake integration in IntelliJ IDEA
|
|
2 weeks ago | |
|---|---|---|
| .github | 1 month ago | |
| clion-debug | 4 weeks ago | |
| gradle | 2 months ago | |
| res | 4 years ago | |
| src | 2 weeks ago | |
| .gitattributes | 2 months ago | |
| .gitignore | 1 month ago | |
| CONTRIBUTING.md | 7 years ago | |
| LICENSE.md | 8 years ago | |
| README.md | 1 month ago | |
| build.gradle.kts | 1 month ago | |
| build.sh | 1 month ago | |
| change-notes.html | 2 weeks ago | |
| description.html | 2 years ago | |
| gradle.properties | 2 weeks ago | |
| gradlew | 2 months ago | |
| gradlew.bat | 2 months ago | |
| run.sh | 1 month ago | |
| settings.gradle.kts | 1 month ago | |
| verify.sh | 1 month ago |
A Xmake integration in IntelliJ IDEA/Clion.
It is deeply integrated with xmake and Intellij-IDEA to provide a convenient and fast cross-platform c/c++ development and building.
And It also support other Intellij-based platform, like Clion, Android Studio and etc.
You need install xmake first and a project with xmake.lua.
Please see xmake-github and website if you want to known more about xmake.


You can configure Xmake path, build settings, and Intellisense options in Settings > Build, Execution, Deployment > Xmake.


Only support CLion (>= 2020.1)
compile_commands.json for project code completion and navigation.Settings > Build, Execution, Deployment > Xmake.Update compile commands in the main menu or context menu.compile_commands.json. If not, you can open it via File > Open....Only support CLion (>= 2025.3)
XMake now supports native debugging via the Debug Adapter Protocol (DAP). This allows you to debug your XMake targets directly without generating CMakeLists.txt.
lldb-dap (recommended) or gdb-dap on your system./usr/bin/lldb-dap).Support CLion (>= 2020.1)
Due to limited personal time, I cannot maintain this plug-in all the time. If you encounter problems, you are welcome to download the plug-in source code to debug it yourself and open pr to contribute.
Use IDEA Intellji open this project source code, and click Build button.
Open and edit Run configuration, and add a gradle run configuration, then write run arguments: runIde --stacktrace and save it.

Select this run configuration and click run button to load it.

For more details, please visit: CONTRIBUTING