List<FilePath> (@NotNull Project project, @NotNull DataContext context) { VirtualFile file = VcsContextUtil.selectedFile(context); VirtualFile vcsFile = VcsUtil.resolveSymlink(project, file); return vcsFile != null ? Collections.singletonList(VcsUtil.getFilePath(vcsFile)) : null; }