Community
Participate
Working Groups
When the new role wizard is invoked while the selection is owned by an editor, all details of the selection are lost, meaning the wizard is always initialized with the main type of the current compilation unit. In order to create a nested role into the desired nested team the selection should be interpreted to find the closest enclosing type.
Created attachment 196280 [details] Implementation Implementation: if we only have an ICompilationUnit try to find a selected IType within using the current ITextSelection.
Committed as r1614.
Verified using build 201105311237