Commit Graph

4632 Commits

Author SHA1 Message Date
Tagir Valeev
3c2cd21d35 MigrateToStreamFix: explicit formatting removed (as formatted anyways automatically) 2018-05-30 18:23:38 +07:00
Roman.Ivanov
a591f4e58e CreateTypeParameterFromUsage: ignore when identifier is in call
IDEA-192775
2018-05-30 11:01:20 +07:00
Roman.Ivanov
9b9ec7708c CreateTypeParameterFromUsage: ignore qualified references: IDEA-192528 2018-05-30 11:01:19 +07:00
Anna Kozlova
5d77379fd3 create field from parameter even if parameter is already used in assignment
IDEA-192896
2018-05-29 20:54:23 +03:00
Anna Kozlova
b3a949ef5f javadoc inspection: check missed type parameters javadoc (IDEA-192696) 2018-05-28 18:54:02 +03:00
Anna Kozlova
323a164d0c convert field to local: clear final modifier when used for write (IDEA-192735) 2018-05-28 18:54:02 +03:00
Anna Kozlova
ab271fcb5b inference: partially resolve before erasure for target type inference
IDEA-192208
2018-05-28 18:54:01 +03:00
Anna Kozlova
4dfc2dbe6c restore comments on Insert New 2018-05-28 13:08:22 +03:00
Anna Kozlova
6c127367b9 fix psi invalidation on invert if condition (IDEA-192532) 2018-05-24 15:29:41 +03:00
Tagir Valeev
0269e72a79 IDEA-191856 "Replace Optional.isPresent() condition with functional style expression" creates bad code when used with Type Promotion 2018-05-24 12:44:33 +07:00
peter
9a96704d9a "add on demand static import": avoid stub/text inconsistency on unnamed references 2018-05-23 18:07:58 +02:00
Roman.Ivanov
c99d0a99af ChangeUIDAction: make it work without initializer 2018-05-23 16:29:11 +07:00
Anna Kozlova
c9d3d04e73 method ref: ensure capture conversion on first arg of second search 2018-05-22 15:48:15 +03:00
Dmitry Batrak
58aead1506 IDEA-191421 wrong Javadoc display for @literal tag inside @code tag 2018-05-22 14:35:21 +03:00
Roman.Ivanov
ea2ac73af8 ChangeUIDAction: fix review issues: IDEA-CR-32493 2018-05-22 17:14:46 +07:00
Roman.Ivanov
5f3a81b04a VariableAccessFromInnerClassJava10: fix review issues: IDEA-CR-31797 2018-05-22 16:58:34 +07:00
Roman.Ivanov
7504c18421 AddExceptionToExistingCatch: fix collecting try statements IDEA-CR-30935 2018-05-22 15:47:32 +07:00
Anna Kozlova
e077fa59eb access static via interface class: fix case without qualifier (IDEA-192246) 2018-05-22 11:06:00 +03:00
Anna Kozlova
e524d46129 convert to local: restore comments once (IDEA-192268ˆ) 2018-05-18 20:16:28 +03:00
Roman Shevchenko
57fb172991 Cleanup (warnings; formatting) 2018-05-18 16:36:00 +03:00
peter
4023a46c83 IDEA-192209 'final' modifier appeared almost in the end of autocompletion list in case of a beginning line with already defined variable 2018-05-18 09:53:00 +02:00
Anna.Kozlova
f407fb73c3 unknown class get all unresolved reference fixes (IDEA-192090) 2018-05-17 16:18:52 +02:00
Anna.Kozlova
99d01ccd8c don't make raw type equal to anything else (IDEA-192037) 2018-05-17 11:28:24 +02:00
Anna.Kozlova
c4ada244b2 method refs: don't ignore applicability errors (IDEA-191467) 2018-05-17 11:28:24 +02:00
peter
987368ccfd IDEA-191883 "Tab" completion doesn't work as expected for inner classes 2018-05-16 18:35:13 +02:00
Anna.Kozlova
10e023e75e disable on-demand static import for non-static members (IDEA-191774) 2018-05-15 15:33:42 +02:00
Tagir Valeev
b336e70485 Less smart simplifications after loop-to-stream (keep stream) 2018-05-13 18:10:54 +07:00
Tagir Valeev
ca3f94d456 FoldExpressionIntoStream: support String.join-able patterns (IDEA-190570) 2018-05-11 16:25:05 +07:00
Tagir Valeev
c55d9483b2 IntroduceVariableIntentionAction: stop at code block
To prevent escaping lambda/anonymous class
2018-05-10 13:26:15 +07:00
Tagir Valeev
0418d57ade Error is reported when qualified this is used to initialize a final variable
Fixes IDEA-191686 Bad code is green (cannot assign a value to final variable)
2018-05-10 13:03:40 +07:00
Tagir Valeev
4861c7cc17 RedundantStringOperation: refactored to CallMapper; indexOf/startsWith/lastIndexOf scenarios
Fixes IDEA-191536 More redundant string operations with indexOf lastIndexOf startsWith
2018-05-10 12:01:59 +07:00
peter
0c70c63d0a IDEA-191500 Inappropriate 'Enum.valueOf()' Smart Type suggestion 2018-05-08 17:52:11 +02:00
Roman.Ivanov
a9b2ba633f Create intention to change serialVersionUID: IDEA-25703 2018-05-08 11:59:36 +07:00
Roman.Ivanov
5147b0b394 Create intention to change serialVersionUID: IDEA-25703 2018-05-08 11:59:36 +07:00
Tagir Valeev
a93cb6b9a5 Java slicing: support -> this/-> paramN contracts
Fixes IDEA-121571 Feature request: A Contract Annotation that indicates that a method returns its argument
2018-05-08 11:53:19 +07:00
Dmitry Neverov
50268274cd Support several postfix live templates on the same key
Need it for GO-4845 where same postfix sort template is expanded
differently depending on the type of the element it is invoked on.
2018-05-08 06:01:53 +02:00
Alexander Zolotov
0edcf5a488 Delete async updating quick navigation info
The responsibility of putting links inside quick documentation info
moved to DocumentationProviders.

