JavaScript plugin

Niko Sams niko.sams at gmail.com
Sun Oct 28 10:54:20 UTC 2012


wow, that's a long list!
I would be very interested in having basically all points you metioned.

I would suggest you start in small steps and start sending patches to
reviewboard.
If you have any questions just ask here :D

regarding JS support: don't implement your own parser. Aleix started a
QML plugin with
also javascript support.
You'll find it here: scratch/apol/kdev-qmljs.git
it reuses the QtCreator parser (local copy) from which we can get the
AST direclty.
So that's probably the easiest way to go.

cheers,
Niko

On Fri, Oct 26, 2012 at 11:47 PM, Tatsh <ddrtist at gmail.com> wrote:
> Yes. I have limited time during the week (but generally free on
> weekends). I am very interested in improving my IDE and hopefully this
> will result in increased productivity both at work and at home.
>
> I have some other goals too:
> - Complete PHP 5.4 support (including parsing namespaces, `use` statements, etc)
> - Symfony 2 support (this is a special project type with a lot of
> special needs that don't necessarily fit into the PHP project)
> - Twig template support (this is similar to Django templating, so if
> that's already done...)
> - Sass, SCSS, etc with built-in integration with Compass (gem install
> compass) (this one might be a bit far fetched)
> - CSS auto-completion
> - Node.js integration with JavaScript support (for debugging and unit testing)
> - JavaScript Minification (with Closure Compiler, UglifyJS) support
> (this is similar to compiling C/C++ and parsing the GCC output)
>
> The end goal really is to make KDevelop a lot more friendly to web
> development. Without JavaScript support and full PHP 5.4, a lot of the
> features (namely auto-completion) are lost.
>
> Andrew
>
> On 26 October 2012 12:49, Friedrich W. H. Kossebau <kossebau at kde.org> wrote:
>> Am Mittwoch, 24. Oktober 2012, 18:14:40 schrieb Tatsh:
>>> I started a project but it's basically the PHP grammar file partially fixed
>>> for JavaScript.
>>>
>>> https://github.com/Tatsh/kdev-js
>>
>> Thanks for the pointer.
>>
>> I will have a look in the next weeks on it, so far my most promising bet on
>> getting javascript support in KDevelop. :)
>>
>> Are you interested in pushing your work some more the rest of this year? I
>> surely would like to work on it, and four hands (?) hopefully would speed up
>> things.
>>
>> Cheers
>> Friedrich
>>
>>> On Oct 24, 2012, at 10:19, "Friedrich W. H. Kossebau" <kossebau at kde.org>
>> wrote:
>>> > Hi Andrew,
>>> >
>>> > Am Dienstag, 17. April 2012, 20:58:54 schrieb Tatsh:
>>> >> I am looking into the KDevelop PHP plugin for ideas on how to properly
>>> >> begin a plugin. I'd like to implement JavaScript support, including code
>>> >> completion, type detection (via annotations and literal/new notation),
>>> >> 'this' detection, etc.
>>> >
>>> > I am currently also driven by the needs for better Javascript support in
>>> > KDevelop and found this thread.
>>> >
>>> > Was any code created after these emails? Where can it be found?
>>> >
>>> > I would happily join this subproject, if it exists.
>>> > If not, sigh, would create one for it myself. :)
>>> >
>>> > Cheers
>>> > Friedrich
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel




More information about the KDevelop-devel mailing list