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 votes
Recent activity
Votes
Created
September 02, 2015 14:47
ok how about this:Runnable r = ()-> EditorModificationUtil.insertStringAtCaret(editor, string); WriteCommandAction.runWriteCommandAction(project, r);
Community
IntelliJ IDEA Open API and Plugin Development
Write access is allowed inside write-action only (see com.intellij.openapi.application.Application.runWriteAction()
2 votes
Edited
September 23, 2016 14:48
for fixed (predefined) strings, users may configure Live Templates. Settings Editor Live Templates also note the By default expand with ... options. for a custom language, a liveTempl...
Community
IntelliJ IDEA Open API and Plugin Development
Configurable code completion list in custom language
1 vote
Created
September 16, 2016 12:39
why are "antlr" and "mgen" underlined? any messages when you hover over them? could you post links to filetype class code?
Community
IntelliJ IDEA Open API and Plugin Development
Failed to add support for multiple languages in one plugin
1 vote
Edited
September 06, 2016 18:58
Idea is primarily a code text editor. What will happen to parsed Psi tree? Is it going to be displayed as text in editor window? Edited, too? Saved back to binary? BTW about purpose of lexer and pa...
Community
IntelliJ IDEA Open API and Plugin Development
create psi from binary file
1 vote
Created
September 19, 2015 08:56
to prevent the cast error, before casting an element, you could check its type first:element instance of XSYMMETHODor (element.class.isAssignableFrom(XSYMMETHOD.class)|| XSYMMETHOD.class.isAssignab...
Community
IntelliJ IDEA Open API and Plugin Development
Code Completion - get context in which is method called
1 vote
Created
January 16, 2016 19:28
(how to) listen to "file opened" event with MessageBus :public class FileOpenListenerA implements FileEditorManagerAdapter { @Override public void fileOpened(@NotNull FileEditorManager manager, ...
Community
IntelliJ IDEA Open API and Plugin Development
What is 'message bus' and how to use it?
1 vote
Created
September 18, 2015 18:12
this seems ok:PsiElement element = parameters.getPosition().getParent();now you can call element.getParent().getParent()... until you get up to Function PsiElementthen you could call PsiTreeUtil.c...
Community
IntelliJ IDEA Open API and Plugin Development
Code Completion - get context in which is method called
1 vote
Created
January 06, 2016 10:16
Hello Hasintha,CompletionParameters.getOriginalPosition() returns the current element.you could look up parent elements withcurrentElement.getContext().getParent().getText();something like this.
Community
IntelliJ IDEA Open API and Plugin Development
Completion Contributor for Scala
1 vote
Edited
January 21, 2016 03:50
Hello Jin,in what programming language?xml?
Community
IntelliJ IDEA Open API and Plugin Development
How to intercept and process code nodes (syntax and highlight)
1 vote
Created
March 29, 2016 11:01
> is that the reason it isn't showing in the first step? I am not sure. Just guessing: could try to implement moduleConfigurationEditorProvider extension point here is an example
Community
IntelliJ IDEA Open API and Plugin Development
Setting up an SDK and Language Version for new Project
1 vote
Next
›
Last
»