Commit Graph
311 Commits
Author SHA1 Message Date
peter 09108a1141 in a class, prefer member modifiers to other classes 2011-03-07 18:25:00 +01:00
peter 893c24c52f IDEA-57403 Completion cannot suggest members of an intersection type 2011-03-03 20:07:58 +01:00
peter f145812a77 foreach loop variable shouldn't be visible from the loop expression (IDEA-55859) 2011-03-03 20:07:54 +01:00
peter 5c6c1da682 prefer return 2011-02-28 18:29:30 +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 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
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
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
Roman Shevchenko 686129f0fb Test data fixed 2011-02-19 20:22:04 +01: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
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
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
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
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
peter 2604b2eb59 fix completing static inner class name extending its enclosing class 2011-02-02 17:21:11 +01:00
anna c05c58cf4c completion: diamonds; inspection: collapse to diamond 2011-01-31 17:14:11 +01:00
peter e782c50a1e IDEA-64713 Using a comma in code completion inserts a trailing space for method calls but not for variable names 2011-01-27 19:37:00 +01:00
peter a87d5fd8a6 for expected class types insert the parentheses 2011-01-26 18:52:56 +01:00
peter 009015d5e5 prefer the expected type even if it's inner 2011-01-26 18:52:55 +01:00
peter f46268d4c8 correctly suggest protected methods after Xxx.super. 2011-01-26 18:52:53 +01:00
peter df9e776747 don't let the following nasty angle braces spoil the qualifier casting 2011-01-25 19:28:58 +01:00
peter 08eab417c0 prefer final over finalize() 2011-01-25 19:28:58 +01:00
peter 9f4efe0e8f IDEA-64612 Autocasting from completion is not inserted after "assert X instanceof T" (and before another assignment) 2011-01-25 19:28:58 +01:00
peter 56ca617adb add () when completing class name in more cases 2011-01-25 19:28:58 +01:00
peter f0d36a8cbe Collections.emptyList should accept the qualified prefix 2011-01-20 16:29:53 +01:00
peter 6a794afabc don't overwrite dots when finishing completion by ., since it's irritating 2011-01-19 18:34:27 +01:00
peter f0449b004e enable stats for class name completion in some qualifier 2011-01-19 18:34:24 +01:00
peter f2ad1eb124 tailOffset degraded in class name completion (EA-24778) 2011-01-18 20:08:23 +01:00
peter.gromov 69610271bc java: IDEA-56612 code completion for catch argument must suggest only exception classes 2010-12-29 18:27:42 +03:00
peter.gromov 6ce11f88e1 IDEA-51529 Space isn't inserted when completion is finished by '=' symbol 2010-12-23 20:11:34 +03:00
peter.gromov 2c366d0ce4 IDEA-49625 Smart completion suggest variables for private overloaded methods 2010-12-23 20:11:33 +03:00
peter.gromov 4240c6817e in completing an anonymous class, the closing parenthesis should be inserted regardless of the pair bracket settings (IDEA-63392) 2010-12-23 18:32:16 +03:00
peter.gromov c09bf152d6 IDEA-62753 Completing method call with ';' when pair bracket autoinsertion is off 2010-12-15 18:54:42 +03:00
peter eabeeffd00 WI-4378 Autocomplete issue: Zen Coding abbreviation expanded instead of autocompletion 2010-12-13 16:42:27 +03:00
peter f5f37d9499 [r=nik] no comma/semicolon/whatever when no closing bracket is inserted (IDEA-62725, IDEA-58920) 2010-12-09 12:51:22 +03:00
peter e1980f56b1 show type parameters and local classes in basic completion (IDEA-62711) 2010-12-09 11:36:45 +03:00
peter.gromov 23e571ef91 [rev=nik] fix incorrect parentheses insertion when code style dictates spaces before & inside call parens (IDEA-49942) 2010-12-03 16:27:46 +03:00