Autocomplete HTML/XML tags?

View: New views
3 Messages — Rating Filter:   Alert me  

Autocomplete HTML/XML tags?

by Russell Dickenson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does anyone know of an way in which I can have gedit autocomplete
HTML/XML tags?  I have tried a plugin named XML Helper and it does
what I need but only when a hotkey is pressed.  The behaviour I want
is what's currently offered by SciTE, which inserts the closing tag as
soon as you complete the opening tag, and the cursor is shifted to
between the opening and closing tag.
_______________________________________________
gedit-list mailing list
gedit-list@...
http://mail.gnome.org/mailman/listinfo/gedit-list

Re: Autocomplete HTML/XML tags?

by Curtis Hovey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 2009-10-05 at 08:41 +1000, Russell Dickenson wrote:
> Does anyone know of an way in which I can have gedit autocomplete
> HTML/XML tags?  I have tried a plugin named XML Helper and it does
> what I need but only when a hotkey is pressed.  The behaviour I want
> is what's currently offered by SciTE, which inserts the closing tag as
> soon as you complete the opening tag, and the cursor is shifted to
> between the opening and closing tag.

I intend to extend the gdp syntax completer plugin to support a specific
set of completion that I want:

      * When starting an open tag, suggest elements that are already
        used
      * When in a tag, suggest attributes that are already used
      * When closing a tag, suggest the current open elements

I think this what you are asking for. I was not planning to start this
until November though :(


--

__C U R T I S  C.  H O V E Y_______
Guilty of stealing everything I am.



_______________________________________________
gedit-list mailing list
gedit-list@...
http://mail.gnome.org/mailman/listinfo/gedit-list

signature.asc (204 bytes) Download Attachment

Re: Autocomplete HTML/XML tags?

by Russell Dickenson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 5, 2009 at 10:31 PM, Curtis Hovey <sinzui.is@...> wrote:

> On Mon, 2009-10-05 at 08:41 +1000, Russell Dickenson wrote:
>> Does anyone know of an way in which I can have gedit autocomplete
>> HTML/XML tags?  I have tried a plugin named XML Helper and it does
>> what I need but only when a hotkey is pressed.  The behaviour I want
>> is what's currently offered by SciTE, which inserts the closing tag as
>> soon as you complete the opening tag, and the cursor is shifted to
>> between the opening and closing tag.
>
> I intend to extend the gdp syntax completer plugin to support a specific
> set of completion that I want:
>
>      * When starting an open tag, suggest elements that are already
>        used
>      * When in a tag, suggest attributes that are already used
>      * When closing a tag, suggest the current open elements
>
> I think this what you are asking for. I was not planning to start this
> until November though :(
>
>
> --
>
> __C U R T I S  C.  H O V E Y_______
> Guilty of stealing everything I am.


Curtis,

Thanks for your reply.  I have no problem with waiting.  I hope all goes well.
_______________________________________________
gedit-list mailing list
gedit-list@...
http://mail.gnome.org/mailman/listinfo/gedit-list