Commit Graph
6788 Commits
Author SHA1 Message Date
Anna Kozlova 010dd7c48d testdata for IDEA-136708 2015-10-05 11:51:32 +02:00
Anna Kozlova 75c14f25b6 testdata for IDEA-138752 2015-10-05 11:51:30 +02:00
Anna Kozlova 2d27bff5ad remove too smart wildcards assignments checks (IDEA-138957) 2015-10-05 11:51:29 +02:00
Anna Kozlova 4ed1c43acf testdata for IDEA-140686 2015-10-02 20:32:08 +02:00
Anna Kozlova 2a27f86b79 new inference: don't clear foreign caches - remove only expressions which were added 2015-10-02 20:32:07 +02:00
Yaroslav Lepenkin 8736db12bc Replace empty lines with <p> instead of <p/> (IDEA-145373), however preserve existing <p/>.
According to documentation "If you have more than one paragraph in the doc comment, separate the paragraphs with a <p> paragraph tag, as shown." and it has not changed since 2010, also javadoc tool from jdk8 fails with error "error: self-closing element not allowed", that is why we now generate <p>
2015-10-02 16:53:51 +03:00
peter 1154b6f096 IDEA-145752 Annotation attribute value: irrelevant completion proposals for boolean attribute (basic completion) 2015-10-02 14:42:41 +02:00
peter 0eb643a725 IDEA-145768 MagicConstant completion in incomplete code 2015-10-02 14:42:41 +02:00
Anna Kozlova 197110ff95 overload resolution: provide type parameter bounds with site substitutor to correctly compare types during most specific check (IDEA-144463) 2015-10-02 12:05:27 +02:00
Anna Kozlova a0ce4457ae intention to replace assignment with void-call (IDEA-143069) 2015-10-01 20:11:59 +02:00
nik 309727d069 IDEA-145790: When a run configuration is started run java process using newest JDK from module dependencies 2015-10-01 13:08:14 +03:00
peter 23606e58af correct thread dump normalizing to split dumps wrapped in the first line 2015-10-01 10:16:39 +02:00
peter a3ed62e82e NormalizeTextTest -> groovy 2015-10-01 10:16:38 +02:00
Anna Kozlova 9dabc8ed14 create from usage: fix target class when created from super expression (IDEA-145227)
include all classes in tests in target and choose the first available
2015-09-30 20:41:12 +02:00
Anna Kozlova e5979eaa35 diamonds: ensure new expression with diamond is treated as poly expression; ensure that site substitutions for constructor refs are ignored as they always contain raw substitutions 2015-09-30 17:35:12 +02:00
Anna Kozlova c111105d30 cache diamond inference results 2015-09-30 10:59:13 +02:00
Anna Kozlova 090038722a EA-70589 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2015-09-29 17:59:47 +02:00
Sergey Savenko 9e6ffde402 Extract an interface for search sessions (a facade for actions) 2015-09-29 16:58:41 +03:00
peter 15369d718e IDEA-145680 Basic completion doesn't work inside method call after "<" in if condition 2015-09-29 11:07:45 +02:00
Gregory.Shrago ef910d7385 FileStructureTestCase refactoring: move logic out of setUp, allow testing by text 2015-09-28 23:57:26 +03:00
Anna Kozlova 3c9f16f866 extract super from anonymous fixed; no rename could be suggested
EA-71255 - assert: JavaPullUpHelper.doMoveClass
2015-09-28 20:18:35 +02:00
Anna Kozlova d5a31ea205 inference: incorporation with capture and fresh variables (IDEA-145566) 2015-09-28 20:18:34 +02:00
Sergey Savenko 4fe0b96f70 Extract search and replace component 2015-09-28 21:07:49 +03:00
Egor.Ushakov d20286d69c fixed incorrect dynamic usage of RequestHint.getSize 2015-09-28 17:28:14 +03:00
Anna Kozlova d5912a3ffb fix testdata 2015-09-28 15:12:07 +02:00
Alexander Zolotov bc7d98c107 Prefer most recent exact-matched template in completion 2015-09-28 12:23:39 +03:00
Alexander Zolotov 2687cd7a22 Do not filter out templates with same key but different groups from completion 2015-09-28 12:23:37 +03:00
peter 10239c6345 IDEA-145471 Completion for return value check for method annotated with magic constant 2015-09-25 15:21:57 +02:00
Anna Kozlova 06eecb0b1d duplicate throws: ensure checks are proceed with correct type after first problem detected (IDEA-145542) 2015-09-25 15:43:12 +03:00
Anna Kozlova 2da2ff75fa don't reject static method of interfaces imported via static imports (IDEA-145504) 2015-09-25 15:43:09 +03:00
Alexander Zolotov 3ab37bc487 Do not complain about referencing test-only class on anonymous classes
This functionality is covered by checking PsiCallExpression elements
2015-09-25 15:29:52 +03:00
Ilya Klyuchnikov ac3ee3b425 IDEA-144129: support for inferred negated contracts 2015-09-25 15:01:31 +03:00
Anna Kozlova d9403ffcb7 encode qualifiers in method refs (IDEA-145512) 2015-09-25 13:53:43 +03:00
Anna Kozlova b29779ed87 local can be final: don't ignore problems found in lambda body (IDEA-145500) 2015-09-25 13:53:40 +03:00
Anna Kozlova 7d92ec966f new overload resolution: reject candidates with applicability level less than asked (IDEA-145505) 2015-09-24 19:58:55 +03:00
Anna Kozlova 9ebe7c76c9 unused library: bind parameter modifier lists with annotation classes (IDEA-145186) 2015-09-24 19:58:49 +03:00
Anna Kozlova dc5e1732f7 report redundant suppressions on line with suppression or on corresponding member if member annotated (IDEA-145472) 2015-09-24 13:09:22 +03:00
peter c57fa18eaa display type arguments in java completion suggestions (IDEA-143204) 2015-09-23 18:08:04 +02:00
peter ced18f2839 prefer expected type generics suggestions in java completion, overwrite existing type arguments (IDEA-145119) 2015-09-23 18:08:03 +02:00
peter e3657dfb11 always suggest non-imported annotations (IDEA-145447) 2015-09-23 18:08:03 +02:00
peter c70ab42653 fix finding lambdas implementing JDK interfaces 2015-09-23 13:48:55 +02:00
Alexey Kudravtsev 04fb864cc4 Reverted 2015-09-22 14:24:41 +03:00
Vladimir Krivosheev 21358d6331 fix MultipleJdksMoveClassTest an FileTemplatesTest 2015-09-21 17:14:28 +02:00
Vladimir Krivosheev 0286eee843 project store — we don't load default state in tests as app store does because
1) we should not do it
 2) it was so before, so, we preserve old behavior (otherwise RunManager will load template run configurations)
