Link-Kou / intellij-treeInfotip

IDEA项目结构树中的节点添加显示自定义备注文本IDEA DirectoryNode adds custom text for display
MIT License
80 stars 18 forks source link

idea 2021.1.2 (211.7442.40) 无法使用 #4

Closed Hisensun closed 3 years ago

Hisensun commented 3 years ago

image image

版本如图 应该是最最新版 (正版)新建xml 然后右键进行标记 xml中已生成数据 但文件树未出现标识

Link-Kou commented 3 years ago

@Hisensun 截图 一下 ,弹出框中的路径是否与文件中记录的一致。让我能判断一下 image

weizhiwen commented 3 years ago

image

weizhiwen commented 3 years ago

我也出现了这个问题

Link-Kou commented 3 years ago

@weizhiwen @Hisensun 麻烦在测试一下 此版本 https://github.com/Link-Kou/intellij-treeInfotip/releases/tag/2.0.1

Hisensun commented 3 years ago

image 好像还是不行

Hisensun commented 3 years ago

image 路径已经是相对路径了

Link-Kou commented 3 years ago

@Hisensun 嗯嗯,看一下是否可以正常显示目录书备注了

Hisensun commented 3 years ago

不行 你看看我上一张图 我发了两张

Link-Kou commented 3 years ago

@Hisensun 把DirectoryV2.xml删除,右键目录添加菜单,插件会自己重新创建XML

Hisensun commented 3 years ago

image image 还是不行

Hisensun commented 3 years ago

你下一个 最新版试试呢

image

weizhiwen commented 3 years ago

Details: Current thread: Thread[Thread-6,6,Idea Thread Group] 1010544980 ; dispatch thread: false; isDispatchThread(): false SystemEventQueueThread: Thread[AWT-EventQueue-0,6,Idea Thread Group] 1239297019

java.lang.Throwable: Read access is allowed from event dispatch thread or inside read-action only (see com.intellij.openapi.application.Application.runReadAction()) at com.intellij.openapi.diagnostic.Logger.error(Logger.java:179) at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:992) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:717) at com.intellij.util.indexing.FileBasedIndexEx.processExceptions(FileBasedIndexEx.java:237) at com.intellij.util.indexing.FileBasedIndexEx.processValueIterator(FileBasedIndexEx.java:342) at com.intellij.util.indexing.FileBasedIndexEx.processValuesInScope(FileBasedIndexEx.java:311) at com.intellij.util.indexing.FileBasedIndexEx.processValues(FileBasedIndexEx.java:216) at com.intellij.psi.search.FilenameIndex.getVirtualFilesByName(FilenameIndex.java:185) at com.intellij.psi.search.FilenameIndex.processFilesByName(FilenameIndex.java:84) at com.intellij.psi.search.FilenameIndex.processFilesByName(FilenameIndex.java:71) at com.intellij.psi.search.FilenameIndex.getFilesByName(FilenameIndex.java:139) at com.intellij.psi.search.FilenameIndex.getFilesByName(FilenameIndex.java:62) at com.plugins.infotip.FileDirectory.getFileDirectoryXml(FileDirectory.java:40) at com.plugins.infotip.XmlParsing$4.run(XmlParsing.java:158) at java.base/java.lang.Thread.run(Thread.java:829)

weizhiwen commented 3 years ago

image

weizhiwen commented 3 years ago

image

weizhiwen commented 3 years ago

最新版也还是有问题,路径在Windows下是有问题的 image

weizhiwen commented 3 years ago

已经把你代码clone下来了,还没来得及找问题改呢,哈哈哈

Link-Kou commented 3 years ago

已经更新了一个版本了,修复了问题,请各位测试看看,有问题在提提建议 https://github.com/Link-Kou/intellij-treeInfotip/releases/tag/2.1.0

Hisensun commented 3 years ago

新版本的问题修复了 吗 大神

Hisensun commented 3 years ago

新版本的问题修复了 吗 大神

weizhiwen commented 3 years ago

2.1.0版本我在Windows电脑使用还是不行,路径还是有问题

weizhiwen commented 3 years ago

image

Link-Kou commented 3 years ago

今天又又又发布了一个版本,各位在测试 https://github.com/Link-Kou/intellij-treeInfotip/releases/tag/2.1.0

weizhiwen commented 3 years ago

哈哈哈,还是不行,我帮你修复吧,我用的windows电脑,你那边用Mac不好搞

Link-Kou commented 3 years ago

搭建了虚拟机测试一遍。现在解决掉了,我这里测试没有问题了 @weizhiwen 试下

weizhiwen commented 3 years ago

我这边可以了 @Link-Kou 👍 image

Hisensun commented 3 years ago

image 好用了 厉害