Anna Kozlova
5e2fa7be19
extract method: new signature detector (IDEA-66281); initial
2014-12-05 13:48:57 +01:00
Anna Kozlova
47531ace59
extract method: @Nullable
2014-12-05 13:48:56 +01:00
Anna Kozlova
37841f9d73
extract method: resolve conflicts during params rename (IDEABKL-3749)
2014-12-05 13:48:55 +01:00
Andrey Starovoyt
315f1b9977
reduce scope of try postfix template (2) after review IDEA-132878
2014-12-05 14:42:09 +03:00
Yaroslav Lepenkin
22804bf0ff
JavaCodeStyleSettings: do not store additional values, when setting is imported.
...
1. import only when legacy setting is not default, when importing set it to default to let it happen only once
2. removed legacy boolean value from settings
2014-12-05 14:20:49 +02:00
Yaroslav Lepenkin
2a2b009535
SimpleJavaBlock: removed unnecessary strategy calculation - it will be overwritten in AbstractJavaBlock#processChild after retrieving alignment from AbstractJavaBlock#arrangeChildWrap and wrapping it into strategy. Field in column alignment will be retrived in arrangeChildWrap method by invoking getVariableDeclarationSubElementAlignment.
2014-12-04 21:13:00 +02:00
Yaroslav Lepenkin
e3be03110f
AbstractJavaBlock: method moved to SimpleJavaBlock
2014-12-04 21:13:00 +02:00
Yaroslav Lepenkin
5e634c44d3
AbstractJavaBlock: method renamed
2014-12-04 21:12:59 +02:00
Anna Kozlova
e2e8384516
extract method: suggest non-void return type if final field is assigned inside (IDEA-93737)
2014-12-04 13:43:01 +01:00
Anna Kozlova
ad726d0abc
escape xml in types and description templates (IDEA-133830)
2014-12-04 13:43:00 +01:00
Anna Kozlova
e13047d703
extract method: suggest return type by unique variable defined in extracted code (IDEA-108296)
2014-12-04 10:57:19 +01:00
Anna Kozlova
b7902c44e7
lambda: do not reassign variable outside lambda body
2014-12-03 20:21:55 +01:00
Sergey Savenko
61f38c0d38
JavaChangeSignatureDialog: improve rendering performance
2014-12-03 21:25:51 +03:00
Anna Kozlova
e74aa2d864
extract method: do not suggest primitive type when 'return null;' should be inserted
2014-12-03 17:26:36 +01:00
Anna Kozlova
b32871b783
extract method: do not suggest object when multiple returns are used without output variable
2014-12-03 17:26:34 +01:00
Anna Kozlova
c460d82d7c
extract method: allow to extract from fragment with different exit points which all are @NotNull
2014-12-03 17:26:32 +01:00
Bas Leijdekkers
f972926905
fix expected thrown types for lambda expressions
2014-12-03 15:30:48 +01:00
Anna Kozlova
460771192f
extract method: make static and pass fields as parameters if possible (IDEA-112230)
2014-12-03 14:27:46 +01:00
Anna Kozlova
e540615904
extract method: convert field to local cleanup
2014-12-03 14:27:45 +01:00
Bas Leijdekkers
e6c362324c
calls from lambdas or anonymous classes to surrounding method are non-recursive
2014-12-03 13:06:32 +01:00
Anna Kozlova
ec7ae5a429
extract method: avoid invalid type
2014-12-03 10:50:54 +01:00
Yaroslav Lepenkin
8ad4974f74
AbstractJavaBlock: extracted field in columns alignment login into separate class
2014-12-03 12:00:14 +02:00
Yaroslav Lepenkin
20fd2154b4
AbstractJavaBlock: extracted utility functions into separate class
2014-12-03 12:00:14 +02:00
Anna Kozlova
0e5601ffde
extract method: generate annotations/primitive return type choice fixed
2014-12-02 20:36:12 +01:00
Anna Kozlova
629a158af5
extract method: do not suggest Object as return type if it would be used in prefix/postfix expr
2014-12-02 20:36:11 +01:00
Anna Kozlova
99e37e961b
extract method dialog: hide generate annotations checkbox if unknown nullness
2014-12-02 19:34:42 +01:00
Anna Kozlova
c6110f2cfa
extract method: allow to choose return type from hierarchy (IDEA-79995)
2014-12-02 19:34:40 +01:00
Anna Kozlova
72515b5403
extract method: find all vars inside to check for name conflicts
2014-12-02 19:34:39 +01:00
Andrey Starovoyt
f1fb09084b
postfix template: reduce scope of 'try' IDEA-132878
2014-12-02 18:06:44 +03:00
peter
2e03f19b0e
external anno gutter should be aligned right to not disrupt vertical sequence of overriden/implement gutters
2014-12-02 15:21:29 +01:00
Yaroslav Lepenkin
a18e9031bf
IDEA-133721 Typo in code style sample
2014-12-02 15:29:18 +02:00
Anna Kozlova
5cfd7bb681
inline method: missed braces (IDEA-133700)
2014-12-02 12:49:54 +01:00
Yaroslav Lepenkin
111ccd991d
compilation fixed
2014-12-02 13:02:48 +02:00
Yaroslav Lepenkin
9f82306ea5
Added possibility not to add FQN in javadocs if class was imported (IDEA-121121 ) [CR-IC-6907]
...
Now three options is available: use FQN always, never, or when not imported. Last is used by default.
Converted and moved boolean legacy setting from CommonCodeStyle settings into JavaCodeStyleSettings.
2014-12-02 12:14:01 +02:00
Anna Kozlova
717bf0ddef
extract method: warn if range contains variable with name chosen for one of parameters
2014-12-01 20:54:15 +01:00
Anna Kozlova
4ea62b333e
extract method: copy parameters annotations to the extracted method when applicable (IDEA-40617)
2014-12-01 20:54:13 +01:00
Anna Kozlova
9fc8b39236
extract method: prepare method body to have @Nullable/@NotNull before actual extract is performed
2014-12-01 18:00:34 +01:00
Anna Kozlova
08a7e5b8bf
show params info: ignore varargs conflicts, current index calculation
2014-12-01 18:00:33 +01:00
Anna Kozlova
f344994a37
cleanup after (IDEA-CR-984)
2014-12-01 18:00:31 +01:00
peter
527fc86bce
java completion: let red items not be bold (IDEA-120855)
2014-12-01 13:34:46 +01:00
Anna Kozlova
f0a876431a
show setting with generate annotations right on extract method dialog
2014-11-28 15:22:31 +01:00
Anna Kozlova
a673a50d6d
extract method object: do not touch return statements in nested lambdas
2014-11-28 14:22:02 +01:00
Anna Kozlova
f40a2e3442
invert boolean: skip lambda returns
2014-11-28 14:22:00 +01:00
Anna Kozlova
9f267597cf
infer nullity: do not suggest @Nullable/@NotNull based on lambda return statements inside
2014-11-28 14:21:59 +01:00
Anna Kozlova
9582043c33
disable deep parameter delete for super calls only
2014-11-28 14:21:58 +01:00
Dmitry Batkovich
138655959b
IDEA-132912
...
Toggle buttons ignore ''Show Classes'' in Override Methods dialog
2014-11-28 16:00:35 +03:00
Anna Kozlova
220478e49a
empty messages for call chooser hierarchy
2014-11-28 12:10:06 +01:00
Anna Kozlova
565f6ac4e7
revert foreach statement skip, make sure that place to check is inside a statement to prevent containing scope check instead
2014-11-28 11:28:32 +01:00
Yaroslav Lepenkin
8d21980d5e
AbstractJavaBlock, refactored composeCodeBlock method
2014-11-28 13:10:44 +02:00
Yaroslav Lepenkin
90433e0cac
AbstractJavaBlock, unnecessary javadocs removed
2014-11-28 13:10:44 +02:00