Commit Graph

1067 Commits

Author SHA1 Message Date
Roman Shevchenko
77f94dbece Add exception to method signature fix made aware of try-with-resources 2011-03-01 20:34:18 +01:00
Roman Shevchenko
a5a7e6846a Add catch block fix made aware of try-with-resources 2011-03-01 20:34:17 +01:00
Roman Shevchenko
f627677fdd Use formatter settings for multi-catch type element 2011-03-01 20:34:17 +01:00
Roman Shevchenko
8f62093a5c Allow resource variables in-place rename; Java in-place rename tests updated 2011-03-01 11:42:09 +01:00
Denis Zhdanov
beab19875d Corrected algorithm of building formatting blocks for Java fields - wrap every field in separate block except 'composite fields' 2011-03-01 13:05:17 +03:00
Anton Makeev
3108c4ed78 OrderEnumerator: correctly handling recursive-library only cases + tests
Maven: packages view fix (IDEA-65722)
2011-03-01 10:58:48 +01:00
Denis Zhdanov
4b851fb856 IDEA-65987 Java Formatter: Correct anonymous classes instances as method arguments processing
1. 'Enforce parent indent' option is added to indent construction API;
2. Corresponding support is added to formatter's core;
3. Corresponding support is added to java blocks construction algorithm;
4. Corresponding test is added;
2011-03-01 08:24:42 +03:00
peter
a7611c272c damn dynamic languages 2011-02-28 18:38:44 +01:00
peter
791955006e update the ad and productivity hints for global method name completion (IDEA-65928) 2011-02-28 18:29:33 +01:00
peter
5c6c1da682 prefer return 2011-02-28 18:29:30 +01:00
peter
eb421d5faa don't wait for the second completion when a single item was inserted but the keystroke had no modifiers 2011-02-28 18:29:28 +01:00
peter
92bc8d1d7c simplify the CodeCompletionAction hierarchy 2011-02-28 18:29:27 +01:00
anna
66ad21fdd9 change class signature: use type param bounds inside class (IDEA-65529) 2011-02-28 15:18:40 +01:00
anna
80b3fd3829 change signature: copy non varargs arg to varargs position (IDEA-65913) 2011-02-28 12:16:01 +01:00
anna
701d391f3d do not create throws list without exceptions (IDEA-65790 ) 2011-02-27 19:30:02 +01:00
anna
e68c92c49f inline: substitute ellipsis type before array construction (IDEA-65897) 2011-02-27 18:20:25 +01:00
anna
f4f467bf64 safe varags: rename inspection 2011-02-27 16:39:34 +01:00
Roman Shevchenko
7124d8a270 Fixed stub creation for local variable annotations, sorry 2011-02-25 14:03:42 +01:00
peter
4291983cad IDEA-65810 Class completion: suggest most probable class in the specific context. 2011-02-25 12:37:16 +01:00
peter
f6d492b529 remove debug output 2011-02-25 12:37:15 +01:00
peter
4d1dabae02 duringCompletion must complete before any variant can be chosen 2011-02-25 12:37:13 +01:00
peter
5329e9bb75 IDEA-65856 Throwable at com.intellij.codeInsight.completion.CompletionProgressIndicator.closeAndFinish 2011-02-25 12:37:09 +01:00
Roman Shevchenko
e2302efffc Don't create stub for modifier list of resource variable 2011-02-24 22:01:18 +01:00
Roman Shevchenko
9e0bef7dcd Project Coin try-with-resource support, take 4 2011-02-24 20:02:33 +01:00
Roman Shevchenko
0a17b195bb Resource declaration and assignment conflicts highlighting 2011-02-23 21:04:42 +01:00
peter
725873b3ce IDEA-65811 "final" variant is not suggested but it should be 2011-02-23 15:13:41 +01:00
peter
40c073a073 uninitialized fields should be offered at least when initializing them 2011-02-23 15:13:40 +01:00
peter
b09a5bed9e IDEA-63641 Eliminate variable itself from autocomplete list 2011-02-23 15:13:39 +01:00
peter
5d9f4ef818 IDEA-50092 Code completion added unnecessary type arguments 2011-02-23 11:33:15 +01:00
peter
d07de05c10 IDEA-57487 Smart completion in cast operator inserts ill-formed type 2011-02-23 11:33:14 +01:00
peter
c13f0636c2 IDEA-58556 Make smart completion cast insertion aware of autoboxing 2011-02-23 11:33:13 +01:00
Roman Shevchenko
0f2e1cd4f6 Try-with-resource support: variable usage inspection 2011-02-22 20:33:24 +01:00
Roman Shevchenko
8915ce77a3 Test cleanup 2011-02-22 20:33:23 +01:00
Roman Shevchenko
2bc8375a90 Try-with-resource support: reuse variable quick fix 2011-02-22 20:33:23 +01:00
peter
55bc513149 IDEA-50627 Don't suggest uninitialized instance members in constructor when smart-completing 2011-02-22 18:58:44 +01:00
peter
261bfa77a9 in field type, don't suggest fields&methods (IDEA-65639) 2011-02-22 18:58:42 +01:00
Denis Zhdanov
711d884ceb IDEA-65433 Code style feature: simple classes and interfaces in one line
1. Added new code style setting - 'keep simple classes and interfaces in one line';
2. Corresponding tests are added;
2011-02-22 11:13:04 +03:00
peter
df58d454e5 IDEA-62188 Java: Basic completion doesn't suggest "default" keyword in switch construction 2011-02-21 21:05:57 +01:00
peter
0955db3442 restore field negation by ! 2011-02-21 21:05:55 +01:00
peter
ab4660c7ac IDEA-46653 Completion in parameter list should not insert a trailing comma if the following parameter is varargs 2011-02-21 21:05:54 +01:00
peter
d91749f4c3 IDEA-65234 Smart Completion: suggest most-probable method for delegation 2011-02-21 21:05:53 +01:00
Roman Shevchenko
e84bc3af06 Project Coin try-with-resource support, take 2 2011-02-21 19:55:45 +01:00
anna
2c27958238 smart completion: insert diamond iff no arg constructor is present or all constructors are generic free and no diamond inference errors occur 2011-02-21 18:36:16 +01:00
Alexey Kudravtsev
b43904cb35 tree tests 2011-02-21 15:46:14 +03:00
Alexey Kudravtsev
fcea023d50 dependencies 2011-02-21 15:46:10 +03:00
peter
a831a7cd12 [rev=yole] revert up/down arrows in non-focused lookups to the old behavior 2011-02-21 12:40:25 +01:00
anna
5a5e84f3ef complex inference algorithm for diamond 2011-02-21 10:10:52 +01:00
Roman Shevchenko
f2184f3f50 Multi-catch support: more highlighting 2011-02-19 14:48:41 +01:00
peter
274220cb87 fix test data-3? (live with the incorrect tree update) 2011-02-18 20:52:11 +01:00
peter
c093255244 fix test data? 2011-02-18 17:51:44 +01:00