IntelliJ IDEA method name indentation
up vote
2
down vote
favorite
Consider I have a verbose method declaration, so I want to wrap method name so line with method declaration is not too long:
private Map<VeryLongClassName, VeryLongClassName>
veryLongMethodName(...
IDEA's autoformatting does not indent method name relatively to class members:
private Map<VeryLongClassName, VeryLongClassName>
veryLongMethodName(...
I however want it to be indented like in the first code snippet.
Is there a way to achieve this?
java intellij-idea
add a comment |
up vote
2
down vote
favorite
Consider I have a verbose method declaration, so I want to wrap method name so line with method declaration is not too long:
private Map<VeryLongClassName, VeryLongClassName>
veryLongMethodName(...
IDEA's autoformatting does not indent method name relatively to class members:
private Map<VeryLongClassName, VeryLongClassName>
veryLongMethodName(...
I however want it to be indented like in the first code snippet.
Is there a way to achieve this?
java intellij-idea
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Consider I have a verbose method declaration, so I want to wrap method name so line with method declaration is not too long:
private Map<VeryLongClassName, VeryLongClassName>
veryLongMethodName(...
IDEA's autoformatting does not indent method name relatively to class members:
private Map<VeryLongClassName, VeryLongClassName>
veryLongMethodName(...
I however want it to be indented like in the first code snippet.
Is there a way to achieve this?
java intellij-idea
Consider I have a verbose method declaration, so I want to wrap method name so line with method declaration is not too long:
private Map<VeryLongClassName, VeryLongClassName>
veryLongMethodName(...
IDEA's autoformatting does not indent method name relatively to class members:
private Map<VeryLongClassName, VeryLongClassName>
veryLongMethodName(...
I however want it to be indented like in the first code snippet.
Is there a way to achieve this?
java intellij-idea
java intellij-idea
edited Nov 9 at 10:50
asked Nov 9 at 9:15
alxg2112
208210
208210
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
No such option yet. You can follow and vote for this feature request: IDEA-185677, which is titled "An option to apply continuation indent to method name" and describes what you want.
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– Nico Haase
Nov 9 at 12:26
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
No such option yet. You can follow and vote for this feature request: IDEA-185677, which is titled "An option to apply continuation indent to method name" and describes what you want.
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– Nico Haase
Nov 9 at 12:26
add a comment |
up vote
1
down vote
accepted
No such option yet. You can follow and vote for this feature request: IDEA-185677, which is titled "An option to apply continuation indent to method name" and describes what you want.
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– Nico Haase
Nov 9 at 12:26
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
No such option yet. You can follow and vote for this feature request: IDEA-185677, which is titled "An option to apply continuation indent to method name" and describes what you want.
No such option yet. You can follow and vote for this feature request: IDEA-185677, which is titled "An option to apply continuation indent to method name" and describes what you want.
edited Nov 11 at 1:18
Ted M. Young
710716
710716
answered Nov 9 at 11:20
Andrey
3,3011461
3,3011461
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– Nico Haase
Nov 9 at 12:26
add a comment |
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– Nico Haase
Nov 9 at 12:26
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– Nico Haase
Nov 9 at 12:26
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– Nico Haase
Nov 9 at 12:26
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53222820%2fintellij-idea-method-name-indentation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown