Show additional info to file in the project tree view


I am trying to figure out what APIs I have to use to show additional data for a file in the project tree view. I see such details for the Project item and others too, like the SDKs. I'm looking for something like the IconProvider extension but for item titles. Does this exist?

The example screenshot shows the project item with the path in the file system. I want to add details to a directory item.

评论操作 固定链接


You can replace existing nodes with a custom node implementation by using:

See also:

评论操作 固定链接

Thank you Karol, the TSP is a little overkill. I found the ProjectViewNodeDecorator extension. It works perfectly. In the decorate method I call the setLocationString() and it adds the grayed text.