主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Onuryi
活动总数
48
最后的活动
2020年10月04日 08:21
成员加入日期
2020年04月02日 10:18
关注
0 名用户
关注者数
0 名用户
投票数
2
订阅数
5
活动概览
帖子(5)
评论(36)
按最近的活动排序
最近的活动
投票数
已编辑于
2020年05月07日 12:31
1) Let me try to explain this using an example: Let's say the use types private int age; in the editor. This would be valid. but if the user types only private or "pr" this would be invalid and in ...
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 票
创建于
2020年05月07日 11:08
1) I just want to save the Document only if there are no errors e.g it is a valid java file. So I thought I would use a counter and increment it if hasErrorElements returns true. And if the counter...
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 票
创建于
2020年05月07日 10:53
1) Ok thanks but is there another way to do this efficiently? Should I call it from ApplicationManager.runReadAction? 2) So I'm calling the handleEvents method in both before and after method. The ...
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 票
已编辑于
2020年05月07日 10:35
Thank you guys for your answers! Artsiom Chapialiou thank you for the workaround! So now everytime i save a Document on my change event the before and after method of my BulkFileListener are fired....
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 票
创建于
2020年05月05日 07:23
Thanks for your response Yann! I already did. I know that I can access the old contents of files in the before event and new content in the after event. My problem remains the same as posted above....
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 票
已编辑于
2020年04月28日 10:40
Thank you for your answer! I have registered a VFS Listener according to the documentation but somehow I receive the same output on both methods before and after.The events also seem to fire only w...
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 票
创建于
2020年04月23日 18:16
Hi Yann, thank you for your reply! Are you referring to javadoc from com.intellij.psi.PsiTreeChangeEvent regarding "instead use CachedValue and PsiModificationTracker.MODIFICATION_COUNT"? Yes, I am...
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener code tracking
0 票
创建于
2020年04月20日 10:49
I gues my mistake is that I'm working with the PsiTreeChangeEvent instead of using ChachedValue and PsiModificationTracker. Are there any examples on how to use them together?
社区
IntelliJ IDEA Open API and Plugin Development
Triggering Action based on Editor Events
0 票
已编辑于
2020年04月19日 11:19
Jakub Chrzanowski I tried using the PsiTreeChangeListener but somehow I get a weird output. My code looks like following: public class CodeTracker implements PsiTreeChangeListener { @Override ...
社区
IntelliJ IDEA Open API and Plugin Development
Triggering Action based on Editor Events
0 票
创建于
2020年04月07日 05:59
Thanks Jakub! I will have a look at it!
社区
IntelliJ IDEA Open API and Plugin Development
Triggering Action based on Editor Events
0 票
«
第一页
‹
上一页