Alt-F1 project view target with overridden project view nodes, how to?

Hi,

I have overridden the filenode of a custom language so that a file is represented by a toplevel PSI element in the file instead. This is much like ClassTreeNode is used in Java to represent Java-files, if I have understood correctly.

Now, when I in the file editor use ALT-F1 -> 1 (Target project view) this does not work anymore. What controls the target command?

/Marcus

1 comment
Comment actions Permalink

Solved it by overridng canRepresent in AbstractTreeNode.

0

Please sign in to leave a comment.