Commit Graph
6774 Commits
Author SHA1 Message Date
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
Anna Kozlova f4202b8b61 completion of constructor refs (IDEA-145281) 2015-09-18 14:37:18 +03:00
Anna Kozlova 4487019854 completion inside method call after new could use return type constrains/other variables ignoring unresolved IntellijIdeaRulezz type (IDEA-144885) 2015-09-18 14:37:16 +03:00
Anna Kozlova 8b322fadb7 static methods of interfaces: accept calls on type parameters with exact one interface bound (IDEA-145269) 2015-09-18 14:37:14 +03:00
Dmitry Avdeev f1c9933bad embedded live templates: support default values 2015-09-18 13:48:54 +03:00
Dmitry Avdeev 0412d3fe71 embedded live templates: support variables 2015-09-18 13:48:53 +03:00
Dmitry Avdeev c7a5baa79f embedded live templates: ui refactored 2015-09-18 12:26:05 +03:00
peter 5f4c51477e IDEA-144655 Smart PSI pointers should retain old offsets after inserting text after them 2015-09-18 09:47:09 +02:00
Shaverdova Elena 23e058d2f9 Merging php-slicing feature branch 2015-09-17 21:10:49 +03:00
Dmitry Avdeev 555c34b6d1 IDEA-45030 Add ability to specify cursor position in File Templates (e.g. special macros as for Live Templates) 2015-09-17 16:10:23 +03:00
Anna Kozlova 76c7aaf56e new inference inside enum constants (IDEA-145211) 2015-09-17 13:42:49 +03:00
Anna Kozlova 99a54a3e76 resolve/overload resolution: collect static methods of interface called on foreign class/instance but filter them out during overload resolution (IDEA-145187) 2015-09-17 13:42:45 +03:00
nik 6a479aeef7 'change language level' functionality moved to JavaProjectModelModificationService, test on IncreaseLanguageLevelFix added 2015-09-17 10:00:23 +03:00
Anna Kozlova 65cf127507 method reference completion: extend variants for this::ref, accept multiple parameters according to selected functional interface (IDEA-145047) 2015-09-16 22:49:24 +03:00
Shaverdova Elena 7a0d6dc2b1 Refactor slice testing API to non-java-dependent module 2015-09-16 22:32:44 +03:00