When comparing ripgrep vs IntelliJ IDEA, the Slant community recommends ripgrep for most people. In the question“What are the best open source tools for searching source code?” ripgrep is ranked 2nd while IntelliJ IDEA is ranked 4th. The most important reason people chose ripgrep is:
ripgrep has performance similar to raw grep but provides similar level of usability as The Silver Searcher or ACK.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Fast
ripgrep has performance similar to raw grep but provides similar level of usability as The Silver Searcher or ACK.
Pro Supports VCS ignore files
ripgrep can speed up by ignoring files matched by pattern in ".rgignore" (deprecated), ".ignore" (since rg-v0.2.0), and VCS ignore files (e.g., currently only ".gitignore").
Pro Speedy even with Unicode (UTF-8) searches
Pro Lock-free parallel recursive directory search
Pro ripgrep lets you only search certain types of files via file type whitelist
Pro Smart refactorings
IDEA places an emphasis in safe refactoring, offering a variety of features to make this possible for a variety of languages.
These features include safe delete, type migration and replacing method code duplicates.
Pro Fast and smart contextual assistance
Uses a fast indexing technique to provide contextual hints (auto-completion, available object members, import suggestions).
On-the-fly code analysis to detect errors and propose refactorization.
Pro Android support, JavaEE support, etc
A very complete development environment support.
Pro Support for many languages
IntelliJ supports many languages besides Java, some of these are: golang, Scala, Clojure, Groovy, Bash, etc.
Pro Lots of plugins
Many plugins are available for almost any task a developer may need to cover. Plugins are developed by Jetbrains themselves or by 3rd parties through the SDK available for writing them.
Pro Stable and robust
IntelliJ IDEA hardly ever crashes or has any issues that plague other Java IDEs like file corruption or slowness.
Pro Intuitive and slick UI
IDEA has a clean, intuitive interface with some customization available (such as the Darcula theme).
Pro Clear and detailed documentation
The documentation is exhaustive, easy to navigate, and clearly worded.
Pro Very powerful debugger
With ability to step into a certain part of a large method invocation (Shift+F7), drop frame, executing code snippets, showing method return values, etc.
Pro Free version available
There is a free community edition (open source) and an ultimate edition, which you can compare here.
The ultimate edition is available for free for one year for students but must be registered through an .edu e-mail account.
Pro Many convenient features
These simplify the daily work, e.g. copy/cut a whole line without the need to select it.
Pro Gradle support
Pro Built-in Git support
Pro Student Benefits
Verify yourselves as a student to get more perks.
Pro Embedded database support
Creating an embedded database, running SQL script in a dedicated terminal, viewing tables and their contents, and creating a connection to an in-memory or embedded database is fully supported.
Pro Prices are not bad
I pay $24 a month and i have access to all jetbrain peoducts , so i use their many tools , i tried many others like netbeans , eclipse , etc , they re good but intelij is on the space and the sky is the limit . Been using it for 5 years and i cant tell i got frustrated using .it
Cons
Con Does not support encodings other than UTF-8
If you need to search files with text encodings other than UTF-8 (like UTF-16), then ripgrep won’t work. ripgrep will still work on ASCII compatible encodings like latin1 or otherwise partially valid UTF-8. ripgrep may grow support for additional text encodings over time.
Con Does not support decompression
If you need to search compressed files, ripgrep doesn’t try to do any decompression before searching.
Con Does not support arbitrary lookahead/lookbehind assertions
However, it's supported since ripgrep v0.10.0 (2018-09-07)
https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md#0100-2018-09-07
Con Does not support backreferences
However, it's supported since ripgrep v0.10.0 (2018-09-07)
https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md#0100-2018-09-07
Con Slow startup
Startup can be slow depending on system configuration.
Con Uses a lot of RAM
Con Somewhat expensive
IntelliJ IDEA is fairly expensive, with a pricetag of $149/year.
However there is a free community edition available.
Con Built with closed source components
The version with full features is not opensource. Parts of the code are under apache licence though.
Con Cannot open multiple projects in the same window
Con Lack of plugins
IntelliJ supports a very small amount of plugins. Although these are 'quality approved', many features are missing and can't be implemented because of that.
Con Bugs are not solved as often as they should
They are more interested in adding new features or issuing new versions than solving bugs.
Con Standard hotkeys behave differently
Seems like hotkeys assignment in Idea has no logical consistency.
Like «F3» is usually next match, «Ctrl+W» - close tab, etc — they map to some different action by default.
There is a good effort in making the IDE friendly for immigrants from other products: there are options to use hotkeys from Eclipse, and even emacs. But these mappings are very incomplete. And help pages do not take this remapping into account, rather mentioning the standard hotkeys.
So, people coming from other IDEs/editors are doomed to using mouse and context menus (which are rather big and complex).