Commit Graph
2432 Commits
Author SHA1 Message Date
Anna Kozlova 012e57d2ea lambda isValueCompatible check: ensure throws is not treated as normal completion (IDEA-135581) 2015-01-26 20:19:16 +03:00
Anna Kozlova 9144a4a416 multiple jdks test: ensure Map.getOrDefault doesn't exist in jdk 7 but exist in jdk 8 2015-01-22 20:36:25 +01:00
Anna Kozlova e81c0c2c32 multiple jdks test of correct check of inheritance when super type has unknown type in type argument list 2015-01-22 19:14:32 +01:00
Anna Kozlova cfea16328e multiple jdks test of correct check of inheritance with different type arguments 2015-01-22 19:14:30 +01:00
Anna Kozlova 65064ac053 include InterruptedException into mock1.7 testdata fixed 2015-01-22 13:05:05 +01:00
peter 730bbf7667 MultipleJdksHighlightingTest: yet another test 2015-01-21 21:19:51 +01:00
peter 458b1b4b04 fix MultipleJdksHighlightingTest test data 2015-01-21 21:19:51 +01:00
Dmitry Jemerov bb8687d45e fix tests; correctly parse {@code} tags with embedded curly braces and multiline {@code} tags 2015-01-21 19:32:16 +01:00
Dmitry Jemerov cb13dccb2e disable HTML tag auto-closing inside JavaDoc inline tags (IDEA-66096) 2015-01-21 19:32:15 +01:00
Anna KozlovaandRoman Shevchenko e0953477b0 java: testdata fixed 2015-01-21 14:14:25 +01:00
Dmitry Jemerov 256fd71176 don't perform any additional parsing on the contents of the {@code} tag in javadoc (IDEA-95956) 2015-01-21 13:47:36 +01:00
Dmitry Jemerov 6349e5cb35 javadoc: inherit parameter documentation from base class doc comment when method in this class has no doc comment (IDEA-89925) 2015-01-21 13:47:35 +01:00
Anna Kozlova d5ca65d80f multiple jdks: wrong resolve order tests bombed 2015-01-21 12:45:55 +01:00
Anna Kozlova 6cc60e2543 workaround for overload resolution for methods from Object when project has multiple jdks (IDEA-135422) 2015-01-21 12:14:13 +01:00
Anna Kozlova 88b543d2c6 generate equals/hashCode: generate deepHashCode for IntelliJ template; do not use deep equals for Objects template as Objects.hash doesn't support it anyway (IDEA-135313) 2015-01-19 19:02:10 +01:00
peter cccd245a5f IDEA-134518 Insert "instanceof" completion variant on typing "!" (exclamation mark) 2015-01-14 18:55:22 +01:00
Anna Kozlova 7205db4b58 anonym -> lambda: evaluate ground type for type, inferred by position (IDEA-135211) 2015-01-14 16:45:51 +01:00
Anna Kozlova 73239255ec disable add exception to catch/generalize catch inside functional interface inside try statement (IDEA-135171) 2015-01-14 13:25:03 +01:00
Anna Kozlova ffbe05e14d stream migration: reject collection conversion if qualifier depends on loop parameter (IDEA-135104) 2015-01-13 20:55:48 +01:00
peter 9358cdd8b2 IDEA-135162 Smart Completion proposes nothing in catch statements 2015-01-13 17:11:51 +01:00
Anna Kozlova 0074de3fa9 generate equals/hashCode: ensure one @Override is inserted; extensions could also provide their annotations on equals/hashCode override;
tests: language level is 1.5 though jdk is mockJdk14 without @Override as expected -> fqns in test data
2015-01-13 16:18:30 +01:00
Anna Kozlova cd2d451fba generate equals/hashCode: sort primitive fields up and leave natural ordering (IDEA-21339) 2015-01-13 16:18:27 +01:00
Anna Kozlova 5373392483 generate equals/hashCode: pass wildcards as type arguments when needed (IDEA-127939) 2015-01-13 13:34:10 +01:00
Anna Kozlova 04b8cf4aa5 generate equals/hashCode: allow getters (IDEA-73860) 2015-01-13 12:48:00 +01:00
Anna Kozlova aab113eeab generate equals/hashCode: template for java.util.Objects; treat super.hashCode 2015-01-12 17:37:39 +01:00
Anna Kozlova 1aea6bd2b3 generate equals/hashCode: tests for apache/guava templates 2015-01-12 17:25:52 +01:00
Anna Kozlova 0ee564a95e generate equals/hashCode: use velocity templates 2015-01-09 21:02:03 +01:00
Anna Kozlova fcb252d25e ensure functional type for formal parameters lambda is valid after method reference replacement (IDEA-135053) 2015-01-08 19:54:23 +01:00
Anna Kozlova 3d9f911dc3 type distinct: allow comparisons of type X<? extends Object> == X<array> (IDEA-135041) 2015-01-08 19:54:22 +01:00
Anna Kozlova e4e0a33134 add explicit type arguments: preserve nested wildcards (IDEA-134967) 2015-01-08 13:33:00 +01:00
Anna Kozlova af7da7a8f4 incompatible parameter types in lambda expression message expanded (IDEA-134941) 2015-01-07 17:10:09 +01:00
Anna Kozlova 8ce9831489 bad return type in lambda expression: requited type added; range corrected (IDEA-134942) 2015-01-07 16:07:27 +01:00
Anna Kozlova c11d64ac60 new inference: distinguish return type type parameters and current session inference variables (IDEA-135001) 2015-01-07 15:34:27 +01:00
peter f5ab71d3b6 IDEA-134020 ctrl+shift+enter complete error to "package some.pkg" 2015-01-05 16:09:07 +01:00
peter faa69a6aa2 IDEA-134123 Reflection code completion generates Type....class instead of Type[].class for varargs 2015-01-02 17:19:54 +01:00
Anna Kozlova fa99ec2a74 lambda -> method ref: do not skip array initializer; ensure dimension expressions are correct 2015-01-02 12:05:46 +01:00
Anna Kozlova cda6746874 highlight static imports according to the color scheme selected (IDEA-133887) 2014-12-30 15:36:37 +01:00
Anna Kozlova 79b5f29665 highlight inherited methods inside anonymous/inner classes (IDEA-134626) 2014-12-29 21:15:12 +01:00
Anna Kozlova 92bb2b6d65 extract if condition: ensure brackets (IDEA-134698) 2014-12-29 18:57:46 +01:00
Anna Kozlova e9beee7c66 warn when accessing static method of interfaces in language levels prior to 1.8 (IDEA-134814) 2014-12-29 18:57:41 +01:00
Anna Kozlova b57746c55e collect exceptions by call arguments (IDEA-134808) 2014-12-29 18:57:40 +01:00
Anna Kozlova 658607d9c2 new overload resolution: reject complete normally when last instruction is return (IDEA-134808) 2014-12-29 18:57:39 +01:00
Maxim.Mossienko ecbf2e64c5 [Java] When we complete class name after new then if constructor(s) exist: show documentation for it, for several constructors suggest list of links to particular constructor documentation, same way as we do for (overloaded) calls.
Also try hard for documentation to work on incomplete new expressions like 'new Class<caret>', 'new Class(<caret>)'. As useful side effect method documentation links are shown for overloads (or method documentation for no overloads) when documentation action is invoked in argument list.
2014-12-24 22:05:27 +01:00
Anna Kozlova bb51fb1c63 generate equals/hashCode: support deep arrays equals for java > 1.5 (IDEA-131533) 2014-12-24 20:26:36 +01:00
Alexander Zolotov 30c60fff7a ListTemplate action: do not overwrite prefix-matched template with template
that was found by description
2014-12-24 19:44:40 +03:00
Anna Kozlova e130ff2669 quick javadoc: include new javadoc tags in view (IDEA-128304) 2014-12-24 14:26:27 +01:00
Anna Kozlova fc2f15f64e java 8 javadoc tags @apiNote, @implNote, @implSpec 2014-12-24 14:26:26 +01:00
Anna Kozlova f99580f6a5 enable delegate for interfaces in 1.8 2014-12-23 19:32:29 +01:00
Andrey Starovoyt b20fc1c936 live templates: incorrect adding generic parameter IDEA-134434 2014-12-23 18:18:43 +03:00
Maxim.Mossienko 7126e14983 open mail client on mailto: links 2014-12-22 13:40:05 +01:00