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
June 03, 2016 12:33
this might work (not tested): EditorFactory.getInstance().createEditor(...)
Community
IntelliJ IDEA Open API and Plugin Development
Navigate among files in a project
0 votes
Created
June 03, 2016 12:02
Hello Sajith, to navigate from a symbol in code (e.g. symbol which points to a file), you can resolve symbol to that file. Then you can navigate to file by ctrl click PsiFile subclasses PsiElement.
Community
IntelliJ IDEA Open API and Plugin Development
Navigate among files in a project
0 votes
Created
June 01, 2016 12:01
I understand. It is a lot of time and work, yes. If there is not enough time, maybe it's best to focus on another part of plugin and leave formatting for later. Formatting is very tricky. Just to c...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Created
June 01, 2016 11:46
well this is not a recommended approach to formatting. it works though. Sometimes indenting logic does not fit the built-in cases. Then there is no choice but to use spaces. let's give newlines (CR...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Edited
June 01, 2016 11:18
getSpacing should work (indent text by specified # of spaces) if Indent is not used. let's try this: use null everywhere Indent is currently used check if getSpacing is called for every block. Eve...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Created
June 01, 2016 10:13
does FormattingModelBuilder createModel return CoronaFormatModel? did you try to not use Indent altogether? return null, and let getSpacing handle indenting? if I understand correctly, you are loo...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Edited
June 01, 2016 08:14
if you were to implement everything without FormattingModelProvider, here are a couple more steps: FormattingModelBuilder: createModel - returns implementation of FormattingModel. Implement...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Created
June 01, 2016 07:43
could you post somewhere (here, git, pastebin, ...) your implementations of: FormattingModelBuilderFormattingModelBlock (as text, please.Images are blurred for some reason)
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Created
May 30, 2016 14:44
this may help ;)
Community
IntelliJ IDEA Open API and Plugin Development
How to highlight custom xml tag?
0 votes
Created
May 30, 2016 09:19
not sure about what causes it however these methods may help: PsiDocumentManager hasUncommitedDocuments commitAllDocuments performWhenAllCommitted
Community
IntelliJ IDEA Open API and Plugin Development
IncorrectOperationException
0 votes
«
First
‹
Previous
Next
›
Last
»