Fwd: Bug#27716: see function under container file in project treeview

Bernd Gehrmann bernd at physik.hu-berlin.de
Sun Jul 1 14:46:30 UTC 2001


On Sat, 30 Jun 2001, Richard Dale wrote:

> On Fri, 29 Jun 2001, jbb wrote:
> > Also is there differences in the class view between java and c++ and python 
> > and other class languages? I say there was, but I'm a bit limited on the 
> > language knowledge. Hmmmm....
> Java has 'package' access, as well as 'private', 'protected' and 'public' -
> there is no icon to display this, nor an attribute type in the C++ class parser
> interface for holding that (currently 'package' is held as 'protected' I
> think)

Feel free to extend the class store to support that. BTW, what about a
little api cleanup? Apparently you have added accessors with non-standard
names in order to avoid breaking existing code, but IMO renaming the
variables instead would look more consistent.

> Java has interfaces as well as classes - they are shown with the same
> icon in the class view. 
> 
> Java classes often have long package names like 'org.kde.koala.KAction'.
> The class parser doesn't handle fully qualified class names containing '.'s at
> the moment. A '.' might need to be converted to a '/' (slash), when a path plus
> classname is added to the class store, as '.'s have a special meaning
> internally. The '/'s would need to be converted back to '.'s on display.

Don't you create namespaces (ParsedScope) for packages? In that case, the
'.' is an implementation detail and shouldn't collide with any of your
identifiers.

Bernd.


-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list