mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
UX-159 do not show comments on members: fix XcodeViewNode case
GitOrigin-RevId: 80c79c66b27a4a443fb64bc1736fde53acc3d777
This commit is contained in:
committed by
intellij-monorepo-bot
parent
22f6973d99
commit
351994570e
@@ -76,9 +76,10 @@ public class ProjectViewTree extends DnDAwareTree {
|
||||
AbstractTreeNode parentNode = node.getParent();
|
||||
Object content = node.getValue();
|
||||
VirtualFile file =
|
||||
content instanceof PsiFileSystemItem || content instanceof VirtualFile ||
|
||||
content instanceof PsiElement && parentNode != null && parentNode.getValue() instanceof PsiDirectory
|
||||
? node.getVirtualFile() : null;
|
||||
content instanceof PsiFileSystemItem ||
|
||||
!(content instanceof PsiElement) ||
|
||||
parentNode != null && parentNode.getValue() instanceof PsiDirectory ?
|
||||
node.getVirtualFile() : null;
|
||||
File ioFile = file == null || file.isDirectory() || !file.isInLocalFileSystem() ? null : VfsUtilCore.virtualToIoFile(file);
|
||||
BasicFileAttributes attr = null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user