How to replace all tab characters in a file by sequences of white-spaces in intellij?

Jeremy W picture Jeremy W · Sep 12, 2014 · Viewed 51.9k times · Source

Given a file in my project, I want to be able to replace all of the tab characters in the file with white spaces. Is there any way to do this in intellij?

Answer

Vasile Jureschi picture Vasile Jureschi · Sep 13, 2014

Go to Edit | Convert Indents , and then choose To Spaces or To Tabs respectively. It's in the documentation: Changing identation