🍨 A XMake integration in IntelliJ IDEA

ruki f96766c2a8 Merge pull request #79 from SuperSodaSea/remove-deprecated il y a 1 semaine
.github 6264eaabec Actions: Add Free Disk Space step il y a 2 semaines
gradle 5da2f6a046 Update gradlew il y a 2 semaines
res 0deba2e508 fix res il y a 4 ans
src 5f4ac0d4e9 Remove usage of deprecated APIs il y a 1 semaine
.gitattributes 5da2f6a046 Update gradlew il y a 2 semaines
.gitignore 5da2f6a046 Update gradlew il y a 2 semaines
CONTRIBUTING.md 1174209cca update xmake github url il y a 6 ans
LICENSE.md cb5ef043dd add readme il y a 8 ans
README.md 61a44e2b16 add jetbrains il y a 3 mois
build.gradle.kts 5ad28336a9 Support Clion 2025.3 and later versions il y a 1 semaine
change-notes.html 0d11ecbf39 update version il y a 1 semaine
description.html adbc2934d1 cleanup code and fix il y a 1 an
gradle.properties 0d11ecbf39 update version il y a 1 semaine
gradlew 5da2f6a046 Update gradlew il y a 2 semaines
gradlew.bat 5da2f6a046 Update gradlew il y a 2 semaines
settings.gradle.kts adbc2934d1 cleanup code and fix il y a 1 an

README.md

xmake-idea

A XMake integration in IntelliJ IDEA

Introduction

A XMake integration in IntelliJ IDEA.

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.

Features

  • Quickstart
  • Create project
  • Project configuration
  • Run configuration
  • Menu tools
  • Tool windows
  • Build and run
  • Parse errors and goto file
  • C/C++ intellisense
  • Debug

Quickstart

Parse errors and goto file

Output panel

Create project

Project configuration

Run configuration

Menu tools

C/C++ intellisense

Only support CLion (>= 2020.1)

  1. Click "Update compile commands" to create or update "compile_commands.json" file
  2. Click "File > open..." to choose this file.

Debug

Only support Clion (>= 2020.1)

  1. Click "Update CmakeLists" to create or update "CmakeLists.txt" file.
  2. Click "File > open..." to choose this file.
  3. Choose "Run > Debug..." or "Run > Debug 'project name'" into debug mode.

How to contribute?

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.

Build this project

Use IDEA Intellji open this project source code, and click Build button.

Run and debug this project

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

Powered by

JetBrains logo.