Dynamic Tab InsertionThis extension augments the functionality of the 'tab' key. If you're the kind of person to use tabs for indentations and spaces for alignment, then this is the plugin for you! Note: sublime text 3 version available here: https://github.com/zhiayang/sublimetext-dynamictabs VSCode Marketplace: https://marketplace.visualstudio.com/items?itemName=zhiayang.tabindentspacealign FeaturesTabs to indent, spaces to alignIf your 'tab' key inserts spaces, then this plugin will not do anything. Otherwise, when pressing the 'tab' key:
The spaces inserted will align you to the nearest tab stop, based on your preferred tab size. There are no options to configure, but this plugin adds a keybinding to the 'tab' key in the editor. 'Smart' indentationNew since version 1.2.0, there is an option ( Since version 1.2.1, the upwards search continues till the first non-empty line is found, for a configurable number of lines. Known Issues
|