Commit Graph
1035 Commits
Author SHA1 Message Date
anna db86efbbd4 format type after field creation from usage (IDEA-65996) 2011-02-28 15:18:41 +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 70308b234e check for enclosing instance of type for top level extends type only (IDEA-65857) 2011-02-27 17:30:17 +01:00
anna a89d18d0f0 safe varags: enable add safe varargs on constructor 2011-02-27 16:50:28 +01:00
anna f4f467bf64 safe varags: rename inspection 2011-02-27 16:39:34 +01:00
Roman Shevchenko 70370a5456 Highlight uninitialized resource variable 2011-02-25 20:59:19 +01:00
Roman Shevchenko a469762b6d Resolve in resource list tuned to not look forward 2011-02-25 20:59:19 +01:00
Roman Shevchenko b2ec3c9263 Unused local variable inspection made aware of try-with-resources 2011-02-25 20:59:19 +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 e4eacc4451 "Reuse variable declaration" no more suitable for resource variables 2011-02-24 21:35:40 +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
Roman Shevchenko fdbaba14e1 Resource declaration 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 5fa72a60da Try-with-resource support: highlight unhandled exceptions from close() 2011-02-22 20:33:24 +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
Roman Shevchenko e4f24b084d Project Coin try-with-resource support, take 3 2011-02-22 00:35:23 +01: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 67c44e47df forbid diamonds on non-parameterized types (javac should be fixed accordingly) 2011-02-21 18:36:16 +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
anna e29bf9f509 diamonds inference: test data just-in-case 2011-02-21 15:03:31 +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 686129f0fb Test data fixed 2011-02-19 20:22:04 +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