Find
*let\(:(\w+)\) *\{ *(.+?) *\}
Replace
$1 = $2
Before
let(:user) { create(:user, :man) }
let(:book) { user.book }
After
user = create(:user, :man)
book = user.book
操作の例
コマンドパレットで Replace を選んで、C+Enter で全て置換。
未来の自分
見てますかー?ブラジルのあなたー?
Original by Github issue
チャットメンバー募集
何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。