主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Imants Cekusins
活动总数
410
最后的活动
2024年06月25日 06:27
成员加入日期
2015年07月30日 11:35
关注
0 名用户
关注者数
0 名用户
投票数
15
订阅数
108
活动概览
帖子(12)
评论(275)
按最近的活动排序
最近的活动
投票数
创建于
2015年09月16日 11:52
here is how to catch package renamed event:1) implement EP refactoring.elementListenerProvider2) implement RefactoringElementListener:public void elementRenamed(@NotNull PsiElement psi) { if (!(ps...
社区
IntelliJ IDEA Open API and Plugin Development
Rename processor
0 票
创建于
2015年09月16日 13:00
IElementType LINE = new XElementType("LINE"); ICompositeElementType LINE = new XElementType("LINE");
社区
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 票
创建于
2015年09月16日 14:20
Maxim, my apologies.It turns out that PsiBuilder produces a correct (as expected) ASTNode.However by the time the tree is displayed in PsiViewer, it appears differently from PsiBuilder output.The p...
社区
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 票
创建于
2015年09月16日 14:34
> It is ok to reuse generated code until you decide to generate it again :)well autogen code was tweaked to test parser.I will implement ICompositeElementType. Actually, will write custom factory f...
社区
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 票
创建于
2015年09月16日 14:39
> PsiViewer shows PSI, not ast nodesa. However GrammarKit somehow succeeds to keep Psi tree very similar to AST tree. At least, every leaf (e.g. KEY) from bnf structure appears in PsiViewer.LINE ...
社区
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 票
创建于
2015年09月16日 16:06
found the source of my woes.I omitted these two lines: ... final PsiBuilder.Marker rootMarker = builder.mark(); ... rootMarker.done(root); ...from this example:https://upsource.jetbra...
社区
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 票
创建于
2015年09月14日 10:10
Hello Lars,multiple RenameHandler's can be defined. Custom handlers are iterated until in one of them public final boolean isAvailableOnDataContext(final DataContext dataContext) returns true. If n...
社区
IntelliJ IDEA Open API and Plugin Development
Prevent rename refactoring
0 票
创建于
2015年09月15日 10:27
you are welcome.I had written that reply before I saw Dmitry's message.ah well, 2 answers are better than no answer ;) Someone else might need to tweak rename. That reply could give them some ideas.
社区
IntelliJ IDEA Open API and Plugin Development
Prevent rename refactoring
0 票
创建于
2015年10月08日 19:52
heyain your file definition (which extends PsiFileBase) add this method:@Overridepublic Icon getIcon(int flags) {if(pathOk()) // you need to add this custom method. return super.getIcon(flag...
社区
IntelliJ IDEA Open API and Plugin Development
Annotate files based on filenames
0 票
创建于
2015年09月21日 13:29
does 2.2 cover this:http://www.jetbrains.org/intellij/sdk/docs/tutorials/custom_language_support/language_and_filetype.html?
社区
IntelliJ IDEA Open API and Plugin Development
How to access image resources bundle with IntelliJ IDE
0 票
«
第一页
‹
上一页
下一页
›
最后
»