Commit Graph

1062 Commits

Author SHA1 Message Date
anna
ce10ecce7f inplace introduce: preserve offset corresponding to editor changes 2011-08-09 12:11:07 +04:00
anna
f5f7a96b24 inplace introduce: suggest unique names 2011-08-05 21:20:05 +04:00
anna
1d34a95b0f rename: use simple rename when reference is resolved (IDEA-72876) 2011-08-05 12:27:57 +04:00
anna
4e7e73d7bf inplace introduce: fix for method call occurrences (IDEA-72868) 2011-08-04 17:59:22 +04:00
anna
64b4fc43a8 name suggestions: do not check next members for param name conflicts 2011-08-04 17:59:20 +04:00
anna
6e3ca2f9e1 extract method: do not include comments when they were not included in selection; leave assignment expressions untouched? (IDEA-72730 ) 2011-08-04 14:16:33 +04:00
anna
11538de335 make class static: leave super expressions unprocessed when they do not correspond to outer class (IDEA-72740) 2011-08-03 22:02:14 +04:00
anna
b973627301 change method signature from usage text tweaks 2011-08-03 22:02:13 +04:00
Dmitry Jemerov
d38f27c7c8 remove incorrect qualified name check; provide tests (IDEA-71870) [r=jeka] 2011-08-03 19:22:25 +02:00
Alexey Kudravtsev
4dcde9bbfa IDEA-71599 2011-08-03 15:19:29 +04:00
anna
179f2a0ded optimize imports: typo 2011-08-01 17:04:42 +04:00
anna
0cb64bd6ae inplace introduce: append semicolon if needed (to avoid parsing assignment as local variable) 2011-08-01 11:30:36 +04:00
peter
2b505a8ff4 show only imported classes in the first completion 2011-07-29 17:19:42 +02:00
anna
aae0232446 like unused symbol: use psi element to determine profile to get severity from (IDEA-72411)
like unused symbol: can be error in editor
2011-07-26 13:37:16 +04:00
anna
e931ef7e6e move suppress/settings intention down (IDEA-72320 ) 2011-07-26 11:53:39 +04:00
anna
5b3aff7eec change signature from usage: try new description (IDEA-50193) 2011-07-26 10:56:49 +04:00
anna
d8613c2ee1 diamonds: no diamonds with anonymous classes (IDEA-72391) 2011-07-26 10:56:48 +04:00
anna
afcf43129a diamonds: no diamonds with anonymous classes (IDEA-72391) 2011-07-26 10:02:17 +04:00
Dmitry Avdeev
f41fdc2118 test data moved 2011-07-20 13:30:59 +04:00
peter
045baa388b IDEA-66018 provide smart completion for assertEquals() arguments 2011-07-18 16:58:51 +02:00
peter
8986e40ab1 show substituted parameter types in method completion 2011-07-15 19:09:31 +02:00
peter
29f5bf705c IDEA-72119 autocomplete for reserved names adds some extra characters 2011-07-15 17:44:52 +02:00
peter
8bdd53200a IDEA-72144 Import StringValue class 2011-07-15 16:23:57 +02:00
anna
bc579f1e58 inplace introduce param: no need to correct caret position with or without conflict 2011-07-15 14:28:40 +04:00
anna
9e5beea3e1 reinit type selection manager after exprs invalidation (IDEA-72129) 2011-07-15 11:25:58 +04:00
Denis Zhdanov
9ec2ec69b9 IDEA-68563 complete current statement generates invalid cod
Corrected completion of 'return' expression inside non-void method
2011-07-14 13:10:11 +04:00
anna
902deda3ac good code is red: allow unchecked conversion when static methods are in the same class 2011-07-13 16:56:37 +04:00
Alexey Kudravtsev
5b1230ec46 introduced PsiPolyadicExpression 2011-07-13 16:02:43 +04:00
anna
47e7f584b7 rename/move empty package as directory: correct refs on dir itself 2011-07-13 13:53:00 +04:00
anna
a42792b192 inplace introduce: correctly restore anchors to insert newly created field 2011-07-13 10:38:42 +04:00
peter
8cd9bc819f IDEA-69745 Buggy completion for Point2D.Double and similar classes 2011-07-12 18:10:11 +02:00
anna
3db3301161 inplace introduce: ensure that no refs on newly created var from expression would participate in the further processing 2011-07-12 19:12:52 +04:00
anna
2e7f8bf8bb class types are not provably distinct when they belong to one hierarchy 2011-07-12 19:12:51 +04:00
anna
b437fbe924 rename method: qualify refs inside anonymous classes if necessary (IDEA-71830 ) 2011-07-12 17:43:37 +04:00
anna
2e8060a53b rename package: do not replace dir with corresponding package when package was already processed
move classes from dir: update file refs
2011-07-12 17:43:36 +04:00
anna
49d4914f57 unchecked casts: ignore extends wildcards with the same bound as corresponding type parameter bound (IDEA-71629) 2011-07-12 17:43:36 +04:00
anna
972167979b can be final: do not suggest to make final if overriding constructor reassign the field 2011-07-11 09:40:42 +04:00
Alexey Kudravtsev
f3631279a7 moved to community 2011-07-07 14:49:20 +04:00
peter
6eb83a1ad0 select the exact prefix match, even if case-insensitive 2011-07-06 18:03:20 +02:00
peter
1472eed7b7 IDEA-71339 If completion of method call without parameters is finished by space two spaces are inserted 2011-07-06 18:03:19 +02:00
peter
4eb2b1cfe6 calculate all classes in autopopup background
when completion is case insensitive, show all classes (IDEA-25979)
2011-07-05 19:35:45 +02:00
anna
34151b68df EA-26767 - NPE: ExtractMethodProcessor.doRefactoring 2011-06-30 12:39:17 +04:00
anna
883073fede anonymous->inner: do not generate public static class inside interface 2011-06-29 21:09:05 +04:00
anna
2f34ff976e inplace introduce: restore initial local variable name 2011-06-29 18:52:49 +04:00
anna
04c88b7765 inplace introduce: do not touch next field type; fix introduce over local variable with initializer; tests 2011-06-29 17:09:50 +04:00
peter
924dde5961 insert no method call explicit type arguments when there's no profit in it (IDEA-71128) 2011-06-29 14:45:48 +02:00
anna
630b34c466 redundant cast: do not mark casts to raw types redundant (IDEA-71419) 2011-06-28 21:09:12 +04:00
anna
f475e7d57a inplace introduce: show dialog on second keystroke 2011-06-28 21:09:02 +04:00
Bas Leijdekkers
0091ec715a revert 2011-06-28 12:12:18 +02:00
Bas Leijdekkers
83987ee743 fix test 2011-06-28 10:55:31 +02:00