主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Rustam Vishniakov
活动总数
296
最后的活动
2023年07月10日 13:47
成员加入日期
2010年04月09日 09:02
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
124
活动概览
文章(0)
帖子(1)
评论(171)
按最近的活动排序
最近的活动
投票数
创建于
2021年04月27日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Formatting Block to indent relative to where its parent would be
0 票
创建于
2020年06月01日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Indentation in Custom Languages
0 票
创建于
2020年01月29日 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...
社区
IntelliJ IDEA Users
Align chained constructor calls
0 票
创建于
2019年07月24日 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.
社区
IntelliJ IDEA Open API and Plugin Development
Override Java code formatter to prevent comments with a specific prefix from indenting?
0 票
创建于
2019年05月16日 09:17
Probably because you have set "Wrap if long" or "Wrap always" in Settings|Editor|Code Style|Java|Wrapping and Braces|Assignment Statement.
社区
IntelliJ IDEA Users
Line wrapping make first line shorter
0 票
创建于
2019年01月18日 10:30
It also depends on the currently selected project. You can choose a different IDE scheme for every project. Assuming that it's a global (IDE) scheme, not "Project", you can find it using the follow...
社区
IntelliJ IDEA Open API and Plugin Development
Setting code style scheme from plugin
0 票
创建于
2019年01月17日 18:49
The API is correct but more actions may be needed depending on what you are trying to achieve eventually.
社区
IntelliJ IDEA Open API and Plugin Development
Setting code style scheme from plugin
0 票
创建于
2018年10月21日 12:35
The right way to reformat a file is to use the following method: CodeStyleManager.getInstance(project).reformatText(file, 0, file.getTextLength()) The method will use the current project settings. ...
社区
IntelliJ IDEA Open API and Plugin Development
ReformatCodeProcessor with custom settings
0 票
创建于
2018年04月23日 09:57
Yes, that's correct, if you need to handle the case when Enter is pressed at the end of the line, you need to implement getChildAttributes() method.
社区
IntelliJ IDEA Open API and Plugin Development
How to remove the first default indent?
0 票
创建于
2017年12月05日 15:52
Assuming that you start with a single line (no wrapping) and set the following options under Settings|Editor|Code Style|Java|Wrapping and Braces: - Method call arguments: Chop down if long, - New ...
社区
IntelliJ IDEA Users
Java formatting of nested method calls
0 票
«
第一页
‹
上一页
下一页
›
最后
»