Aptana: find and replace tabs (with spaces)

aptana, whitespace

Solution

I've found myself in similar situation and copying whole source code and repasting it helped me out. Just do as follow on your source code Ctrl+A, Ctrl+C, then Del whole code and Ctrl+V it again. You will get only spaces if have set it in options like you mentioned above.

Problem

I am belatedly setting up Aptana to use four spaces instead of tabs. I've made the necessary changes to the preferences so every new tab inserts four spaces. All the existing tabs remain, however, and so I get `Mixed spaces and tab` errors. How can you do a `Replace all` to fix this? I've tried `^t`, `<TAB>` etc but it just searches for these as normal strings. What are the correct ways to specify a space and a tab?

Original source