New parser branch (Was: Dumping the source DOM?)
jeroen.dierckx at gmail.com
Fri Jul 15 15:48:04 UTC 2005
On 7/15/05, Antoine Chavasse <a.chavasse at gmail.com> wrote:
> On 7/15/05, JeDi <jeroen.dierckx at gmail.com> wrote:
> When refactoring, eclipse displays a window where you can check what
> will be changed. You can select files/classes that are going to be
> modified in a tree, and the changes are displayed using the difference
That would be a very good aproach I think. In that way the user can
see at forehand when the refactoring will fail, and can cancel /
> By the way, for a java app, eclipse is pretty fast when it comes to
> code completion and on-the-fly parsing, and has implemented a lot of
> useful refactoring operations, so it might be a worthwhile source of
> inspiration, especialy as it's open-source, unlike visual assist -
> even tough it's java and not C++.
Eclipse is indeed pretty advanced when it comes to code completion /
refactoring for java. I haven't had a look at the code though, so I
have no idea how it is implemented, and if it its code is readable
enough to be of any help in kdevelop.
For C++ though, code completion and refactoring is a whole other
story, as c++ is much harder to parse correctly, certainly in
real-time (as this discussion has already proven).
Correct me if I'm wrong, but doesn't Eclipse have a c++ plugin?
Haven't used it yet, but that could indeed be a valuable resource.
I know Visual Assist isn't open source, not even free. But maybe
someone has found a design document or something about it.
More information about the KDevelop-devel