arsham
1/7/2015 - 11:52 AM

A Sublime Text Macro to convert 2 spaces indentions to 4

A Sublime Text Macro to convert 2 spaces indentions to 4

[
	{
		"args": null,
		"command": "select_all"
	},
	{
		"args": {
			"setting": "tab_size",
			"value": 2
		},
		"command": "set_setting"
	},
	{
		"args":
		{
			"set_translate_tabs": true
		},
		"command": "unexpand_tabs"
	},
	{
		"args": {
			"setting": "tab_size",
			"value": 4
		},
		"command": "set_setting"
	},
	{
		"args":
		{
			"set_translate_tabs": true
		},
		"command": "expand_tabs"
	}
]