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
Shaverdova Elena
b029143647
refactor to make parts of slice API available for java-independent plugins
2015-09-16 22:32:26 +03:00
Anna Kozlova
f61de7a241
method refs: ensure inference from captured return type (IDEA-145152)
2015-09-16 18:53:31 +03:00
Anna Kozlova
c26cc82486
notify about refs to foreign types (IDEA-145186)
2015-09-16 18:53:29 +03:00
peter
dc989c3b6b
exclude non-project files when searching in a path with a named custom scope (IDEA-145142)
2015-09-16 17:47:53 +02:00
nik
ce0aceac4a
added more assertion to test on module renaming
2015-09-16 18:06:34 +03:00
Yaroslav Lepenkin
24a9f7a2c2
Place package annotation on separate line (IDEA-110157)
2015-09-16 16:08:15 +03:00
Yaroslav Lepenkin
6decb9742f
Do not treat type parameter is @param section as tag - do not insert closing tag (IDEA-70898)
2015-09-16 16:08:15 +03:00
nik
d99ab97ac8
LibraryTest: added more assertions on 'getLibraryByName'
2015-09-16 10:26:19 +03:00
peter
de752703c6
anchor-based smart pointers: restore correctly when anchor is the element itself
2015-09-15 18:45:05 +02:00
Yaroslav Lepenkin
c557b7acdf
Renamed test file to case-sensitively match one used in test
2015-09-15 19:29:51 +03:00
nik
5a825379fa
added test for IDEA-142882
2015-09-15 16:31:50 +03:00
Yaroslav Lepenkin
1adb19b40c
Migrated test to use FormatterBasedLineIndentInfo
2015-09-15 16:27:00 +03:00
Yaroslav Lepenkin
5131b4a55c
[IndentDetector] CONTINUATION_WITHOUT_FIRST indent of the outermost block is treated as CONTINUATION, while the rest are treated as NONE
...
Every null indent retrieved from Block build by FormattingModelBuilder.buildBlocks is converted to CONTINUATION_WITHOUT_FIRST. Nested blocks starts the same offset and are retrieved as first block of it's parent that's why CONTINUATION_WITHOUT_FIRST works in such a case as NONE (because they are literally first blocks, see CWF javadoc)
2015-09-15 16:27:00 +03:00
Yaroslav Lepenkin
8d9f639786
[IndentDetector] refactoring: map each new line block to line info, renamed *WhiteSpaceIndent* -> *NormalIndent*
2015-09-15 16:26:59 +03:00
Yaroslav Lepenkin
a536dc7eeb
Added indent detector test for Kotlin comments case
2015-09-15 16:26:58 +03:00