Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はネストされたデータ構造を頻繁に使用し、コンソールから手動で分析する必要があります。問題は、それらがすべて 1 行で印刷されることです。
{,[,],}Ruby の pretty_print 出力のように見えるように、カンマに基づいてデータ構造の表示を再構築する簡単な方法はありますか?
{,[,],}
:%s/\([{,]\)/\1\r/g ggVG= :set ft=ruby
ウィーイー