Invisible Tabs Spaces Switcher
Sublime Text plugin: converts spaces to tabs while you work, then back to spaces when you're done (or vice versa)
- Total 1K
- Win 731
- Mac 317
- Linux 215
|Mar 22||Mar 21||Mar 20||Mar 19||Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12||Mar 11||Mar 10||Mar 9||Mar 8||Mar 7||Mar 6||Mar 5||Mar 4||Mar 3||Mar 2||Mar 1||Feb 28||Feb 27||Feb 26||Feb 25||Feb 24||Feb 23||Feb 22||Feb 21||Feb 20||Feb 19||Feb 18||Feb 17||Feb 16||Feb 15||Feb 14||Feb 13||Feb 12||Feb 11||Feb 10||Feb 9||Feb 8||Feb 7||Feb 6|
Sublime Text: Invisible Tabs Spaces Switcher
This plugin will convert spaces to tabs in a file as soon as you open it, then convert them back to spaces before you close it (or vice versa!).
Why did I make this? I don't like working with spaces, but many development projects (Package Control, for example) require them—and coders working on teams often have different personal preferences. This lets you work the way you want to, without causing formatting issues online or making it harder to compare files when reviewing pull requests (GitHub will flag identical files for comparision if one has tabs and one has spaces).
Until it's in Package Control, you have to install it manually.
Download the project, expand the .zip, and put the folder in Sublime Text's Packages folder. On a Mac and with Sublime Text 3, this folder is in ~/Library/Application Support/Sublime Text 3.
The plugin is enabled with the following default settings.
// if false, will disable the plugin "invisible_tabs_spaces_switcher": true, // if false, files will be saved with tabs "save_files_with_spaces": true, // if false, files will be loaded with spaces "view_files_with_tabs": true
Add your own settings to Settings – User (in Preferences -> Package Settings -> InvisibleTabsSpacesSwitcher)
To uninstall, remove the plugin folder from your Packages folder, or else use
Package Control: Remove Package.
Note: if you have SideBarEnhancements installed, you need to set
true in your *Side Bar.sublime-settings** file otherwise you won't be able to delete files from the sidebar*
Thanks to bubenkoff's Expand Tabs On Save plugin for inspiration.
This software is licensed under the MIT License.
© 2017 r0se kaplan-bomberg