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

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
freqz.net favicon
Weekly Pick

Your Personal K-Style Vibe Photo Studio

Freqz
webleadr.com favicon
Weekly Pick

Find and contact web design leads and businesses without websites, like local dentists, effortlessly from any location in just a few clicks.

Webleadr

the art of having something to say

pretty-scale.com favicon
Weekly Pick

How Pretty Are You? Let AI Decide.

Pretty Scale
c2story.com favicon
Weekly Pick

Create Illustrated Stories with AI

C2story

Impromptu Speech Topics & Timer

Seedance 2.0: Multimodal AI video creator. Precisely direct characters and cameras to create production-ready, multi-shot cinematic stories in one click.