Ericsson / CodeCompass

CodeCompass is a software comprehension tool for large scale software written in C/C++ and Java
https://codecompass.net
GNU General Public License v3.0
517 stars 101 forks source link

Handling namespaces separated in full qualified names #649

Open schaumb opened 11 months ago

schaumb commented 11 months ago

The types/statements are handled together with their namespaces. It would be handy if the user could go to the namespace definitions/declarations, and it can be seen where are used the namespaces.

namespace A { // here it can be shown a list with the main function first line because there is a usage
  void b() {}
}

int main() {
 A::b();
 // [A]::[b()];
 // [A] connected to the namespace
 // [b()] connected to the function declaration
}
using Namespace1::Namespace2::function;
// using [Namespace1]::[Namespace2]::[function];