css langauge support skeleton

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

css langauge support skeleton

by Bugzilla from niko.sams@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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/classKTextEditor_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
_______________________________________________
quanta-devel mailing list
quanta-devel@...
https://mail.kde.org/mailman/listinfo/quanta-devel

Re: css langauge support skeleton

by Bugzilla from mattr@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
quanta-devel@...
https://mail.kde.org/mailman/listinfo/quanta-devel

signature.asc (205 bytes) Download Attachment

Re: css langauge support skeleton

by saulotoledo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <mattr@...>
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
quanta-devel@...
https://mail.kde.org/mailman/listinfo/quanta-devel



_______________________________________________
quanta-devel mailing list
quanta-devel@...
https://mail.kde.org/mailman/listinfo/quanta-devel

Re: css langauge support skeleton

by Bugzilla from niko.sams@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Aug 2, 2009 at 02:00, Saulo Soares de
Toledo<saulotoledo@...> wrote:
> Great! Thanks Niko!
> If Matt has more experience than me here he can start, ok? I'm a little lost
> yet woth some things.
Just ask any question you have. Are you familiar with
QAbstractItemModel? That would help...

> I will try use Aptana (http://www.aptana.com/) ideas here.
yes - aptana is pretty good.


Niko
_______________________________________________
quanta-devel mailing list
quanta-devel@...
https://mail.kde.org/mailman/listinfo/quanta-devel

Re: css langauge support skeleton

by saulotoledo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just ask any question you have. Are you familiar with
QAbstractItemModel? That would help...

No, I don't know nothing about. :(


_______________________________________________
quanta-devel mailing list
quanta-devel@...
https://mail.kde.org/mailman/listinfo/quanta-devel

Re: css langauge support skeleton

by Bugzilla from niko.sams@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Aug 2, 2009 at 19:17, Saulo Soares de
Toledo<saulotoledo@...> wrote:
>> Just ask any question you have. Are you familiar with
>> QAbstractItemModel? That would help...
>
> No, I don't know nothing about. :(
>
here you can read about it:
http://doc.trolltech.com/4.5/model-view-programming.html
_______________________________________________
quanta-devel mailing list
quanta-devel@...
https://mail.kde.org/mailman/listinfo/quanta-devel