Commit Graph

97 Commits

Author SHA1 Message Date
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
peter.gromov 1209d0d670 IDEA-54362 When "Insert pair bracket" on Editor->Smart keys page is off, IDEA still inserts both parentheses on autocomplete lookup, but overtype doesn't work for functions with at least one argument 2010-12-03 15:29:05 +03:00
peter.gromov 6448426e0b [rev=neuro159] IDEA-62218 Inner enums completion 2010-12-01 19:58:52 +03:00
peter.gromov e3ae44d876 don't let some inner JDK classes be above my precious CompletionType in lookups 2010-11-26 14:34:14 +03:00
peter.gromov 19943e9543 IDEA-50590 When completing a field with qualifier casting, caret is placed inside typecast 2010-11-26 13:02:04 +03:00
peter.gromov 07795c4a42 don't erase generics when choosing a new class name with tab (IDEA-50622) 2010-11-25 19:35:42 +03:00
peter.gromov a299f87b97 don't erase constructor arguments when choosing a new class name with tab (IDEA-61806) 2010-11-25 19:35:39 +03:00
peter.gromov b77e199a2f more on *Impl sorting in completion 2010-11-25 14:12:04 +03:00
peter.gromov 6d93a446f4 prefer inner classes from the same file 2010-11-24 21:16:54 +03:00
peter.gromov a05059a3b6 getUserData should be before getUserDataString 2010-11-24 21:16:52 +03:00
peter.gromov 8bade670b0 IDEA-53883 Anonymous classes and Ctrl+Shift+Space completion may cause IDE Fatal error 2010-11-19 20:59:39 +03:00
peter.gromov 264b830a24 don't suggest 'this' keyword in java comments 2010-11-18 16:08:38 +03:00
peter.gromov 1dc9d6426e a more generic way to disprefer *Ex, *Impl classes and String.subSequence method 2010-11-17 21:18:06 +03:00
peter.gromov 52a4227091 in basic completion in java, act like smart completion for class names after new 2010-11-17 17:32:47 +03:00
peter.gromov a2e6ac1a63 move some test data to separate files 2010-11-17 17:32:38 +03:00