Commit Graph
330 Commits
Author SHA1 Message Date
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 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
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
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
Roman Shevchenko 91e642ac49 Project Coin try-with-resources support (exception handling, part 1) 2011-02-18 15:37:38 +01:00
Denis Zhdanov 5fe8f15981 IDEA-65434 Ctrl+Shift+Enter bug in conditional blocks
Corrected situation when we complete statement with empty code block and code style is set to keep simple instructions in one line
2011-02-18 12:03:12 +03:00
peter 1cc5e6339b IDEA-65583:
insert import when completing a class reference with existing generics
on tab, replace the generics, if any
2011-02-17 20:54:09 +01:00
Roman Shevchenko 537ee9cfcb Substitution for PsiDisjunctionType 2011-02-17 18:48:49 +01:00
anna 0f9fced33c warn about possible heap pollution: annotates as SafeVarargs for final/static methods only (to be improved) 2011-02-17 16:53:04 +01:00
anna 84e7a9ae7a unchecked warnings as fair inspection 2011-02-17 09:48:44 +01:00
anna ab784c95c2 unchecked generics array creation: in new expressions; detect generic signature in anonymous class creation 2011-02-17 09:48:43 +01:00
peter d43faca81d IDEA-65252 Static nested classes are first proposal on values 2011-02-16 18:32:14 +01:00
peter 7414445e89 completion stats should care of class qualified names (IDEA-65112) 2011-02-16 18:32:12 +01:00
anna 87e7f6aa02 add warning "unchecked generic array creation for vararg parameter" 2011-02-16 09:48:39 +01:00
anna 5c24e5a3c6 redundant unchecked warning inspection 2011-02-16 09:48:38 +01:00
anna 04d3758e69 @SafeVarargs inspection: find all methods which can be annotated as 2011-02-16 09:48:36 +01:00
anna 898f2cc1bc project coin: @SafeVarargs applicability 2011-02-16 09:48:35 +01:00
peter 4dd1c9f772 Merge branch 'master' into sort
Conflicts:
	platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/impl/VirtualDirectoryImpl.java
2011-02-15 21:25:18 +01:00
Roman Shevchenko 924c40f58d Multi-catch support: resolve to fields 2011-02-15 21:11:44 +01:00
Roman Shevchenko b4043639ba Multi-catch support: exceptions may implement interfaces 2011-02-15 18:41:03 +01:00
peter 9c2441c587 Merge branch 'master' into sort 2011-02-15 15:47:42 +01:00
Denis Zhdanov f2c1a27c51 Test data fixes 2011-02-15 09:33:13 +03:00
peter ec40eab2f2 items that are prefixes of other items should go first
Java expected type also should go first, and win
current class should be preferred in completion (IDEA-64703)
2011-02-14 21:21:32 +01:00
Roman Shevchenko 68ce5423cb Project Coin multi-catch support 2011-02-14 19:00:07 +01:00
anna 61f2714f06 create method from usage: allow to reuse parent class type args (IDEA-64683) 2011-02-10 17:21:59 +01:00
Denis Zhdanov d4117de40b IDEA-58293 Java Formatter: Respect 'space after semicolon' setting for 'for' loop with empty 'after loop' operation
Test data is corrected
2011-02-10 13:09:13 +03:00
peter 34ecc0214b a commented test for IDEA-64703 2011-02-09 16:17:08 +01:00
peter 6a1666584d prefer local variables to methods (IDEA-64703) 2011-02-09 16:17:00 +01:00
anna 1c8936875f create constructor from usage: use "override method body" template when super class contains no default constructor 2011-02-08 18:41:34 +01:00
Roman Shevchenko c0c2afe8d4 Insert/remove underscores intentions 2011-02-08 12:20:57 +01:00
Roman Shevchenko e75d85ba43 Project Coin numeric literals (IDEA-64808) 2011-02-08 12:16:20 +01:00
peter 456b8d2356 members declared in the qualifier class go first in the completion list (IDEA-13030) 2011-02-07 12:49:27 +01:00
peter d4d47954d4 classes are not subject to the 'passing object to itself' sorting heuristic 2011-02-04 15:41:47 +01:00