Related to GO-5598
2018-05-07 17:42:47 +03:00
peter
0607536f02 make entering class literals in method calls easier during smart completion (IDEA-162394)
sort class literals by class proximity
process closest (imported) inheritors first
2018-05-07 10:19:33 +02:00
Tagir Valeev
36bc6bf2d2 enumValueOf: test data fixed (now "_ -> param1" contract is inferred) 2018-05-05 14:47:44 +07:00
Anna Kozlova
2702d8c729 redundant type args: provide context for copied enum constant (IDEA-191043) 2018-05-02 20:06:12 +02:00
Anna Kozlova
ef1a26388f split raw string literal (IDEA-190765) 2018-05-02 20:06:11 +02:00
Anna Kozlova
e137127cc1 redundant type args: provide context for copied enum constant (IDEA-191043) 2018-05-02 20:06:10 +02:00
peter
de6c52c7a0 IDEA-187747 Suggest Collectors.joining() collector for String stream 2018-05-02 16:32:48 +02:00
peter
df915d8685 IDEA-188425 Add getInstance option in completion popup 2018-05-02 11:37:04 +02:00
peter
21d46114ee java completion: prefer similar names with mismatching case (IDEA-188085) 2018-04-30 19:56:55 +02:00
peter
00222d2816 NullableStuffInspection: an option to not complain about generated implementation (IDEA-187625) 2018-04-27 20:19:00 +02:00
anstarovoyt
50348eacc6 java postfix templates: "new" postfix template IDEA-122440 2018-04-27 16:09:50 +03:00
anstarovoyt
856344c4eb java postfix templates: new castvar template IDEA-191025 2018-04-26 16:44:41 +03:00
Anna.Kozlova
51a2d549b2 highlight only method name on unhandled exception (IDEA-190912) 2018-04-25 21:11:38 +02:00
Anna.Kozlova
a2717a8087 RSL: convert invalid line separators (IDEA-190959) 2018-04-25 19:33:37 +02:00