Commit Graph
570 Commits
Author SHA1 Message Date
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
Roman Shevchenko e84bc3af06 Project Coin try-with-resource support, take 2 2011-02-21 19:55:45 +01:00
anna 67c44e47df forbid diamonds on non-parameterized types (javac should be fixed accordingly) 2011-02-21 18:36:16 +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
anna e29bf9f509 diamonds inference: test data just-in-case 2011-02-21 15:03:31 +01:00
anna 5a5e84f3ef complex inference algorithm for diamond 2011-02-21 10:10:52 +01:00
Roman Shevchenko 686129f0fb Test data fixed 2011-02-19 20:22:04 +01:00
Roman Shevchenko f2184f3f50 Multi-catch support: more highlighting 2011-02-19 14:48:41 +01:00
Roman Shevchenko 91e642ac49 Project Coin try-with-resources support (exception handling, part 1) 2011-02-18 15:37:38 +01:00
Denis Zhdanov 5fe8f15981 IDEA-65434 Ctrl+Shift+Enter bug in conditional blocks
Corrected situation when we complete statement with empty code block and code style is set to keep simple instructions in one line
2011-02-18 12:03:12 +03: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
Roman Shevchenko 537ee9cfcb Substitution for PsiDisjunctionType 2011-02-17 18:48:49 +01:00
anna 0f9fced33c warn about possible heap pollution: annotates as SafeVarargs for final/static methods only (to be improved) 2011-02-17 16:53:04 +01:00
anna 84e7a9ae7a unchecked warnings as fair inspection 2011-02-17 09:48:44 +01:00
anna ab784c95c2 unchecked generics array creation: in new expressions; detect generic signature in anonymous class creation 2011-02-17 09:48:43 +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
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