Commit Graph

1025 Commits

Author SHA1 Message Date
peter
7dbcadcedc IDEA-70184 Class F cannot be referenced from static context error after Smart Completion invocation 2011-10-17 20:26:07 +02:00
anna
c97568edcd skip inaccessible duplicates (IDEA-75520) 2011-10-14 17:02:31 +02:00
anna
5cf4f5c155 introduce array from varargs expression: preserve the method call (IDEA-75519) 2011-10-14 17:02:30 +02:00
peter
6fb5e52e24 IDEA-75502 Tab in completion replaces the whole line instead of an identifier 2011-10-14 15:26:10 +02:00
peter
7dd4d3d0a5 suggest unresolved reference names only once 2011-10-13 20:35:56 +02:00
peter
1c878bdc94 IDEA-52806 JAVA: smarter parameter name completion for Builder-style-methods 2011-10-12 19:50:08 +02:00
peter
744cc3c5ed IDEA-60790 Variables names completition suggests already used names 2011-10-12 15:09:27 +02:00
peter
7dc4415a90 complete return in switch-case 2011-10-11 19:07:49 +02:00
anna
1793a5ad90 extract method object from anonymous class: update method call site when context should be changed; do not change call site though 2011-10-11 15:13:05 +02:00
anna
2dde0244eb ignore abstract non-serializable classes with "serializable methods" in editor; check if there are non-abstract serializable subclasses in batch mode (IDEA-74261 ) 2011-10-10 14:17:44 +02:00
nik
4ab95046f6 fixed source root detection for java files in default package (IDEA-74616) 2011-10-10 11:44:41 +04:00
anna
9188075b91 expand implement methods fix availability for new Runnable()<caret> (IDEA-74043 ) 2011-10-07 14:11:21 +02:00
peter
e15e871848 IDEA-75072 "import statically" option not provided for smart completion variants, java 2011-10-06 19:49:11 +02:00
peter
c503938810 JavadocCompletionTest -> community 2011-10-05 20:41:34 +02:00
peter
61e2582ca9 some tests made more ready to the live templates advent 2011-10-05 17:37:43 +02:00
Denis.Zhdanov
697c1893b3 IDEA-75043 Surround with template: correct processing in case of blank line after after the statement
Test data is corrected;
2011-10-04 12:42:26 +04:00
Alexey Pegov
cb94e43145 test for surround with empty line after 2011-09-30 14:49:17 +04:00
peter
a48dd6e1de IDEA-71518 let parameters completion pass method parameters 2011-09-28 19:28:38 +02:00
peter
4902980df0 IDEA-68815 ConstantConditions inspection inside timers 2011-09-27 18:44:03 +02:00
anna
2bd262433b missed substitutor in hash code (IDEA-74581) 2011-09-27 15:55:24 +02:00
peter
eb74d43139 better type inference for smart completing nested generic method call arguments (IDEA-74749) 2011-09-26 13:50:56 +02:00
peter
1bdf394db8 don't suggest methods to override/implement, it seems to be quite useless (IDEA-74784) 2011-09-26 13:50:55 +02:00
anna
9bd778fc21 test data for IDEA-74581 2011-09-26 12:45:06 +02:00
peter
8fb263884a IDEA-68684 Extra parenthesis and semicolon in inserted by smart completion of array type initializer in some cases 2011-09-23 20:21:55 +02:00
peter
5f4f51af48 IDEA-74709 Return should not be suggested inside method arguments 2011-09-23 16:14:26 +02:00
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