Skip to content

Latest commit

 

History

History
58 lines (31 loc) · 2.08 KB

README.md

File metadata and controls

58 lines (31 loc) · 2.08 KB

Code Auto-Complete Plugin for Gedit 3

The Code Auto-Complete Plug-in will allow the user to complete their code with ease and allow faster development.

Parts of this plugin are based on the work of Guillaume Chazarain, Elias Holzer and a part of is based on the [Pair Character Auto Completion Plug-in] (https://code.google.com/p/gedit-pair-char-autocomplete/)

Demonstration

Demo 1

Demo 2

Requirements

The plugin requires exuberant-ctags to be installed on the system.

To install Exuberant Ctags on Ubuntu, use the following command:

	sudo apt-get install exuberant-ctags

The plug-in was developed and tested for Gedit 3.14

Installation

  • Download the archive on your computer

  • Extract the files.

  • Open a terminal window and navigate to the extracted folder.

  • Type sh install.sh and hit Enter and you're good to go.

Usage

This plug-in allows you to use auto completion like you're used to it in any unix console. Write the first few characters of a word you've already written in your text and hit Tab. If there are more possibilities hit Tab more times to go through the results.

If you cycled through a few words, found the one you were looking for and want to write a tabulator, hit a key like Shift or Alt and Tab afterwards.

This plug-in also allows you to insert C and Python snippets in your code. Simply type the keyword e.g. while and press Ctrl + Space

Pair Character completion is also supported (e.g. ( ), { }, [ ], ' ', " ")

  • Tab : Cycle through matches
  • Ctrl + Space (when the cursor is at the end of a keyword) : Insert Snippet

Languages Supported

This plug-in current supports the following languages:

  • C
  • Python
  • Ruby

Support for more languages will be added soon along with other auto-completion features.

If there are any issues, please let me know.