
Herrington Darkholme
@hd_nvim
π Frontend Vimmer
βοΈOpen Source with @typescript @vuejs and @rustlang
π» @KuaishouVideos
π ast-grep.github.io is my hobby project
ID: 330765347
https://github.com/HerringtonDarkholme 07-07-2011 03:39:59
13,13K Tweet
6,6K Followers
2,2K Following

#ast_grep_trick If you are using a shell, you can write a rule with PLACEHOLDER and fill in values by process substitution. ππ¬π-π π«ππ© π¬πππ§ -π« <(π¬ππ 'π¬/π©π₯ππππ‘π¨π₯πππ«/π―ππ«/π ' πππ¦π©π₯πππ.π²π¦π₯) It can make ast-grep rule dynamic and parameterized!
