Home
IDEs Support (IntelliJ Platform) | JetBrains
Submit a request
Community
Sign in
Rustam Vishniakov
Follow
New articles and posts
New articles, posts, and comments
Total activity
291
Last activity
January 27, 2023 15:28
Member since
April 09, 2010 09:02
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
122
Activity overview
Articles (0)
Posts (1)
Comments (168)
Sort by recent activity
Recent activity
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
Created
January 29, 2020 10:20
The setting applies only to method names, not class names. In this case `Builder` is a class and `Thing.Builder` is a qualified constructor name. If you need to extend this feature to the class nam...
Community
IntelliJ IDEA Users
Align chained constructor calls
0 votes
Created
July 24, 2019 14:16
There is no such API for Java. The only way to prevent something from not being formatted (reindented) is to surround a fragment with `@formatter on/off` tags in line comments.
Community
IntelliJ IDEA Open API and Plugin Development
Override Java code formatter to prevent comments with a specific prefix from indenting?
0 votes
Created
May 16, 2019 09:17
Probably because you have set "Wrap if long" or "Wrap always" in Settings|Editor|Code Style|Java|Wrapping and Braces|Assignment Statement.
Community
IntelliJ IDEA Users
Line wrapping make first line shorter
0 votes
1
2
3
4
5
6
›
»