Commit Graph
1000 Commits
Author SHA1 Message Date
peter b30cd1e755 suggest members of inheritors of expected type (IDEA-74668,IDEA-72992) 2011-09-23 16:14:26 +02:00
anna 18b6fe1bd4 check method signatures equality by erasure; do not check method names for constructors.
note that erasure of type parameter is erasure of its left bound (jls), so erasure (T extends A & B) != erasure (T extends B & A)
e.g. IDEA-74409
2011-09-23 08:00:09 +02:00
Roman Shevchenko 7fc78a853e Javadoc parser migrated to PsiBuilder 2011-09-21 11:56:02 +02:00
peter 2f83803dba exclude from completion should also affect implicitly imported items (IDEA-68605) 2011-09-20 19:14:24 +02:00
peter 45eba8f54a don't suggest to call methods in anonymous class bodies 2011-09-20 17:27:56 +02:00
Alexey Kudravtsev bc00768fd6 IDEA-67098 + com.intellij.codeInsight.daemon.DaemonAnalyzerTestCase.testFile fluent interface 2011-09-20 18:39:10 +04:00
peter 184dff3cc2 IDEA-71746 Please, enable completion of non initialized fields 2011-09-19 19:38:07 +02:00
peter bc61189599 IDEA-72104 Code completion for the final attribute of the enum 2011-09-19 19:38:06 +02:00
peter 220e1eaad3 display in completion the explicit method type arguments that will be inserted 2011-09-19 18:17:28 +02:00
peter 367fcd17a8 IDEA-73345 Completion does not propose generic parameters of a method until the header is complete 2011-09-16 14:13:47 +02:00
peter 43eb3e6dc5 invite to type type parameters when completing new Callable 2011-09-16 14:13:46 +02:00
peter 330016badf suggest class names in foreach with missing type (IDEA-74350) 2011-09-15 20:02:35 +02:00
peter a9458eabd6 IDEA-74356 Code completion: Tab in the middle of already typed code adds a space 2011-09-15 20:02:35 +02:00
peter a5f568196e don't suggest to complete class literals not in expressions 2011-09-15 16:38:19 +02:00
anna 48643622e8 introduce variable: insert var declaration after assignment to final variable 2011-09-15 12:35:38 +02:00
anna 263680df94 use type parameter bound when normalize super wildcard by position (IDEA-73980) 2011-09-14 19:36:26 +02:00
anna daa3c0ff05 disable rename as wrong ref on invalid access refs; though enable quick fix there 2011-09-14 19:36:25 +02:00
peter 1a9b32f1b8 finishing lookup with a smart enter should actually work like a smart enter 2011-09-14 18:21:02 +02:00
peter 8ea2424104 suggest inner classes from superclas in smart completion 2011-09-14 13:11:29 +02:00
anna b9f48882af create field from parameter: when field would be final and parameter is NotNull then the field should be also @NotNull (IDEA-74136) 2011-09-13 20:23:49 +02:00
peter a3a880da44 smart completion of primitive and array type class object access (IDEA-72265) 2011-09-13 17:06:51 +02:00
peter aea5cea3d5 parse byte[].xxx as a qualified reference expression 2011-09-13 17:06:51 +02:00
peter 9ddcf4fde8 nothing but .class after primitive or array types in basic completion (IDEA-72265) 2011-09-13 17:06:51 +02:00
Bas Leijdekkers 8ff3af2a35 Simplification of "@NotNull/@Nullable problems" inspection settings 2011-09-09 15:53:55 +02:00
peter 22a6e37301 basic completion of class keyword after primitive types and arrays (IDEA-72265) 2011-09-09 12:18:56 +02:00
anna d6970bc9b3 restore escalate visibility for moved members 2011-09-09 10:54:32 +02:00
anna 32e09dafb3 fix delegation to abstract method (EA-29618 - NPE: DelegateWithDefaultParamValueIntentionAction.invoke) 2011-09-09 10:54:30 +02:00
peter 2ffcdf1cb9 IDEA-72776 JAVA: duplicate "boolean" autocomplete suggestion 2011-09-08 19:38:07 +02:00
peter a4f4d931e3 IDEA-72951 'break' keyword is not suggested by completion in a loop with single statement body 2011-09-08 19:38:06 +02:00
anna e2ae76304d expand diamonds on introduce parameter (IDEA-74059) 2011-09-08 19:27:54 +02:00
anna 94bb0729c0 introduce parameter: substitute type parameters on call site 2011-09-08 19:27:53 +02:00
anna b294192ac2 diamonds: should check raw types when error occurs before inference is even started (IDEA-74053) 2011-09-08 19:27:51 +02:00
anna 2b83ce0999 move inner to upper level: don't make enum constructor public (IDEA-74036) 2011-09-08 19:27:51 +02:00
peter c6343bf710 IDEA-70589 autocomplete in interfaces thinks that everything is a constant 2011-09-08 16:15:57 +02:00
anna 0eb2875056 surround expression with: support for expression's parts (IDEA-73868) 2011-09-08 11:21:17 +02:00
anna 85d3c55244 restore copy/paste for non-java files inside source roots (IDEA-73192 ) 2011-09-07 17:00:01 +02:00
anna b0d0f28f03 process diamonds on safe delete of type parameter (IDEA-73968) 2011-09-07 12:18:59 +02:00
anna 8fef5fc92d replace with diamonds should always check if inferred type agrees with expected type (IDEA-73944) 2011-09-07 12:18:58 +02:00
peter bff5d16471 dot chooses lookup items, even those that contain dot 2011-09-06 18:38:34 +02:00
peter 3efabdc178 preselect the most relevant item when lexicographic sorting is enabled in the lookups 2011-09-06 18:16:55 +02:00
anna ca2c3bc539 SOE (IDEA-69752 ) 2011-09-06 11:54:45 +02:00
anna c09410b3b5 @Override quick fixes: suggest to pull method up; pull members up, extract interface/superclass (IDEA-55720 ) 2011-09-06 11:54:45 +02:00
anna 25b5ddcbc8 pull up: preserve/remove override from pulled method according to super classes structure 2011-09-06 11:05:01 +02:00
anna 5471e8e202 push down: do not add the same interface twice (check class equivalence over non-copied element) 2011-09-06 11:05:00 +02:00
anna d1a5dacee3 inline superclass: preserve superclass extends/implements list (IDEA-69339) 2011-09-06 11:04:59 +02:00
anna b01b21b30f rationalize static method calls after pull up 2011-09-02 19:25:58 +02:00
peter c8e59d711c IDEA-73717 Completion after 'new' and generics 2011-09-02 18:37:54 +02:00
Alexey Kudravtsev ee1a3cb532 IDEA-72851 2011-09-02 13:50:55 +04:00
anna 4fddb0a5c8 redundant casts: skip casts in conditional branches of calls when resulted call would resolve to another method (IDEA-15720) 2011-09-01 19:07:48 +02:00
anna a8172fdc67 replace inaccessible field with getter/setter (IDEA-22752) 2011-09-01 16:04:33 +02:00