Commit Graph

118 Commits

Author SHA1 Message Date
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
anna
f71ed79b46 check ref in foreach iterated value (IDEA-59874) 2010-10-22 11:21:42 +04:00
Roman Shevchenko
f91d736dd4 Java parser switched to new version 2010-10-20 15:30:45 +04:00
peter.gromov
127a5b0b8e make the statically imported suggestions obey the expected type (IDEA-59720) 2010-10-18 21:16:35 +04:00
Alexey Kudravtsev
e2f12d5e29 dynamically add dead code extension 2010-10-08 10:13:27 +04:00
anna
cd75690d57 change signature from usage fix: varargs processing (IDEA-58449) 2010-10-05 19:55:42 +04:00
Denis Zhdanov
e5eae8e5f8 IDEA-59306 Soft wrap: Throwable at CaretModelImpl.moveToOffset() on inserting tab in last empty line in editor
1. Corrected soft wraps cache recalculation in order to take into account document position after the last symbol;
2. Corresponding test is added (com.intellij.openapi.editor.impl.softwrap.mapping.SoftWrapApplianceOnDocumentModificationTest.testTypingTabOnLastEmptyLine());
2010-10-01 14:57:40 +04:00
anna
d065029b5c unimplement: do not delete methods which override super methods (IDEA-58918) 2010-09-28 21:17:13 +04:00
Denis Zhdanov
b03382f369 IDEA-58716 When typing commit message and it exceedes line lenght, soft wrap triggers, however editor stay scrolled to the right
Added support for situation when long line exceeds visible area width and there is no convenient position for soft wrap
2010-09-16 16:23:54 +04:00
Denis Zhdanov
67ecab9f8b EA-22010 - AIOOBE: OffsetToLogicalCalculationStrategy$1.compute
Incremental update of soft wraps cache is corrected
2010-09-16 11:39:08 +04:00
anna
48b40d0c03 type casts: check type parameter first (IDEA-58454) 2010-09-09 13:09:37 +04:00
anna
0f1d1622f7 nullity: initial tests 2010-09-06 12:07:26 +04:00
peter
915cf66ef3 don't qualify magic method calls unless it's really needed. qualify instance magic methods with 'this' 2010-08-31 19:29:32 +01:00
peter
385649b73b complete siblings of statically imported fields, too (java) 2010-08-31 13:52:36 +01:00
peter
e1928c42af in attempt to fix just one test rewrite half the java method call completion; but the code now is much more self-contained, and the test is fixed 2010-08-31 12:38:38 +01:00
anna
3942c3f88d create field from parameter: array types (IDEA-58140) 2010-08-31 15:04:06 +04:00
anna
0bb2f844f2 remove redundant else: check all then clauses (IDEA-58136) 2010-08-30 20:52:53 +04:00
Alexey Kudravtsev
03a403cd29 IDEA-42131 2010-08-30 12:19:31 +04:00
anna
db9fc5a09b assert statement: description should be of string type (IDEA-58067) 2010-08-27 20:19:49 +04:00
peter
9f2c71850b don't throw exceptions when completing in the RHS of >>, complete instead 2010-08-26 20:25:10 +01:00
peter
6a19767ce5 smart primitive constant completion to work in binary expressions like | 2010-08-26 20:25:09 +01:00
anna
ab7796431a show methods the same if type parameter bounds were mixed 2010-08-26 12:03:53 +04:00
Alexey Kudravtsev
d856e1330d moved to community 2010-08-25 14:37:23 +04:00
anna
60bdcacc70 check whether wildcard bound or not (IDEA-57343) 2010-08-24 17:33:26 +04:00