When comparing CLion vs IntelliJ Rust, the Slant community recommends IntelliJ Rust for most people. In the question“What are the best editors/IDEs for Rust?” IntelliJ Rust is ranked 1st while CLion is ranked 8th.
Ranked in these QuestionsQuestion Ranking
Pro Intelligent code completion
CLion has an intelligent autocompletion engine that tries to predict the symbol you are typing based on your previous history and the context in which it's being typed.
Pro Cross platform
Clion works on Windows, Linux and OSX.
Pro A fully featured IDE
Pro Constantly being updated
Pro Full power of IDEA engine
This plugin uses big part of Intellij IDEA features, including advanced code analysis and refactoring.
Pro Free/Libre (MIT)
Pro Many users
Has more users than the average plugin.
Pro Built-in user friendly terminal
Pro Has built-in Git support
Pro Nearly 100% of Rust code is interpretted by the IDE
The ability to trace variable definitions and references from within closures as well as understand smart pointers and macro code makes it the smoothest interface for writing Rust.
Pro The best VI shortcut plugin
For those that favor VI shortcuts, you can do nearly everything in IntelliJ that you would do in a VIM editor. Almost no conflicts out of the box, and those that are in conflict are easily resolved.
Pro Supports JS/TS frameworks
Clion is proprietary software which costs $199/1st year for a business license or $89/1st year for an individual license.
Con Build Tool Integration is messy/over complicated
I have a Jetbrains annual subscription so I can use this tool for free and I've used the Java IDE for years so I really want to like CLion. But it's just over complex to add 3rd party libraries etc. Netbeans/Eclipse etc are much better integrated with the build tools
Con Debugger requires paid CLion / IDEA Ultimate
Debugger still won't work without IDE that includes native debugger support. The only known is proprietary and paid CLion or IntelliJ IDEA Ultimate with the native debugger plugin.
Con Intellij Rust being replaced by paid for IDE
Con Why would you pay for it if there is VSCode
Con Too many issues (currently, in May 2022)
The plugin mostly works but it has a staggering number of issues (1400+ reported as of today). Therefore it should not be used if tool stability is an issue.
Con From the website: "work-in-progress, expect bugs and missing features"
Con Slow compared to Rust analyzer
Con Difficult to work with substrate
Con Does not parse macros correctly
It seems that autocomplete does not work for macros at all.