CoatiSoftware / SourcetrailDB

Library to export Sourcetrail compatible database files for writing custom indexers
Apache License 2.0
287 stars 69 forks source link

Setting and Action to hide all non-index Symbols #28

Closed fsimonis closed 4 years ago

fsimonis commented 4 years ago

Problem Description The graph-view gets cluttered very quickly with non-indexed symbols.

This is especially problematic in C++ while using caller/callee graphs with multiple levels. In such cases, the view gets quickly filled with the non-indexed interface-symbols of other libraries such as the STL, Boost and other dependencies.

Proposed Solution I propose a local and global way of hiding non-indexed symbols.

  1. Add an option to the context menu of the graph view allowing to "Hide all non-indexed nodes".
  2. Add an option in the preferences to globally disable non-indexed symbols in the graph view "Show non-indexed symbols in graph". Possibly next to "Show build-in types in graph when referenced".

Thank you very much for developing this awesome software!

fsimonis commented 4 years ago

Just realized that this is the wrong repo. New issue https://github.com/CoatiSoftware/Sourcetrail/issues/958