How to replace all tab characters in a file by sequences of white-spaces in intellij?
Go to Edit | Convert Indents , and then choose To Spaces or To Tabs respectively. It's in the documentation: Changing identation
Replace only tabs used for indentation
- Ctrl + Shift + A
type "To Spaces" > Enter
Replace all tabs
- Ctrl + R
- check Regex
- Enter \t and spaces
Replace all