主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Peter Gromov
活动总数
2258
最后的活动
2023年05月09日 12:44
成员加入日期
2008年07月25日 18:59
关注
0 名用户
关注者数
1 名用户
投票数
0
订阅数
739
活动概览
文章(0)
帖子(3)
评论(1516)
按最近的活动排序
最近的活动
投票数
创建于
2016年04月09日 11:00
You could try wrapping apply() invocations in one pom transaction, see XmlTagImpl#collapseIfEmpty for an example. You'll probably need TreeAspect instead of XmlAspect.
社区
IntelliJ IDEA Open API and Plugin Development
Bulk PSI modification
0 票
创建于
2016年04月09日 12:24
Pity. Unfortunately pom has no documentation except its source code :( Could you please put a breakpoint into BlockSupportImpl.reparseRange and paste the full stack trace here? YourKit seems to ski...
社区
IntelliJ IDEA Open API and Plugin Development
Bulk PSI modification
0 票
创建于
2016年05月11日 05:08
正式评论
It depends. If you need modal progress, use com.intellij.openapi.progress.ProgressManager#runProcessWithProgressSynchronously. If your thread requires read action and might takes a noticeable time,...
社区
IntelliJ IDEA Open API and Plugin Development
Compute data outside EDT
0 票
创建于
2016年05月13日 08:49
Reparse produces all kinds of PSI events, not all of them intuitive. I wouldn't rely on them. Which code do you want to put into the PSI listener, what do you want to achieve with it?
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener - ChildRemoved is not working properly
0 票
创建于
2016年05月13日 10:27
First, keeping a large list of PSI elements (from different files) is likely to consume a lot of memory. Second, PSI exists only inside a read/write action. The fact that the PsiElement objects sur...
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener - ChildRemoved is not working properly
0 票
创建于
2016年05月13日 11:58
I don't understand why using smart pointers don't work, have you tried them? I don't understand what you mean by user changes. If it's text editing, then it's exactly reparse that changes the PSI.
社区
IntelliJ IDEA Open API and Plugin Development
PsiTreeChangeListener - ChildRemoved is not working properly
0 票
创建于
2016年05月17日 18:03
This stack trace is about setting an attribute and can't be caused by your code above. The cause is unclear: addInternal returned null for some reason in CompositePsiElement.addInnerBefore. Debuggi...
社区
IntelliJ IDEA Open API and Plugin Development
Insertion of XML tag into xml file
0 票
创建于
2016年03月07日 18:24
FileContentUtil#reparseOpenedFiles does mean "opened in editor", the implementation says so. And you need to reparse all files affected by language substitutor changes, regardless of whether they'r...
社区
IntelliJ IDEA Open API and Plugin Development
Python-like selectable templating laguages
0 票
创建于
2016年03月16日 08:03
正式评论
Most likely it's because Django has an instance of TemplateLanguageErrorFilter which suppresses the errors. Or it can add something invisible to keep parser happy; investigating its PSI tree can help.
社区
IntelliJ IDEA Open API and Plugin Development
JS errors in templating language
0 票
创建于
2016年02月02日 09:51
正式评论
Python uses LanguageSubstitutor extension for that. Please be aware that this would make your filetype, language, parser and thus indexing results be dependent on some complicated logic of yours, t...
社区
IntelliJ IDEA Open API and Plugin Development
Python-like selectable templating laguages
0 票
«
第一页
‹
上一页
下一页
›
最后
»