javascript - How to mass change tab width for all JS files across entire repository? -


we're doing code clean-up on project i'm on that's grown rather large. we've decided site wide tabs (which soft tabs of 4 spaces) should two-spaces standard (there's been lot of mixing). there easy way accomplish this? we're talking hundreds of js files here. i'd change instance of 4 spaces 2 spaces. there tool don't know of or sublime text or vim way of doing this?

open project in sublime text 2, click cmd + shift + f on mac or ctrl + shift + f on windows. enter value want find in first input, , in third input, enter value want change original value to.

it open each file , change desired text. save , have day.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -