Skip to main content

CurateClick

marketplace.visualstudio.com favicon

ast-grep VSCode

Weekly Pick

ast-grep VSCode是一款VS Code插件,利用结构化搜索与替换技术,支持多种编程语言,提供流畅的代码搜索、替换、linting和修复功能,提升开发效率。

Check out ast-grep VSCode on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

正则表达式虽然强大,但在处理代码搜索和替换时,无法跨行匹配,处理嵌套结构效果不佳,且很难有效地忽略注释,使得其应用范围受限。推荐一款新VS Code插件——ast-grep VSCode,运用结构化搜索与替换(Structural Search/Replace)的技术,有效解决了这些问题。支持众多的编程语言,包括JavaScript、TypeScript、Python、Ruby、Java、C#、Go、Rust等等。它在编辑器内部直接进行SSR查询,无需切换搜索环境,让搜索替换过程更加流畅;而查询结果边执行边显示,能即时查看和编辑,大大提高了工作效率。此外,ast-grep VSCode还支持linting和代码修复功能,可以方便自定义Linter规则。* VSCode Marketplace* 视频演示| 特性 | 截图 ||----------------|-------------------------------------------------------------------------------------------------------------------|| 搜索模式 | || 替换预览 | || 代码lint | |

Latest Weekly Picks

Predict video virality before you publish.

Virality Predictor

Powerful Motion Control AI Video Generator

Motion Control AI

PlusGO 是面向中国大陆用户的 ChatGPT Plus 代充值服务平台。使用官方 CDKey,支持支付宝和微信扫码支付,平均 2 分钟完成 Plus 开通,自 2025 年起已为超过 10,000 名用户完成充值。

www.toolcenter.ai favicon
Weekly Pick

Discover the Best AI & Productivity Tools — 1,500+ tools with honest reviews.

ToolCenter
huntereyes.net favicon
Weekly Pick

AI Eye Area Evaluation

Hunter Eyes
www.payforchat.com favicon
Weekly Pick

Subscribe to ChatGPT Plus/Pro in 1 minute — no international credit card needed.

PayForChat
happyhorseai.ai favicon
Weekly Pick

Happy Horse AI Creates Videos with Motion and Storytelling

Happy Horse
promptbuilder.cc favicon
Weekly Pick

Generate, optimize, test, and manage AI prompts in one place. Turn an idea into a ready-to-use prompt in seconds.

Prompt Builder