Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Imants Cekusins
Total activity
410
Last activity
June 25, 2024 06:27
Member since
July 30, 2015 11:35
Following
0 users
Followed by
0 users
Votes
15
Subscriptions
108
Activity overview
Posts (12)
Comments (275)
Sort by recent activity
Recent activity
Votes
Created
September 16, 2015 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...
Community
IntelliJ IDEA Open API and Plugin Development
Rename processor
0 votes
Created
September 16, 2015 13:00
IElementType LINE = new XElementType("LINE"); ICompositeElementType LINE = new XElementType("LINE");
Community
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 votes
Created
September 16, 2015 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...
Community
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 votes
Created
September 16, 2015 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...
Community
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 votes
Created
September 16, 2015 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 ...
Community
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 votes
Created
September 16, 2015 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...
Community
IntelliJ IDEA Open API and Plugin Development
PsiParser - complex element
0 votes
Created
September 14, 2015 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...
Community
IntelliJ IDEA Open API and Plugin Development
Prevent rename refactoring
0 votes
Created
September 15, 2015 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.
Community
IntelliJ IDEA Open API and Plugin Development
Prevent rename refactoring
0 votes
Created
October 08, 2015 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...
Community
IntelliJ IDEA Open API and Plugin Development
Annotate files based on filenames
0 votes
Created
September 21, 2015 13:29
does 2.2 cover this:http://www.jetbrains.org/intellij/sdk/docs/tutorials/custom_language_support/language_and_filetype.html?
Community
IntelliJ IDEA Open API and Plugin Development
How to access image resources bundle with IntelliJ IDE
0 votes
«
First
‹
Previous
Next
›
Last
»