Reputation: 2643
I have many source code files which are idented with 8 space characters, I want to convert these to 4 character indents. What is the best way of doing this? A technique using eclipse would be preferable.
Upvotes: 0
Views: 749
Reputation: 32914
Select the project(s), then press Ctrl+H to open the Search dialog (or click the Search > File menu).
*.java
or just *
)As I said in the comments above, however, using spaces for indentation is a fool's game; tabs are the proper abstraction for indentation so that you don't have this problem.
Upvotes: 1