arpinfidel/vscode-chartographer

Parametrize node text generation

Opened this issue · 0 comments

ai91 commented

Current version generates node texts way to long, what leads to hardly maintainble huge trees, especially when using Java:

  • compound nodes contain full path of class, including

    • subproject(module) name,
    • maven folder structure (src/main/java)
    • package path
    • filename including .java extension
  • method includes

    • method name
    • return type
    • all paramether types (including Generic modifiers)

When methods are consisting of 5-10 Generic paramethers, and package has typical 4+ depth structure, the node description is really wide. As a result it's almost not possible to use chartographer in way it's intendend for.
I would be happy have possibility to customize some my workspaces to display only filenames, and method names.

TODO: please introduce custom settings for node description decorations for each type of node. For example introduce tokens: like %module%, %path%, %fullpath%, %path-1%, %path-2%, ... %filename%, %fileext%, %fullmethod%, %methodname%, %methodreturn%, .... etc