|
Project Information
Members
Featured
Downloads
|
What is it?Auto Tab is a plugin for Gedit that auto-detects indent settings (width and tab/spaces) in source files and adjusts tabbing accordingly for each buffer on the fly. Useful for people who are working on multiple projects or with other people's code, as coding styles often vary and needs to be preserved. Note that Auto Tab does not reformat or change the source code to use your favorite tab length - this is for the developer that wants or needs to work with the source as-it-is. Note on Gnome 3For Gnome 3 support, for now see: http://git.slashdev.ca/gedit-autotab/ ChangelogAuto Tab (0.7) 2010-07-05 Auto Tab (0.6) 2009-09-27 Auto Tab (0.5) 2008-09-19 Auto Tab (0.4) 2008-02-27 Auto Tab (0.3) 2007-03-30 Auto Tab (0.2) 2007-03-23 Auto Tab (0.1) 2007-03-11 Installation
Done! UsageYou should not need to do anything, the plugin should take care of adjusting the tab width and space/tab settings for each file as you edit them. The plugin assumes that either tabs, or spaces width a width of 2, 3, 4 or 8 is used. In the case of tabs, your local settings is used for the width to display. There is an entry in the status bar showing what the currently detected status line is. Other pluginsIf the Modelines plugin is also activated, any modelines it reads will be respected (Auto Tab will just display those values instead, and skip guessing altogether for that file). Other plugins can also disable Auto Tab for any view by simply doing: view.set_data("AutoTabSkip", True) Setting the value to False will enable Auto Tab again. BugsPlease report them in the issue tracker. |