Commit Graph
5496 Commits
Author SHA1 Message Date
Anna Kozlova bba30278f9 method refs: fix variable initializing order (IDEA-132445) 2014-11-06 19:11:29 +01:00
Roman Shevchenko 4e851eaffb IDEA-132440 (more straightforward element lookup) 2014-11-06 18:00:38 +01:00
Roman Shevchenko 7f5aff2c9b IDEA-132440 (tests updated) 2014-11-06 16:36:28 +01:00
peter 1bb916118a IDEA-132335 Shorten qualified names in external/inferred anno gutter tooltip when possible 2014-11-05 22:07:15 +01:00
Roman Shevchenko 99ed5b077e revert 'introduce variable: use common introduce api (I)' 2014-11-05 21:42:02 +01:00
Anna Kozlova ef0844d837 search for functional interfaces in java 8 modules only 2014-11-05 21:39:01 +01:00
Anna Kozlova 234fdbfc4f find functional expressions by method type parameter 2014-11-05 19:31:52 +01:00
Anna Kozlova 027d201051 introduce variable: use common introduce api (I) 2014-11-05 18:01:28 +01:00
peter 1bbe7b6dba IDEA-131729 Completion for Java annotation class: include members of java.lang.annotation automatically 2014-11-05 13:32:34 +01:00
peter 8df23a549a IDEA-120855 Auto-complete should indicate that suggested variants are not compatible with the module language level 2014-11-05 13:32:33 +01:00
Anna Kozlova 3975e10ec8 import: ensure imported classes are not lost after on demand folding (IDEA-132190) 2014-11-04 17:44:36 +01:00
Eugene Zhuravlev 5ec5fe4885 when processing dependencies on deleted classes, do not affect already compiled files 2014-11-04 17:29:02 +01:00
peter 93bd4313fe IDEA-131899 Writing Javadoc does not automatically trigger hinting / auto-completion 2014-11-04 12:25:50 +01:00
Anna Kozlova 0ca896928f infer generic functional types by lambda's formal parameters and exact method refs 2014-11-03 19:13:05 +01:00
Anna Kozlova 870ff1398a inplace introduce: invalid identifiers 2014-11-03 16:32:13 +01:00
Anna Kozlova accd4f0b23 redundant lambda code block: check void compatible lambdas for ambiguity conflicts 2014-11-03 16:11:26 +01:00
Anna Kozlova 7547c92c1f anonym -> lambda: expression lambda should be used with care due to void/value ambiguity (IDEA-125951) 2014-11-03 16:03:53 +01:00
Anna Kozlova e887542c3e suggest correctly shaped functional types if extracting functional expression without context: initial (IDEA-125510) 2014-11-03 15:08:48 +01:00
Anna Kozlova cbd7256497 Merge remote-tracking branch 'origin/master' 2014-10-31 16:21:24 +01:00
peter ddcccb0085 IDEA-132163 Symbol search: LiBo.paBo should find LineBorder.paintBorder from JDK 2014-10-31 17:26:22 +04:00
Anna Kozlova 5f147eff7e fix comparison level when checking type arguments applicability (IDEA-132063) 2014-10-31 14:23:41 +01:00
Anna Kozlova 6e4595e7bd capture getClass() method type (IDEA-130973) 2014-10-31 13:24:41 +01:00
Anna Kozlova 66cd10b00c new inference: unchecked conversion detection in case of inference variables (IDEA-122932) 2014-10-31 13:24:40 +01:00
Vladimir Krivosheev 021488c5a9 fix test data 2014-10-31 08:45:56 +01:00
Anna Kozlova 2a71679bc4 initialized twice should not make use of computed constants (IDEA-63226) 2014-10-30 18:41:04 +01:00
Anna Kozlova 14f91eb65f final field initialization: class initializers (IDEA-130312) 2014-10-30 18:41:03 +01:00
Anna Kozlova 113d5db581 testdata for IDEA-65386 2014-10-30 18:41:02 +01:00
Alexander Zolotov 7d03fdd37c Do not commit document on space
- commit is not needed anymore due to changed logic of multicaret handling
- reimplement SpaceTypedHandler with TypedHandlerDelegate
- commit single document for custom templates
2014-10-30 17:23:03 +03:00
Roman Shevchenko ef38ddcb9f java: ClsFile.findElementAt() behaviour fixed 2014-10-30 14:28:06 +01:00
Anna Kozlova d0e6c61fde disable short circuits for unreachable statements detection (IDEA-58305; IDEA-70953; IDEA-70948) 2014-10-30 11:50:05 +01:00
Vladimir Krivosheev a1b6f5c8aa simplification — introduce StateSplitterEx 2014-10-30 10:50:35 +01:00
Anna Kozlova 0f93915c6c bombed 2014-10-29 20:58:00 +01:00
Anna Kozlova 3e3824fc89 add field to enum: ensure correct position after comment (IDEA-131820) 2014-10-29 18:05:55 +01:00
Anna Kozlova ddbaef9462 fix message for final locals used inside local/anonym classes in java 8 (IDEA-131949) 2014-10-29 18:05:52 +01:00
Eugene Zhuravlev 5842f4f6f4 recompile classes with potentially ambiguous method calls when vararg method is added 2014-10-29 17:18:44 +01:00
Anna Kozlova f0fc85674e diamonds: constructor varargs (IDEA-131918) 2014-10-29 14:21:11 +01:00
Dmitry Batrak 9c94ace79f IDEA-131761 Quick documentation incorrectly renders value of byte[] constant 2014-10-29 13:49:44 +04:00
Dmitry Batrak a169953a59 IDEA-131953 Multiple carets misbehave when auto completion dropdown opens 2014-10-29 12:20:22 +04:00
Dmitry Batrak 1429ce728f IDEA-58130 Improve editor performance during working with large files written in a single line
Make logicalPositionToOffset calculations faster for long lines (when soft wraps are enabled).
Position calculations are more consistent now so this is also supposed to fix EA-53787.
2014-10-29 12:20:20 +04:00
peter cf2c38a205 IDEA-131537 Inspection "Setter parameter for @Nullable field is annotated @NotNull" is doubtful 2014-10-28 22:37:16 +04:00
Yaroslav Lepenkin 896ec1edde corrected test data of "MoveMembersTest#testscr40064", due to introducing "initializer block" arrangement entry and providing changes in default arrangement configuration (98b4ec4), instance and static fields are now placed before instance initializer blocks (default order: "static fields", "static initializers", "fields", "instance initializers") 2014-10-28 14:33:56 +04:00
Anna Kozlova f05cd24dfe EA-62157 - IAE: PsiUtil.getLanguageLevel
process further when package-info doesn't correspond any package
2014-10-28 12:00:19 +01:00
Yaroslav Lepenkin d253c4201d fixed failing test "testWrapMethodAnnotationBeforeParams"
Added possibility to specify parent block for AbstractJavaBlock. When processing method, wrap after annotation (on keyword "public, private, protected") is set to be parent of method parameters wrap. So when wrap occurs parent wrap is used instead of method parameter wrap (which is now child)
2014-10-27 22:19:08 +04:00
Yaroslav Lepenkin 98b4ec43a6 Supported "initializer block" arrangement entry (IDEA-95115)
Previous behaviour was to treat initializer block as field and stick it with previous field, now it's eliminated with matching and rearranging according to matching rules. See comments also in [CR-IC-6618]
2014-10-27 22:19:07 +04:00
Anna Kozlova f2257025fa extract light method object: create class initializer if there is no place to put initializer (IDEA-131912) 2014-10-27 15:40:03 +01:00
Anna Kozlova a6e35cfd57 calculate void/value lambda compatibility based on valid, non-modified lambda expression 2014-10-27 15:40:01 +01:00
Anna Kozlova 8f67ad587e "might not have been initialized" adjusted for lambdas inside anonymous (IDEA-130468) 2014-10-24 21:48:13 +02:00
Anna Kozlova a56e52d868 put new variable inside lambda body: check lambda-related types only after lambda body is fixed (EA-62133 - IOE: PsiJavaParserFacadeImpl.createStatementFromText) 2014-10-24 18:36:22 +02:00
Anna Kozlova 5136167d8b new inference: use site substitution inside one level of inference only so calls with different site substitutions are possible in one expression (IDEA-131723; IDEA-131562) 2014-10-24 18:36:20 +02:00
Alexey Kudravtsev 3b3389171e IDEA-130337 2014-10-24 14:45:32 +04:00