Skip to content
SPECIFICTION
Get listed

ast-grep vs CodeRush

ast-grep

ast-grep.github.io

CodeRush

devexpress.com

Side by side

Figureast-grepCodeRush
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYes—
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYes—
Plans published11
Spec score · Code Refactoring Tools9.1 (#1)8.3 (#4)
LanguagesThe project says it supports 20+ languages and allows custom languages to be loaded.The product page describes refactoring for C#, Visual Basic, and XAML.
SupportThe project directs users with questions or issues to GitHub or Discord and also points to Stack Overflow and Reddit.Technical support for CodeRush is available to owners of DevExpress Universal, DXperience, or CodeRush Ultimate subscriptions; free users can search the support database.

Plans

ast-grep

  • ast-grepFree

ast-grep pricing →

CodeRush

  • CodeRushFree

CodeRush pricing →

In their own words

ast-grep

ast-grep is a free, open-source tool for structural code search, linting, and rewriting. It matches patterns against syntax-tree nodes, helping developers locate and change code across a codebase rather than searching plain text. Its CLI can preview and apply rewrites interactively, and scan configurable YAML rules with error, warning, info, or hint severity. Rules can combine pattern, kind, regex, relational, and composite conditions, and CLI commands help create and snapshot-test them. The project says it supports more than 20 languages and can load custom languages. JavaScript and WebAssembly APIs allow programmatic syntax-tree work; a browser playground offers a way to try patterns without local installation. Editor options include a VS Code extension and language-server setups, including for Vim and Neovim. The tool is free, has a web interface, and is distributed through package managers or built from source. Its FAQ notes that some advanced static-analysis information is unsupported, and one rule cannot target multiple languages at once.

Visit ast-grep.github.io

CodeRush

CodeRush is a Visual Studio extension for code generation, refactoring, navigation, formatting, debugging, testing, and code coverage. It includes more than 100 refactorings and intelligent code providers, with refactoring support described for C#, Visual Basic, and XAML. Its test runner supports NUnit, MSTest, xUnit, and MSpec without configuration, plus .NET Core, .NET Framework, and multi-target projects. Code style can be set for an individual developer, a solution, or a team, and cleanup can run when documents are saved. The listed IDEs are Visual Studio 2026 and Visual Studio 2022. CodeRush is available free for commercial use, with the same features and updates across free and paid subscriptions. A paid plan is listed from $249.99/user/yr, and a 30-day trial is listed. AI features require an OpenAI API key; voice input requires an Azure Cognitive Services Speech API key. Technical support is available to owners of qualifying DevExpress subscriptions; free users can search the support database.

Visit devexpress.com