Commit Graph
551 Commits
Author SHA1 Message Date
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
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