shellOn this pageshell代码格式化How to copy?Click copy button at top right cornerThree times click to copy one lineIn Linux, paste by middle click.Install by Package Manger:pacmansudo pacman -S --noconfirm shfmt-w 参数把格式化结果写入原文件shfmt -w <script>格式化当前目录所有文件shfmt -w -l .Product Type:VSCodeDistributed from official MicrosoftOSSBuild from the open sourceVSCodiumPowered by CommunityInstall赞助作者 (Sponse me):