Re: css langauge support skeleton
Saulo Soares de Toledo <[email protected]> Sat, 1 Aug 2009 21:00:36 -0300
| Newsgroups | gmane.comp.kde.devel.quanta |
|---|---|
| Message-ID | <[email protected]> |
--===============1403765010== Content-Type: multipart/alternative; boundary=0016e6469256d523da04701d578d --0016e6469256d523da04701d578d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Great! Thanks Niko! If Matt has more experience than me here he can start, ok? I'm a little lost yet woth some things. I will try use Aptana (http://www.aptana.com/) ideas here. Saulo 2009/8/1 Matt Rogers <[email protected]> > On Saturday 01 August 2009 01:13:55 am Niko Sams wrote: > > Hi Saulo, > > > > As you want to help us on Quanta4 and you said css support is the first > > thing on your list I created a new css language support here: > > /trunk/playground/devtools/kdevelop4-extra-plugins/css/ > > > > You can checkout and start from there. The first and most important part > > for proper css support is of course code completion. > > For that you will find CodeCompletionModel in completion/model.cpp. > > Documentation is here: > > > http://api.kde.org/4.x-api/kdelibs-apidocs/interfaces/ktexteditor/html/clas > >sKTextEditor_1_1CodeCompletionModel.html > > > > Basically you have to do some string operations in completionInvoked() to > > find out what completion items should be shown. For that you need > somewhere > > a list of valid css rules... > > Nice would be to show what browser supports it. > > > > I'd test the plugin in KDevelop - as it's currently more stable then > > Quanta. > > > > If you have any questions you know where you can find me :D > > > > much fun, > > Niko > > Awesome Niko! Thanks! > > I was getting ready to start on the very same thing. > -- > Matt > > _______________________________________________ > quanta-devel mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/quanta-devel > > --0016e6469256d523da04701d578d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Great! Thanks Niko!<br>If Matt has more experience than me here he can star= t, ok? I'm a little lost yet woth some things.<br><br>I will try use Ap= tana (<a href=3D"http://www.aptana.com/">http://www.aptana.com/</a>) ideas = here.<br> <br><br>Saulo<br><br><div class=3D"gmail_quote">2009/8/1 Matt Rogers <span = dir=3D"ltr"><<a href=3D"mailto:[email protected]">[email protected]</a>></spa= n><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb= (204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><div></div><div class=3D"h5">On Saturday 01 August 2009 01:13:55 am Ni= ko Sams wrote:<br> > Hi Saulo,<br> ><br> > As you want to help us on Quanta4 and you said css support is the firs= t<br> > thing on your list I created a new css language support here:<br> > /trunk/playground/devtools/kdevelop4-extra-plugins/css/<br> ><br> > You can checkout and start from there. The first and most important pa= rt<br> > for proper css support is of course code completion.<br> > For that you will find CodeCompletionModel in completion/model.cpp.<br= > > Documentation is here:<br> > <a href=3D"http://api.kde.org/4.x-api/kdelibs-apidocs/interfaces/ktext= editor/html/clas" target=3D"_blank">http://api.kde.org/4.x-api/kdelibs-apid= ocs/interfaces/ktexteditor/html/clas</a><br> >sKTextEditor_1_1CodeCompletionModel.html<br> ><br> > Basically you have to do some string operations in completionInvoked()= to<br> > find out what completion items should be shown. For that you need some= where<br> > a list of valid css rules...<br> > Nice would be to show what browser supports it.<br> ><br> > I'd test the plugin in KDevelop - as it's currently more stabl= e then<br> > Quanta.<br> ><br> > If you have any questions you know where you can find me :D<br> ><br> > much fun,<br> > Niko<br> <br> </div></div>Awesome Niko! Thanks!<br> <br> I was getting ready to start on the very same thing.<br> --<br> <font color=3D"#888888">Matt<br> </font><br>_______________________________________________<br> quanta-devel mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"https://mail.kde.org/mailman/listinfo/quanta-devel" target=3D"_b= lank">https://mail.kde.org/mailman/listinfo/quanta-devel</a><br> <br></blockquote></div><br> --0016e6469256d523da04701d578d-- --===============1403765010== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ quanta-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/quanta-devel --===============1403765010==--