From kwrite-devel Sun Aug 21 12:16:26 2005 From: Stefan Walkner Date: Sun, 21 Aug 2005 12:16:26 +0000 To: kwrite-devel Subject: Re: PHP indentation Message-Id: <200508211416.26476.walkner.stefan () sbg ! at> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=112462662405315 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