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

List:       quanta-devel
Subject:    Re: [quanta-devel] Class autocompletion - a new era
From:       Eric Laffoon <sequitur () easystreet ! com>
Date:       2005-02-21 22:29:35
Message-ID: 200502211429.35438.sequitur () easystreet ! com
[Download RAW message or body]

On Monday 21 February 2005 09:09 am, Andras Mantia wrote:
> Hi,
>
>  Well, finally it works. I cannot say how good it is, maybe it misses
> many cases, but with my simple example it works. Attached are two PHP
> files. Try CTRL-SPACE after the various "->" strings.
> You need to put the attached tag file to the PHP DTEP directory as well
> to see the autocompletion for $f, $f2, $f3.
>
> Andras

I tried this without reading the above with one of my files and obviously it's 
a no go. What is interesting is that this does generate the autocompletion 
after $this-> in the class file. So what we have here seems like a real good 
start that lacks the final step to make it really useful. Originally I 
suggested the option that the private DTEP could be generated/used as a 
possible solution and also as it might be a benefit for caching in large 
projects. If it is required for external use then we need a solution to make 
it functional, one of the following...

1) auto generate on open of class files
2) some scripting ability to create these

Ideally any indication that the file has been updated would trigger a reparse 
either from the file or if it happened in a repository update, from the 
calling file. At the very least we should have some way to request DTEP files 
be generated as opposed to having to create them. The main reason I bring 
this up as before I write a script for this it seems that the parser is 
generating these in the file. The real question is how do we make this work 
for users in a practical way that is not more work that it's worth to use it?

Eric
_______________________________________________
quanta-devel mailing list
quanta-devel@kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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