Commit Graph

168 Commits

Author SHA1 Message Date
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
Maxim Shafirov 1d80476b46 IDEA-25139: Proper caret placement for methods, if "next line" brace style is in use. 2011-01-24 16:12:07 +03:00
anna 58447c4832 add explicit type arguments: qualify method expression if needed (IDEA-64458) 2011-01-24 13:20:30 +01:00
anna db47e5ccd8 forbid private/protected class modifiers inside anonymous classes (IDEA-64188) 2011-01-20 18:51:34 +01:00
anna b4f660521a infer nullity: skip () and type casts correctly (IDEA-64419) 2011-01-20 18:51:34 +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
Denis Zhdanov ba485ee898 IDEA-63303 Collapsing of multiline //-style comment feature request
1. Added ability to configure IJ editor to auto-collapse multiple subsequent end of line comments;
2. Corresponding test is added;
2011-01-17 15:51:25 +03:00
anna 5ae4640721 enable diamonds in field initializers (IDEA-63979) 2011-01-12 16:51:31 +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
anna e1ac3c6f0a suggest new param name based on type instead of other params 2010-12-23 18:01:52 +03:00
anna 9010b36338 invert if: do not skip returns as they may contain valuable info (IDEA-61892) 2010-12-22 22:25:20 +03:00
anna 4b793a4f9f unbound wildcard is not provably distinct from any array type (IDEA-63447) 2010-12-22 17:13:51 +03:00
anna a167792cf4 do not migrate from type to self 2010-12-16 19:16:28 +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
anna 1c515125bb infer nullity: check for switch conditions (IDEA-61451) 2010-12-13 20:57:59 +03:00
peter eabeeffd00 WI-4378 Autocomplete issue: Zen Coding abbreviation expanded instead of autocompletion 2010-12-13 16:42:27 +03:00
anna 64e3456f20 bring into scope: multiple vars in one declaration should be normalized (IDEA-62848 ) 2010-12-13 15:56:43 +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
Alexey Kudravtsev 458ae21dcb test for IDEA-62529 2010-12-08 16:13:24 +03:00
anna 19ccd895cb super wildcard processing (IDEA-62529 ) 2010-12-08 12:40:10 +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
Alexey Pegov d0c19b9481 fix JavaDocInfoGeneratorTest 2010-11-25 17:47:40 +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
anna e1164f1314 private inner class can't be used in top class signature ( IDEA-57751) 2010-11-19 12:07:05 +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
peter.gromov 5d72a452bf one more test for duplicate members 2010-11-16 19:30:31 +03:00
peter.gromov 9f8903c2d3 SmartTypeCompletionTest via fixture 2010-11-16 19:30:30 +03:00
peter.gromov b757bc2b90 show static members of expected type in basic completion 2010-11-15 19:12:39 +03:00
peter.gromov ba7b415786 IDEA-48622 Duplicated static fields in smart completion list 2010-11-15 19:12:37 +03:00
anna f79288c1eb start live template if enum constant needs params (IDEA-19205) 2010-11-15 16:54:57 +03:00