Switching your entire project to tabs/spaces
In case you want to switch from tabs to spaces:
cd your/project/dir && \
find ./**/*.(sass|coffee|js|html|svg) -type f -exec sed -i 's/\t/ /g' {} +
and vice versa:
cd your/project/dir && \
find ./**/*.(sass|coffee|js|html|svg) -type f -exec sed -i 's/ /\t/g' {} +
WARNING:
Be careful with your .git folder
Written by Maikel
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tabs
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#