Commit Graph
242 Commits
Author SHA1 Message Date
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
anna 41d993b1b0 diamonds: new expressions from return statements 2011-02-03 12:59:51 +01:00
anna 9aea03d01b split if: actually forbid splitting when different operations are on the left of binary expr (IDEA-64877) 2011-02-02 18:07:59 +01:00
peter 2604b2eb59 fix completing static inner class name extending its enclosing class 2011-02-02 17:21:11 +01:00
anna 431aaa09b8 add junit to classpath when annotation FQN is used (IDEA-64909) 2011-02-02 16:33:18 +01:00
anna ab8c561e5c replace ref quickfix checks scope (IDEA-64946) 2011-02-02 14:02:19 +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
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