Commit Graph

141 Commits

Author SHA1 Message Date
anna
19ccd895cb super wildcard processing (IDEA-62529 ) 2010-12-08 12:40:10 +03:00
peter.gromov
23e571ef91 [rev=nik] fix incorrect parentheses insertion when code style dictates spaces before & inside call parens (IDEA-49942) 2010-12-03 16:27:46 +03:00
peter.gromov
1209d0d670 IDEA-54362 When "Insert pair bracket" on Editor->Smart keys page is off, IDEA still inserts both parentheses on autocomplete lookup, but overtype doesn't work for functions with at least one argument 2010-12-03 15:29:05 +03:00
peter.gromov
6448426e0b [rev=neuro159] IDEA-62218 Inner enums completion 2010-12-01 19:58:52 +03:00
peter.gromov
e3ae44d876 don't let some inner JDK classes be above my precious CompletionType in lookups 2010-11-26 14:34:14 +03:00
peter.gromov
19943e9543 IDEA-50590 When completing a field with qualifier casting, caret is placed inside typecast 2010-11-26 13:02:04 +03:00
peter.gromov
07795c4a42 don't erase generics when choosing a new class name with tab (IDEA-50622) 2010-11-25 19:35:42 +03:00
peter.gromov
a299f87b97 don't erase constructor arguments when choosing a new class name with tab (IDEA-61806) 2010-11-25 19:35:39 +03:00
Alexey Pegov
d0c19b9481 fix JavaDocInfoGeneratorTest 2010-11-25 17:47:40 +03:00
peter.gromov
b77e199a2f more on *Impl sorting in completion 2010-11-25 14:12:04 +03:00
peter.gromov
6d93a446f4 prefer inner classes from the same file 2010-11-24 21:16:54 +03:00
peter.gromov
a05059a3b6 getUserData should be before getUserDataString 2010-11-24 21:16:52 +03:00
peter.gromov
8bade670b0 IDEA-53883 Anonymous classes and Ctrl+Shift+Space completion may cause IDE Fatal error 2010-11-19 20:59:39 +03:00
anna
e1164f1314 private inner class can't be used in top class signature ( IDEA-57751) 2010-11-19 12:07:05 +03:00
peter.gromov
264b830a24 don't suggest 'this' keyword in java comments 2010-11-18 16:08:38 +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
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
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
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
peter.gromov
391a9f4e2b no superfluous spaces when completing primitive types in for loop (IDEA-61052) 2010-11-10 21:24:12 +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
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
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
anna
31cb911e3f generics: raw type should not be equal to param type (IDEA-60170) 2010-10-29 15:02:02 +04: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
Alexey Kudravtsev
095774c01f autoimport not completed generic reference of the kind arraylist<> 2010-10-28 13:12:24 +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
peter.gromov
1e148bbbda after instanceof, prefer interfaces and abstract classes 2010-10-26 20:49:33 +04:00
anna
72f680902b access object class should be calc corresponding to ref qualifier (IDEA-58377) 2010-10-26 12:19:38 +04:00
Alexey Kudravtsev
221d0c527e Application.assertWriteAccess does really assert in tests,
tests now run in EDT
2010-10-25 15:04:08 +04:00
anna
26738d0e50 nullity: foreach params processing (IDEA-59825) 2010-10-22 21:52:24 +04:00
anna
946b3a3f63 implement abstract method; use existing implementation for enum constants (IDEA-59807) 2010-10-22 21:52:19 +04:00