auto completeion for Gedit

Bug #111264 reported by Timmie
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit
Fix Released
Wishlist
gedit (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs
Declined for Gutsy by Pedro Villavicencio
Declined for Hardy by Pedro Villavicencio

Bug Description

Binary package hint: gedit

Inlcude this plugin for Gedit to enable auto word completion

gEdit Autocomplete: chose from a list of suggestions to complete words in gEdit
http://gedit-autocomp.sourceforge.net

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. There is already autocompletion for programming languages, no? What do you want to get completed and how?

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: Unconfirmed → Needs Info
Revision history for this message
Timmie (timmie) wrote :

> There is already autocompletion for programming languages, no?
Yes.
> What do you want to get completed and how?
the above mentioned plugin completes words in any texts (plain, script, program) that you type in. if there are more than one opportunities than you may select the suitable one and press TAB like in any terminal to complete.

Very useful for non touch-typers but also for programmers who have to reenter variables etc. in their scripts.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Not sure if that's something which should be part of a simple text editor like gedit, I've sent the request upstream though to get their opinion about it, http://bugzilla.gnome.org/show_bug.cgi?id=439174

Changed in gedit:
status: Needs Info → Confirmed
Changed in gedit:
status: Unknown → Unconfirmed
Revision history for this message
Curtis Hovey (sinzui) wrote :

While not advocating the autocomplete plugin recommend in this issue, An autocomplete plugin for gedit-plugins would compliment the spell check plugin.

Changed in gedit:
status: Confirmed → Triaged
Revision history for this message
Bruno (brunovecchi) wrote :

I think that it would come in handy when writing scripts. Autocompletion lets you have long and meaningful variables names ($childrensmothersurname) without making its retyping a burden. I understand that it's a lot to ask for for a 'simple text editor', but it could come as an optional plugin.
Some of us don't like vi or emacs! :) And oh, Kate already has it :p.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

This bug was nominated for Gutsy but does currently not qualify for a
7.10 stable release update (SRU) and the nomination is therefore
declined.

According to the SRU policy, the fix should already be deployed and
tested in the current development version before an update to the stable
releases will be considered. With 7.10 now released, that policy applies
to this bug. See: https://wiki.ubuntu.com/StableReleaseUpdates

The bug is not being closed as work will continue on fixing it for the
next release, Hardy Heron (8.04). If the state of this bug should change
such that it qualifies for the SRU process, please contact the person
who originally declined it and ask them to re-evaluate it. To help
improve the state of this bug see:
https://wiki.ubuntu.com/Bugs/HowToTriage

Revision history for this message
seanh (seanh) wrote :

Seb, I don't understand your first comment. As far as I can tell, Gedit does not have autocompletion, either for programming languages (lets call that 'code completion') or for words generally ('word completion'), I don't see any option or plugin to enable this, even with the gedit-plugins package installed.

There _are_ third party plugins for both features, but you currently have to download and install them manually. From this page http://live.gnome.org/Gedit/Plugins there is the "Document Words Completion" plugin and two "Word completion" plugins (all three do the same thing, from the descriptions), then there is the "Automatic code completion" and "Python code-completion" plugins which sound more like code completion for programming languages.

I haven't tried any of these, some of them are not simple to install manually as they have dependencies. Assuming they work well, it would be great to see them packaged so they would be easy to install.

In general, I think gedit needs an automatic way to find and install plugins, since quite a lot of features are implemented by plugins.

Am I missing something?

Revision history for this message
Curtis Hovey (sinzui) wrote : Re: [Bug 111264] Re: auto completeion for Gedit

On Fri, 2008-05-30 at 14:10 +0000, seanh wrote:
> Seb, I don't understand your first comment. As far as I can tell, Gedit
> does not have autocompletion, either for programming languages (lets
> call that 'code completion') or for words generally ('word completion'),
> I don't see any option or plugin to enable this, even with the gedit-
> plugins package installed.
>
> There _are_ third party plugins for both features, but you currently
> have to download and install them manually. From this page
> http://live.gnome.org/Gedit/Plugins there is the "Document Words
> Completion" plugin and two "Word completion" plugins (all three do the
> same thing, from the descriptions), then there is the "Automatic code
> completion" and "Python code-completion" plugins which sound more like
> code completion for programming languages.

The leading plugin for text and code complete is GtkSourceCompletion.
It is being integrated into GTKSourceView2, the document editor used by
Gedit. The effort should be completed for the September 2.24 release of
GNOME, which will be in Ubuntu 8.10.

> I haven't tried any of these, some of them are not simple to install
> manually as they have dependencies. Assuming they work well, it would be
> great to see them packaged so they would be easy to install.
>
> In general, I think gedit needs an automatic way to find and install
> plugins, since quite a lot of features are implemented by plugins.

That would be nice.

Revision history for this message
Nicola Ferralis (feranick) wrote :

Is the plugin actually being merged in GNOME 2.24? Does this bug still apply to Jaunty and Karmic?

Revision history for this message
Curtis Hovey (sinzui) wrote :

The developers are actively discussing it. The completion missed the deadline to be included in the default installation of gedit. It will not be available in karmic.

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

This is fixed upstream now for the 2.29.1 release of gedit. Upstream comment:
>>>
There is now a word completion plugin in gedit-plugins.
<<<

Changed in gedit (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

This is now fixed in Ubuntu 10.04. Thanks for reporting.

Changed in gedit (Ubuntu):
status: Fix Committed → Fix Released
Changed in gedit:
importance: Unknown → Wishlist
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.