[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: PHP indentation
From:       Stefan Walkner <walkner.stefan () sbg ! at>
Date:       2005-08-21 12:16:26
Message-ID: 200508211416.26476.walkner.stefan () sbg ! at
[Download RAW message or body]

hello,

thank you for your answer

> php addons are fine, but just for info: you can not write a php indenter 
> with a plugin (because this is not supported).
aha :) good to know!

> k, right place. Your .desktop file must contain something like:
>   Type=Service
>   ServiceTypes=Kate/Plugin
>   X-KDE-Library=libkatephpaddonsplugin
> this is especially important, as it tells the name of the library!
>   X-Kate-Version=2.4
>   Name=PHP Tools
yes, it does look exactly like this

> >  -> the libkatephpaddonsplugin.la and libkatephpaddonsplugin.so file
> > to /usr/kde/3.4/lib (I'm not completely sure about this because howto
> > says "kde module dir"...) -> but I tried to locate other kateplugins and
> > found out they are there or in the subdir /usr/kde/3.4/lib/kde3/
> not sure myself ;)
mhm thx

> Does your .cpp file defines something like:
> 
> extern "C"
> {
>   void* init_libkatephpaddonsplugin()
>   {
>     KGlobal::locale()->insertCatalogue("katephpaddons");
>     return new KatePluginFactory;
>   }
> }
yes it does - created by kdevelop

> Try again ;)
well - did not work :)
perhaps someone can confirm where the .so and .la files have to be placed...

> You can also join #kate on irc.kde.org for live help.
mhm good idea either.

> Also look at http://www.kate-editor.org, there is also a howto about writing 
> indenters.
thx for the info!

cheers,
stefan
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic