Home
IDEs Support (IntelliJ Platform) | JetBrains
Submit a request
Community
Sign in
Rustam Vishniakov
Total activity
296
Last activity
July 10, 2023 13:47
Member since
April 09, 2010 09:02
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
124
Activity overview
Articles (0)
Posts (1)
Comments (171)
Sort by recent activity
Recent activity
Votes
Created
July 10, 2023 13:47
In general using the internal API isn't safe so I have created the following ticket https://youtrack.jetbrains.com/issue/IDEA-324754/Introduce-a-public-API-method-to-check-if-autowrap-is-in-progres...
Community
IntelliJ IDEA Open API and Plugin Development
How to detect EnterHandlerDelegate line wrap during format
1 vote
Created
July 07, 2023 13:57
Would it make sense for you to have a dedicated method, for example CodeStyle.isAutoWrap(), which would return true in case of automatic wrapping? It could combine the two keys in the public API.
Community
IntelliJ IDEA Open API and Plugin Development
How to detect EnterHandlerDelegate line wrap during format
0 votes
Created
April 20, 2023 09:50
I guess it's a platform bug. Please feel free to create a new issue here: https://youtrack.jetbrains.com
Community
IntelliJ IDEA Open API and Plugin Development
FormattingService implementing AsyncDocumentFormattingService not invoked on mass-reformat / save action
0 votes
Created
January 27, 2023 15:28
There are two basic types of alignments which you already use according to the screenshot above. A regular one (no backward shift) requires that the element is the first non-whitespace element on t...
Community
IntelliJ IDEA Open API and Plugin Development
Formatter alignment - unsure about tutorial explanation
1 vote
Created
December 09, 2022 12:27
No, spacing is appied only for the cases when alignment is not applicable.
Community
IntelliJ IDEA Open API and Plugin Development
Formatter alignment - unsure about tutorial explanation
0 votes
Created
November 21, 2022 09:52
For calling an exernal formatter please use AsyncDocumentFormattingServce. There's a number of flags telling when the formatter can be used, see FormattingService.Feauture. Note that due to asynchr...
Community
IntelliJ IDEA Open API and Plugin Development
Running Multiple Reformat Gradle Tasks Gives Error
0 votes
Created
October 18, 2022 16:48
The formatter controls spacing including indentation only between adjacent leaf blocks. That's why the first leaf block will never get indentation. As a workaround you can handle it in a PostFormat...
Community
IntelliJ IDEA Open API and Plugin Development
Formatting indents make me go nuts
0 votes
Created
January 18, 2022 19:27
Your code seems to be correct at first glance with one exception: you have to check which settings type the option is added to. For example, if you adding the custom option to "Wrapping and Braces"...
Community
IntelliJ IDEA Open API and Plugin Development
How to use CodeStyleSettingsCustomizable.showCustomOption for Drop Down Lists?
0 votes
Created
April 27, 2021 08:35
An indent is ignored if a corresponding block does not start with a new line. You can enforce the indent in this case using enforceIndentToChidlren parameter, for example: getIndent(Intent.Type.NOR...
Community
IntelliJ IDEA Open API and Plugin Development
Formatting Block to indent relative to where its parent would be
0 votes
Created
June 01, 2020 08:47
There is some documentation available here: https://www.jetbrains.org/intellij/sdk/docs/reference_guide/custom_language_support/code_formatting.html. In general AST structure and formatting model a...
Community
IntelliJ IDEA Open API and Plugin Development
Indentation in Custom Languages
0 votes
Next
›
Last
»