Re: [gedit-list] Documentation plugin feature request



Thanks, All.

I will give it a try this weekend.

Jim



On Wed, Oct 17, 2012 at 10:36 AM, Jesse van den Kieboom <jessevdk gnome org> wrote:
gedit-code-assistance has just been released. I'm not sure if we will include the plugin directly in gedit, although we might at some point decide to merge it into gedit-plugins. For now the development happens in its own repository.


2012/10/17 Jim Campbell <jwcampbell gmail com>
Whoa - awesome, Jono!!  Quite a nice surprise to read this in my inbox. Will this be in gedit 3.8 then, or was it included in gedit 3.6?

Jim


On Fri, Oct 12, 2012 at 2:38 PM, Jono <jono foodnotblogs com> wrote:
Hey All,

Realized I never mentioned on this thread...
I added support for XML in the code-assistance plugin. It can also validate your document against an XML Schema Document or a RelaxNG file.

Jesse has merged it into the main repo on git.gnome.org

Feel free to tell me if you have any problems with it.

-Jono



On Fri, Mar 9, 2012 at 4:09 AM, Jesse van den Kieboom <jessevdk gnome org> wrote:
2012/3/9 Jono <jono foodnotblogs com>
Sounds good. The code-assistance plugin looks like what I was going to
do, though it was going to be in Python.

I'll see about adding the feature to code-assistance though. Looks
like its time for me to learn some Vala.

There are a lot of C XML libraries. Perhaps I will use libxml from
Gnome, unless anyone has a better suggestion.

I quickly looked into this before. Vala has bindings for libxml but unfortunately not yet for the relaxng part of libxml. It should not be difficult to add those bindings, but you will need to write a .vapi file (or extend the original one). I can help you with this if you want.
 
 

Meanwhile, if you need it, here is my plugin for non-real-time validation:
https://github.com/jonocodes/gedit-xmltools



On Wed, Mar 7, 2012 at 12:21 PM, Jesse van den Kieboom
<jessevdk gnome org> wrote:
> 2012/3/7 Jono <jono foodnotblogs com>
>>
>> Sounds like a fun project.
>>
>> I have started by porting the existing xmltools plugin to work with
>> Gedit 3 and I am adding RelaxNG support to it. It uses lxml.etree.
>>
>> Once I get things working I will take a look at adding some realtimeness.
>
>
> As discussed on IRC, it would maybe be nice to write an xml backend for the
> code assistance plugin (https://github.com/jessevdk/gedit-code-assistance).
> It already has all the infrastructure ready for this kind of thing. You only
> need to implement a backend subclass for xml and emit diagnostics.
>
>
>>
>> _______________________________________________
>> gedit-list mailing list
>> gedit-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gedit-list
>
>
_______________________________________________
gedit-list mailing list
gedit-list gnome org
http://mail.gnome.org/mailman/listinfo/gedit-list



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



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]