Gedit - Plugins
Please do not use the GUI editor to edit this page. It changes the layout of the page.
This page contains an overview of the available, requested and third party plugins for gedit. If you have developed a plugin yourself you can list it here in the third party section. Additional to the plugins available in gedit by default there is a separate gedit-plugins package containing useful plugins that are (most of the time) too specific to be distributed with gedit itself.
Shipped plugins
The following plugins are shipped with gedit:
Change case: Changes the case of selected text.
Document Statistics Analyses the current document and reports the number of words, lines, characters and non-space characters in it.
External tools: Execute external commands and shell scripts. (More)
File Browser: A file browser plugin allowing to easily access your filesystem (includes remote mounts, creating new files/dirs, monitor dirs for changes, etc) (More)
Indent: Indents or un-indents selected lines.
Modelines: Emacs, Kate and Vim-style modelines support for gedit.
Python console: Interactive python console standing in the bottom panel.
Snippets: Insert often used pieces of text in a fast way. (More)
Sort: Sorts a document or selected text.
Spell: Checks the spelling of the current document.
Tag list: Provides a method to easily insert into a document commonly used tags/strings without having to type them.
Insert Date/Time: Inserts current date and time at the cursor position.
Plugins in gedit-plugins package
See also the plugins provided by the gedit-plugins package.
Third party plugins
Plugins developed by third parties:
Advanced Bookmarks
Advanced bookmarking tool for Gedit. More: http://code.google.com/p/advanced-bookmarks-gedit-plugin/
Align
Align blocks of text into columns. Download: http://users.tkk.fi/~otsaloma/gedit
Another TODO Marks List manager
Another Gedit TODO list plugin, based on ToDo List by Nando Vieira (see bellow). Entirely rewritten in python, and configurable. More details: http://alexandredasilva.wordpress.com/gedit-todo-list-plugin/ . Latest version: http://sourceforge.net/projects/gedit-todo/
Auto Tab
Auto-detect indent settings (width and tab/spaces) in source files and adjusts tabbing accordingly for each buffer on the fly. Plays nicely with the Modelines plugin, and any other plugin can easily ask it to skip any file if they need to. Download: http://code.google.com/p/gedit-autotab/
Bazaar
This plugin aims to bring to Gedit all the benefits of Bazaar's helpfulness on the colaboration problem. Bazaar is a Version Control System developed in python(bazaar-vcs.org). Download: https://launchpad.net/bzr-gedit/
Better Python Console
Python Console(s) in the style of IDLE (Execute Python Code by hitting F5). Download: http://live.gnome.org/Gedit/Plugins/BetterPythonConsole
Bidi assist
Adds some useful features for bidirectional scripts like Arabic and Hebrew. Download: http://zwnj.org/proj/gedit/bidiassist. More: /BidiAssist
Bookmarks
Adds a bookmarking system with support for folders. Download: http://www.psyguygames.com/Bookmarks_plugin1.01.tar.gz
Browser Preview
Showing the current webpage you are editing in gEdit directly in Firefox, Opera, Konquerer or Internet Explorer 6. http://my.opera.com/area42/blog/gedit-browser-preview-plugin
Class Browser
A class browser located in the side pane. Based on ctags, it supports a wide range of languages. Download: http://www.stambouliote.de/projects/gedit_plugins.html
Document Words Completion
Complete prevously written words in the current document. Support completion by pressing <Control>+Return or autocompletion. You can configure enable/disable autocompletion and set the autocompletion delay. This plugin needs GtkSourceCompletion library. You can download and install the gtksourcecompletion library. Then download document words completion plugin from svn (I will prepare a package with document words completion plugin), compile and install it. Homepage: https://sourceforge.net/projects/gtksourcecomple
Eddt - File Browser
A directory browsing plugin written in Python. Download: http://eddt.mbrio.org
Edit shortcuts
Assign shortcuts to all menu items and maybe more... Download: http://empty.23inch.de/pmwiki.php/Main/EditShortcuts
Elastic tabstops
An attempt to solve the tabs-versus-spaces issue by making tabstops that expand or shrink to fit their contents (includes functionality to convert files that use spaces for alignment). Download: http://nickgravgaard.com/elastictabstops/gedit/plugins.tar.gz More: http://nickgravgaard.com/elastictabstops/
Find in Documents
Adds a side panel that allows you to search all open documents for a string. Uses grep. Download: http://www.psyguygames.com/FindInDocuments_plugin.tar.gz
Find in Files
Modification of the Find in Documents plugin but searches all docs under the root of your filebrowser sidepane. Requires FileBrowser plugin to be active. More: http://www.urbanpuddle.com/articles/2008/05/06/introducing-a-new-gedit-plugin-find-in-files
GtkSnippets gedit plugin
Adds snippets support using GtkSnippets and GtkSourceCompletion library. Homepage: https://sourceforge.net/projects/gtksnippets/
HTML export
Export highlighted text to HTML. Download: http://www.markus-jonsson.com/downloads/?path=./gedit-html-export
Download broken, files available from bugilla: Bug report: gnomebug:323588
HTML Tidy
Clean up your web pages with Dave Raggett's HTML Tidy More: http://www.eng.tau.ac.il/~atavory/gedit-plugins/html-tidy/
Language Reference/ Programming Help
Showing a external Language Reference/ Programming Help (can be a XML DocBook, PDF, HTML page, CHM Windows helpfile or PostScript file) from "~/.gnome2/gedit/help" http://my.opera.com/area42/blog/gedit-language-reference-plugin
Lastdocs
Exposes a simple dialog that shows you the last opened files which can be edited with gEdit. More: http://littleprogramming.blogspot.com/2008/03/lastdocs-plugin-for-gedit.html Download: bzr branch http://bazaar.launchpad.net/~macco-gmx/+junk/lastdocs-gedit-plugin
LaTeX
LaTeX and BibTeX the currently open file. Download: attachment:gedit-latex-plugin-0.1.0.tar.gz
Line-spacing
Increase or decrease spacing between lines. Download: http://users.tkk.fi/~otsaloma/gedit
Line Tools Plugin
Provides useful line functionality to increase editing efficiency. Features include line duplication, bookmarking, and more! Gedit/LineToolsPlugin
Live HTML Timestamp
Insert and update a live timestamp in an HTML file à la XEmacs' HTML mode Homepage: http://vax64.dk/live-html-timestamp/
New from Template
Create a new file based on a custom defined template http://my.opera.com/area42/blog/gedit-template-plugin
Regex Search & Replace
For search and replace in documents using regular expressions. Download : http://vaem.googlecode.com/files/gedit2_regex_replace_plugin.tar.gz
If you just want to search text in documents using regular expressions (regex). Download: http://tapioca-voip.sourceforge.net/regexsearch_gedit_plugin.tar.gz
Regex Search Files
Search text in files using regular expressions (regex). Download: http://int.ractable.com/gedit-plugins/regexpsearchfiles-0.2.1.zip or for older Gedit that doesn't use GtkSourceView2 http://int.ractable.com/gedit-plugins/regexpsearchfiles-0.2.zip
Remote Filesystem Save Workaround
For people who edit files on remote filesystems and get a warning every time they save that the file has been modified. Download: http://chrisnicholls.ca/wp-content/uploads/2008/03/netsave-gedit-plugin-0.1.tar.gz More: http://chrisnicholls.ca/code/gedit-plugins/
Reopen Tabs
Loads recently opened documents when Gedit starts. More: http://code.google.com/p/reopen-tabs-gedit-plugin/
Run in Python
Adds (to the Tools menu) an option that allows you to run the current document in the Python interpreter. Interpreter output appears in the bottom panel. Version 1.02 - Prevents Zombies and adds a clear console menu item. Also fixes possible naming conflict. Download: http://www.psyguygames.com/RunInPython_plugin1.02.tar.gz
Save without trailing space
Automatically strip all trailing whitespace before saving. Download: http://users.tkk.fi/~otsaloma/gedit
Seahorse
Encrypt the current document. Download: http://gnome.org/projects/seahorse
Sced
SuperCollider interaction plugin. Download: http://artfwo.googlepages.com/sced
SnapOpen
A regex open file dialog that resembles that of Textmate. Download: http://www.upperbound.net/upperbound/show/SnapOpen+plugin+for+Gedit
Speakit
Speaks the current document Download: http://www.members.optusnet.com.au/peterwolf43/speakit.tar.gz
Special Symbols insertion tool. Sets of symbols can be manually configured. Download: http://www.medini.org/software/gedit/gedit.html
Tab close
Close gedit window when last tab is closed. Download: http://blog.goranrakic.com/archives/tabclose.html
Symbol Browser
A tree-view style, ctags based symbol browser supporting any ctag symbol type Download: http://www.micahcarrick.com/11-14-2007/gedit-symbol-browser-plugin.html
Tab convert
Convert tabulator spaces to whitespaces and vice versa. Download: http://www.stambouliote.de/projects/gedit_plugins.html
Splitview plugin
A simple splitview plugin Download: http://webdav.tielie.com/gedit-plugins/splitview/
Alternate SplitView plugin with a couple of additional features. Download: http://www.psyguygames.com/SplitView2.tar.gz
Word completion
Display a completion popup, updating as you type, with suggestions from all words in all documents in all windows. Select completions with arrow keys and complete with the tab key. See screenshot. Download: http://users.tkk.fi/~otsaloma/gedit
Word wrap
Re-wrap paragraphs, trying to respect line indenting and prefixing. Download: http://jerakeen.org/svn/tomi/Projects/gedit-plugins/word-wrap/
Project Manager
Group files together into projects, and save them. Download: http://sourceforge.net/projects/gedit-fileset
Multiple Copy/Paste Channels
Use Ctrl+[0-9] to copy to one of 10 channels, and Ctrl+Alt+[0-9] to paste from them. Download: http://www.dave-sullivan.com/project/gedit-copy
Automatically Strip All Trailing Whitespace In PHP
Automatically strip all whitespace after ?> tag in PHP files, after they are saved. Download: http://ahwayakchih.neoni.net/files/trimends4php.tar.gz
Strict Tabulation
Set tabulation as 4 spaces to Python and PHP and 2 spaces for Ruby. Update: Added item to Edit menu. Latest version: svn co http://svn.simplesideias.com.br/general/gedit/plugins/tabulation/
Current Line Background Color
Set the current line background color. Update: Configuration dialog added. Latest version: svn co http://svn.simplesideias.com.br/general/gedit/plugins/current_line/
Quick Highlight Mode
Shortcut for Highlight Mode with autocomplete - Just press Ctrl+Shift+H Latest version: svn co http://svn.simplesideias.com.br/general/gedit/plugins/quickhighlightmode/
ToDo List
Gedit version for the ToDo List Textmate bundle. Make sure you read the README file. View screencast: http://f.simplesideias.com.br/screencasts/todo_list.ogg Latest version: svn co http://svn.simplesideias.com.br/general/gedit/plugins/todo/
Rails Hotkeys
Open files in your Ruby on Rails project by pressing hotkeys. After install, press Ctrl+Shift+R and then F1 for a list of available hotkeys. Latest version: svn co http://svn.simplesideias.com.br/general/gedit/plugins/rails_hotkeys/
Rails Hot Commands
Type CTRL+ALT+C and rch open a list of Rails/Rake commands, click run and RHC will open a Shell Prompt (embedded) with your command. Download: http://code.google.com/p/rhc/
Reident
Reindent the code following PEP008 Guidelines. Download: http://live.gnome.org/Gedit/Plugins/Reindent
Automatic compilation for SWFTools
Automatically call swfc compilation for saved file, if it has ".swfc" extension. Download: http://ahwayakchih.neoni.net/files/swfc.zip
Dictionary
Gnome dictionary integration for gedit. Download: svn checkout --username anonsvn https://forxa.mancomun.org/svn/dict-plugin Password: anonsvn
Snipplr Plugin
Use the service snipplr.com, search snippets by tag, copy them into your document or upload your favourite pieces of code to snipplr. Download: http://www.ardeenelinfierno.com/wordpress/code/gedit-snipplr-plugin/
Open tran
Use open tran service in gedit. Download: svn checkout --username anonsvn https://forxa.mancomun.org/svn/open-tran Password: anonsvn
Vi(m) key bindings
Makes it possible to use Gedit as modal vi-style editor Website: https://launchpad.net/vigedit/
Download (use bzr): bzr branch http://bazaar.launchpad.net/~tristil/vigedit/main-method
Third party plugins under development
Below follows a list of third party plugins that still need some development:
Advanced editing
Provides access to advanced editing features More: Gedit/AdvancedEditingPlugin
Simple bashterminal plugin that will "CD" to the current document directory automatic Download: http://webdav.tielie.com/gedit-plugins/bashterminal/
Collaborate
Allows multiple users to edit the same document simultaneously More: http://mattcolyer.com/projects/collaborate/
Column Mode
Column-mode editing for gedit. More: Gedit/Plugins/ColumnMode
CTags parser
CTags parsing plugin showing symbols in the side panel There are two plugins dealing with ctags at the moment (both are unfinished and need work): Gedit/PluginCodeListing (JesseVanDenKieboom) and one at http://people.cc.jyu.fi/~gfekete (also does CScope, looking for a maintainer and coder, drop the author an email if interested)
Document Properties
Shows certain file related information (access time, modification time, owner, permissions, size, etc). Download: http://sayamindu.randomink.org/software/docprop/docprop-0.2.tar.gz Bugreport: gnomebug:322497
Function browser
GEdit function browser plugin provides an easy way to navigate through sources files with GEdit. This plugin uses Exuberant CTags for parsing process and returned back results in GEdit left panel. Mostly tested under C and C++ files. A Bookmarking support has been delivered in version 0.2. More: http://sourceforge.net/projects/gedit-funcbrows/
Full screen
Make gedit full screen (very easy to implement) Comment: PaoloBorelli: I somewhat think that this should be in the main program, not a plugin Comment: GwilymStill: made a quick attempt at this, based on the tutorial. fullscreen-2006-07-13.tar.bz2 Please feel free to modify &/or improve. Comment: PaoloMaggi: See http://hogbaysoftware.com/projects/writeroom
Husband a build(make) GUI frontend for gedit
Husband is a make frontend for gedit Download: http://webdav.tielie.com/gedit-plugins/husband/
LangSwitch - Open C/H file menu
Adds a menu and popupmenuitem Open (header/sourcefile) that will be active when a source C/H file is the current opened document Download: http://webdav.tielie.com/gedit-plugins/langswitch/
LaTeX Plugin
Assists you in writing and exporting LaTeX documents This is supposed to provide a solution for gnomebug:163170 More: Gedit/LaTeXPlugin
Markdown support
syntax coloring, snippets and embedded HTML preview More: Gedit/MarkdownSupport
Exprimental plugin to add possibility to show two documents in the same window at the same time Screenshoot: http://webdav.tielie.com/screenshots/multiview.png Download: http://webdav.tielie.com/gedit-plugins/multiview/
* Open terminal here
Opens a terminal at the location of the current file. FIXED Download: http://www.gafouri.net/files/open-terminal-here.tar.gz
Open URI Context Menu
Adds context menu item to open/browse an URI at the pointer position. Download: http://wiki.sukimashita.com/GEdit_Plugins
Pylint plugin
Run and Highlight Pylint errors from Python sources. More: Gedit/PylintPlugin
Python outline
Provides a Python code outline side panel More: Gedit/PythonOutlinePlugin
PO editor
Simplifies most often used operations at editing PO-files. Download: http://sourceforge.net/projects/gedit-pomode/
reStructuredText support
Includes HTML preview plugin based on Markdown support (and adds Textile preview), syntax highlighting, some snippets. Info page and download: http://textmethod.com/wiki/ReStructuredTextToolsForGedit
Send to
Send the active document to an email recipient Download: http://sd-8971.dedibox.fr/files/gedit/sendto.tar.gz
Switcher
A simple plugin that will show a listview with all opened documents. Activated by pressing <Control>Escape you then can simply select other file you want to show Download: http://webdav.tielie.com/gedit-plugins/switcher/
Word completion
Make all the words in a document available for insertion through a popup Download: http://guichaz.free.fr/misc/
Word Completion with tabulator
Complete a word by pressing <Tab>, like in a common unix console Download: http://elias.hiex.at/gedit-plugins
Requested plugins
Useful plugins that have not been written yet:
Automatic code-completion
Automatic complete symbols, in particular for C (or automatic ctags generation?)
Bookmarks
A bookmarks plugin Bug report: gnomebug:116737 Update: Funcbrowser plugin below implement this bookmark feature.
Bookmarking
Bookmarking multiple files Bug report: gnomebug:321314
Code autoformat
Automatically apply a chosen coding style while typing. A plugin that lets the user select a coding style (or even pull it from the mode line if possible). While typing the style is applied automatically, e.g. with gtk's style "if (foo) {" would automatically put the "{" in the next line and indent appropriately. Not to be confused with templates (like e.g. in Eclipse), no characters should be inserted automatically. What to autoformat:
- do, for, if, while
- argument lists
- space between function name and left paren
- add more here ...
Common refactorings
Add some common refactoring for programmers: extract method, pull method, replace with constant, etc
CVS
Plugin which handles CVS projects Bug report: gnomebug:164662 Comment: JesseVanDenKieboom: I think this should be in the projects manager plugin which needs to be developed as well as SVN and maybe more types of projects. I'm going to start working on this soon
End of line
Convert line endings to switch from UNIX to DOS to Mac text format. Bug report: gnomebug:103753
Diff
It could be handy to use gedit to compare different versions of a file, or similar files. Comment: RoryMcCann meld (http://meld.sourceforge.net) is a GNOME diff GUI. Rather than reimplementing meld in gedit, closer gedit/meld intergration would be better.
Filling-text in current paragraph
Add a "fill-text in current paragraph" command like the "Meta-Q" command in GNU Emacs. Bug report: gnomebug:149081
Google Notebook
A plugin which could post a note to Google notebook making it available online.
Insert file
Insert a file in the active document at the cursor position Bug report: gnomebug:154621
Latex
A LaTeX plugin (has been discussed several times on the mailing list Bug report: gnomebug:163170 and duplicates Assigned to: MichaelZeising (see Gedit/LaTeXPlugin)
Open Favorite
Open favorite as in UltraEdit Bug report: gnomebug:133526
Pair character autocompletion
Implement some of Scribes' source-code-oriented features. Examples: pressing ( inserts a ) after the cursor; selecting text and pressing ' inserts the character after and before the selected text (rather than replacing it).
Perl debugger integration
Add debugging capabilities (including space to store environment variables) to make gedit a lightweight IDE
Plugin Selector
A plugin to determine whether other plugins should be activated or not. E.g., with filenames *.tex you could enable the LaTeX plugin, but for other file types you don't need the plugin.
Python debugger integration
Add python debugging capabilities to make gedit a nice python IDE
Python Code-completion
Usefull for python programmers
Python Unit testing support
Integrate python's default unit testing framework pyunit
Reload current page
A plugin that detects if the document has been altered by a third party program, and offers to reload it
Replace in all documents
A plugins to replace an expression in all the opened documents/tabs
SDI
A proper SDI interface, where each document gets its own window. The plugin should also hide the tab, as it will just be wasting vertical real estate and confuse users. Bug report: gnomebug:105196 Assigned to: JesseVanDenKieboom: I've implemented this as part of the core since implementing it through a plugin would require a lot of workarounds and dirty hacks. You can find my work in the sdi_mdi cvs/svn branch.
Search in files
Search in all currently opened document instead of only the active document
Shell script plugin
Provide a monitored scripts folder (just like nautilus), redirecting stdout to the gedit document Download: http://jannone.org/shellscript/ Bug report: gnomebug:313834
Split pane
Add multiple views of the current document, editable simulatenously (and kept in sync)
URL Launcher
Allow detection and launching in default browser of URLs within document Download: http://wiki.sukimashita.com/GEdit_Plugins
Wiki
A plugin that allows editing in wiki style More: Gedit/WikiPlugin
Zoom
Zooming in or out on the text Bug report: gnomebug:152730
XML helper
Makes editing of XML files faster Bug report: gnomebug:163014
Now the plugin attached to this bug is obsoleted by Gedit/XMLHelperPlugin.
Howto write plugins
Plugins can be written in both C and Python. The recommended language is Python, because it's very easy to write plugins in very little code in comparison to C. Although python is most of the time the best choice, when a plugin depends on a C library it's obvious that the plugin has to be written in C.
