建议看原文
https://stackoverflow.com/questions/33974681/how-can-i-convert-tabs-to-spaces-and-vice-versa-in-an-existing-file
F1
F1
,indentationToSpaces or indentationToTabs (depending on your need)
Enter
.
replace
- Press
CTRL + F
- Click the
.*
button to search using regular expressions. - To search for tabs enter
[\t]
in Find box. - Enter spaces in Replace box and perform your replace.