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 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
Created
May 30, 2016 08:56
try to leave AbstractBlock out and implement original Block interface. here is a hint where you are likely to pause: @NotNull public ChildAttributes getChildAttributes(int i) { return new ChildAtt...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Edited
May 30, 2016 08:41
FormattingModel uses Block instances. in the screenshots many methods are static. I am not sure how this is supposed to work. It may be possible but this is a very different approach. This, or key ...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Created
May 30, 2016 08:26
is this formatting code online somewhere?
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Edited
May 30, 2016 07:35
getSpacing is supposed to be called for every block in a file: for beginning of line, between symbols etc. this is Block implementation's getSpacing - not static getSpacing
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
Edited
May 30, 2016 07:31
try this in Block impl: @Override public Indent getIndent() {return null;} try putting a breakpoint in getSpacing to see when it is called. another thing: Block implementation methods should no...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter and Indentation
0 votes
«
First
‹
Previous
Next
›
Last
»