clion manual - noma/dm-heom GitHub Wiki

CLion is a commercial IDE, but in my opinion a better alternative to Eclipse.

Its advantages here are that it uses CMake as native project format. This means everything basically works out of the box, version control included. Downside: it's commercial, but there are free academic, student, and open source licenses available: https://www.jetbrains.com/support/community/#section=classroom

Students can apply here with an university mail addresses: https://www.jetbrains.com/shop/eform/students

Installation:

  • download
  • unpack
  • create a link, e.g.
~/bin/clion -> ../Software/clion/bin/clion.sh
  • run

Menu->File->Open: select the heom/cpp folder, and you are good to go.

Coding Style

The HEOM specific coding style for CLion can be found in the repository at doc/clion_code_style.xml

  • go to File->Settings->Editor->Code Style
  • click [Manage]
  • click [Import]
  • select 'Intellij IDEA code style', click [OK]
  • select file, click [OK]
  • click [Close]
  • make sure HEOM is selected as Scheme left of the [Manage button] in the Settings dialogue
  • click [OK]

Further Reading

Check the quick start guide: https://www.jetbrains.com/clion/help/quick-start-guide.html

Watch some Tutorial Videos: https://www.jetbrains.com/clion/documentation/

I already have a Coding-Style-File for CLion, which is still undergoing changes whenever I find something ugly, so for now just ask me for the latest version, if you want to give CLion a try.