2015-09-21 17:14:28 +02:00
Vladimir Krivosheev c777f3e988 fix PluginModuleCompilationTest — get rid of explict isOptimiseTestLoadSpeed flag manipulation
don't load app components state — Compiler tests doesn't remove configs on tear down and, so, old jdk table is loaded
2015-09-21 17:14:10 +02:00
Vladimir Krivosheev c99c7f3eec cleanup 2015-09-21 17:14:04 +02:00
Alexey Kudravtsev 54ffb7157d make temporary names more nice-looking, remove project files cached in VFS from the previous tests 2015-09-21 16:32:36 +03:00
Yaroslav Lepenkin 6159e94bdf Do not expand indents for group of blocks with smart indent, if each one of them has no linefeed before, and block going right after group has linefeed and has smaller indent than any new line children of any block in the group. This will prevent from inserting double continuation indents when it is not needed (see tests) 2015-09-21 14:43:30 +03:00
Anna Kozlova d2481b81b1 create static method in interface and delete static modifier during editing template
EA-56334 - assert: CreateFromUsageUtils.setupMethodBody
2015-09-18 20:47:50 +03:00
Anna Kozlova 386c7f19c1 normalize variable declaration before application
EA-69890 - PIEAE: CompositePsiElement.getContainingFile
2015-09-18 20:47:47 +03:00