Skip to content

Plugin for Gedit text editor that adds feature to converts tabs to spaces and spaces to tabs

Notifications You must be signed in to change notification settings

disfated/gedit-plugin-indent-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indent Converter plugin for Gedit

Converts tabs to spaces and spaces to tabs

Adds two items to Edit menu:

  • Convert spaces to tabs - replaces all leading spaces with tabs in current document. It uses smart guess algorithm to guess the tab size used in the document. If that fails - uses tab size from gedit preferences.

  • Convert tabs to spaces - replaces all leading tabs with spaces (size is taken from current gedit preferences) in current document.

Installation

  1. Download latest source package.
  2. Copy indent-converter.plugin and indent-converter.py files to ~/.local/share/gedit/plugins/ (or /usr/lib/gedit/plugins/ for system-wide installation).
  3. Open (restart) Gedit.
  4. Go to Edit - Preferences - Plugins.
  5. Enable plugin.

Translation

Please, contribute your languages.

About

Plugin for Gedit text editor that adds feature to converts tabs to spaces and spaces to tabs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages