KDE 4 namespaces
ramagnus at t-online.de
Fri May 13 13:55:37 BST 2005
On Monday 09 May 2005 20:21, Fred Schaettgen wrote:
> Speaking of eclipse - if you type something that is fully qualified with
> all namespaces, then eclipse automatically chops the namespaces of and adds
> an import statement at the top.
I think it should actually be the other way round. One advantage of namespaces
is that they have a documenting effect on the code. A disadvantage is that
you have to type more. With that eclipse "feature", you'd have to type more
and still don't get the positive effect.
It would be better if you could type just the unqualified name, and the editor
would automatically add the namespaces, or - if the name is ambiguous - give
a list and let the user choose.
More information about the kde-core-devel