Commit Graph
513 Commits
Author SHA1 Message Date
anna eee43e56f4 extract method: correct cast inserted 2010-11-18 12:18:51 +03:00
peter.gromov 1dc9d6426e a more generic way to disprefer *Ex, *Impl classes and String.subSequence method 2010-11-17 21:18:06 +03:00
peter.gromov 52a4227091 in basic completion in java, act like smart completion for class names after new 2010-11-17 17:32:47 +03:00
peter.gromov a2e6ac1a63 move some test data to separate files 2010-11-17 17:32:38 +03:00
peter.gromov 5d72a452bf one more test for duplicate members 2010-11-16 19:30:31 +03:00
peter.gromov 9f8903c2d3 SmartTypeCompletionTest via fixture 2010-11-16 19:30:30 +03:00
peter.gromov b757bc2b90 show static members of expected type in basic completion 2010-11-15 19:12:39 +03:00
peter.gromov ba7b415786 IDEA-48622 Duplicated static fields in smart completion list 2010-11-15 19:12:37 +03:00
anna 0c79b901e1 extract method object: created object name should be unique (suggestion) 2010-11-15 16:54:59 +03:00
anna f79288c1eb start live template if enum constant needs params (IDEA-19205) 2010-11-15 16:54:57 +03:00
anna e102ffa653 do not generate protected constructors for enums (IDEA-53086) 2010-11-15 13:17:35 +03:00
anna d9f9a44bb6 inline redundant array creation: preserve comments (IDEA-61141 ) 2010-11-13 18:13:10 +03:00
Alexey Kudravtsev e55eb679fd IDEA-57619 2010-11-13 12:16:35 +03:00
peter.gromov b9cf99f554 disprefer *Impl classes in completion 2010-11-12 22:46:37 +03:00
anna edc0799f69 create method from usage: create method type params if needed (IDEA-55505) 2010-11-12 19:43:54 +03:00
Alexey Gopachenko ebf3b511a9 CRLF Dmitry Trofimov MUST DIE %E~ 2010-11-12 11:31:48 +03:00
Roman Shevchenko 4bb50ef21d IDEA-57347 (type parameters in new expression) 2010-11-11 22:25:43 +03:00
Dmitry Trofimov 439d1455d2 Merge branch 'master' of git.labs.intellij.net:idea/community
Conflicts:
	platform/lang-impl/src/com/intellij/psi/impl/source/codeStyle/CodeStyleManagerImpl.java
2010-11-11 21:36:40 +03:00
peter.gromov f4fafcbb4b IDEA-60822 [IdeaX] code completion for "for(fin" automatically chooses "for(finalize()" instead of "for(final" 2010-11-11 21:03:29 +03:00
peter.gromov 68d0598a76 fix double space after return in java 2010-11-11 21:03:29 +03:00
anna c191be3cc3 nullity: skip assert statements for local vars - should be possible to detect from usages; use in prams nullification (IDEA-60705) 2010-11-11 14:17:58 +03:00
anna 76c393a145 nullity: check if possible to detect NotNull return value from conditional checks (IDEA-60693) 2010-11-11 14:17:57 +03:00
anna 0f0adb32b7 do not suggest child type if instanceof inside selected block; if child type suggested then insert cast in method call 2010-11-11 14:17:57 +03:00
Roman Shevchenko f1c027f379 IDEA-57556 (blame C-style brackets after vararg parameter) 2010-11-11 11:54:00 +03:00
peter.gromov 391a9f4e2b no superfluous spaces when completing primitive types in for loop (IDEA-61052) 2010-11-10 21:24:12 +03:00
anna 1e430d23b5 pull up: protect pulled class private members (IDEA-60729) 2010-11-10 19:02:25 +03:00
anna 92b0210e9f do not mix PsiImmediateClassType and PsiReferenceClassType: presentable name for ref type is calc based on reference name only (IDEA-56135) 2010-11-10 19:02:24 +03:00
Alexey Kudravtsev 4f5f9f485a preserve highlights on enter 2010-11-09 12:51:46 +03:00
Roman Shevchenko 0c39d517a5 IDEA-56188 (trailing comma in annotation value array initializer) 2010-11-08 21:42:14 +03:00
Roman Shevchenko cb1db6171b IDEA-57674 (parameterized explicit constructor call) 2010-11-08 21:42:14 +03:00
Roman Shevchenko 632af16797 IDEA-57673 2010-11-08 18:05:08 +03:00
peter.gromov 1fec75c35a suggest the just appeared type variables when writing a method return type (IDEA-60681) 2010-11-08 17:57:34 +03:00
peter.gromov 217ece149b IDEA-58858 Regression: Incorrect behavior on method name autocomplete if the next statement has a cast 2010-11-08 17:57:34 +03:00
anna 841785ad83 rename local variable: survive after inplace rename (e.g. when accept typo quick fix); test 2010-11-02 14:48:33 +03:00
peter 3cad8b60da suggest primitive types in for loop (IDEA-60558) 2010-10-30 16:50:50 +04:00
peter 02aaf0b6b0 don't autopopup with anything after Java double literals (IDEA-60505) 2010-10-30 16:18:40 +04:00
Eugene Zhuravlev 9a8598edfe missing test data 2010-10-29 21:51:16 +04:00
Eugene Zhuravlev 9ef61f718c correctly handle annotated parameters in
1. constructors of non-static inner classes
2. constructors of enums
(IDEA-60196, IDEA-58886, IDEA-57904)
2010-10-29 19:06:51 +04:00
anna 31cb911e3f generics: raw type should not be equal to param type (IDEA-60170) 2010-10-29 15:02:02 +04:00
anna fe83d89f0d move inner: moved class should be checked if it contains inaccessible refs (IDEA-60450) 2010-10-29 15:02:01 +04:00
Bas Leijdekkers aef597fd39 added testcase 2010-10-28 22:42:41 +02:00
peter 0c2c5511bd don't show some java keywords in some java places, but show some keywords in some other places (e.g. IDEA-58589) 2010-10-28 21:19:20 +04:00
Roman Shevchenko b0dd089d62 Expression parsing fixed 2010-10-28 17:56:26 +04:00
Alexey Kudravtsev 095774c01f autoimport not completed generic reference of the kind arraylist<> 2010-10-28 13:12:24 +04:00
Alexey Kudravtsev 6d2e8a3d46 Revert: static flag for top level classes
(1dabdd4690)
2010-10-28 13:12:24 +04:00
anna 4b89145451 cs: do not compare parameters length of caller and primary method's old parameter idx (IDEA-58352) 2010-10-28 11:50:36 +04:00
anna 79bb22d0fa create static inner class if new expression is inside this/super constructor call (IDEA-45530) 2010-10-28 11:50:35 +04:00
anna 7ae3e5f625 expressions presentation tweaks, new expression type changes should not delete anonymous class (IDEA-58290) 2010-10-28 11:50:35 +04:00
Roman Shevchenko ff99ba3e6e "/**/" is no longer a javadoc 2010-10-27 21:33:11 +04:00
Bas Leijdekkers a42ef74339 IDEA-15184 (Inspection "@NotNull/@Nullable" problems misses @NotNull getter for @Nullable field)
IDEA-60156 (Inspection: Detect assignment to @NotNull field from unannotated parameter)
2010-10-26 21:54:52 +02:00