Mikhail Zarechenskiy
d4d1648e1d
[IDE-NI-MIGRATE] Migrate QuickFix tests for new inference
2019-05-06 13:59:24 +03:00
Dmitriy Novozhilov
a79030aa0f
[IDE-NI-MIGRATE] [BAD] Migrate testdata of MultiModuleSafeDelete tests
...
Bad tests in `MultiModuleSafeDeleteTestGenerated`:
- testByActualClassSecondaryConstructorParameterLiftingToExpect_ExpectsAndActualsByActualClassSecondaryConstructorParameter
- testByExpectClassSecondaryConstructorParameter_ExpectsAndActualsByExpectClassSecondaryConstructorParameter
- testByActualClassPrimaryConstructorPropertyLiftingToExpect_ExpectsAndActualsByActualClassPrimaryConstructorProperty
- testByActualClassPrimaryConstructorParameterLiftingToExpect_ExpectsAndActualsByActualClassPrimaryConstructorParameter
- testByExpectClassPrimaryConstructorParameter_ExpectsAndActualsByExpectClassPrimaryConstructorParameter
2019-05-06 11:36:30 +03:00
Dmitriy Novozhilov
b66bbdf7a6
[IDE-NI-MIGRATE] [BAD] Migrate testdata of Extraction tests
...
Bad tests:
- IntroduceTypeParameter.testDuplicates
- IntroduceTypeParameter.testNullableType
- IntroduceTypeParameter.testUserType
- IntroduceTypeParameter.testFunctionType
- IntroduceTypeParameter.testInClass
- ExtractFunction.TypeParameters.testNoVarianceInFun
- ExtractFunction.Parameters.CandidateTypes.testNonNullableTypes
- ExtractFunction.Parameters.CandidateTypes.testMultipleTypes
- ExtractFunction.ControlFlow.OutputValues.testGenericPair
- IntroduceVariable.ExplicateTypeArguments.testDeeperNestedCall
2019-05-06 11:36:28 +03:00
Dmitriy Novozhilov
656c8a4fa7
[IDE] Add configuring compiler arguments in Extension tests
2019-05-06 11:36:27 +03:00
Dmitriy Novozhilov
3d5593c70c
[IDE-NI-MIGRATE] [BAD] Migrate testdata of Intention tests
...
Issues:
- #KT-31263
Bad tests:
- SamConversionToAnonymousObject.testSimple3
- ConvertReferenceToLambda.testIf1
- ConvertReferenceToLambda.testIf2
- ConvertReferenceToLambda.testIf3
- ConvertReferenceToLambda.testIf4
- ConvertReferenceToLambda.testWhen1
- ConvertReferenceToLambda.testWhen2
- ConvertReferenceToLambda.testWhen3
- ConvertReferenceToLambda.testWhen4
- ConvertLambdaToReference.testVarargFunction2
2019-05-06 11:36:23 +03:00
Dmitriy Novozhilov
1a085516b0
[IDE-NI] Fix detecting error types in InsertExplicitTypeArgumentsIntention
2019-05-06 11:36:21 +03:00
Dmitriy Novozhilov
233dd3ffba
[IDEA] Approximate IntegerLiteralType on IDEA side
2019-05-06 11:36:06 +03:00
Dmitriy Novozhilov
65380f4eb4
[NI] Remove captured type approximation in type arguments of resolved call
2019-05-06 11:36:02 +03:00
Dmitriy Novozhilov
5715c32216
[IDE-NI-MIGRATE] [OK] Enable only OI on some IDEA tests that unrelevant in NI
2019-05-06 11:35:59 +03:00
Dmitriy Novozhilov
48e450684b
[TEST] Add configuration of language features in AbstractDiagnosticMessageTest
2019-05-06 11:35:57 +03:00
Dmitriy Novozhilov
05aa36a858
[IDE-NI-MIGRATE] [BAD] Migrate testdata of LocalInspection tests
2019-05-06 11:35:55 +03:00
Dmitriy Novozhilov
17df843bf1
[NI] Fix getting source psi in UnusedLambdaExpressionBodyInspection
2019-05-06 11:35:54 +03:00
Dmitriy Novozhilov
6f51415b4d
[NI] Fix determining return type of lambda in IDEA
...
UselessCallOnCollection tests fixed
2019-05-06 11:35:50 +03:00
Mikhail Glukhikh
be18134270
FIR multi-module: minor test data fixes after resolve enhancements
2019-04-30 18:45:54 +03:00
Simon Ogorodnik
3e69838f48
FIR Java: map classes to make java type-parameters have correct bounds
...
Really, this commit implements early J2K mapping for all Java types.
It's questionable and probably wrong at least for super-types,
because, for example, we cannot resolve spliterator() in classes
derived from java.lang.Iterable
2019-04-30 18:45:51 +03:00
Simon Ogorodnik
4cb8faf666
FIR: uniquify scopes to avoid ambiguity on diamond inheritance
2019-04-30 18:45:39 +03:00
Simon Ogorodnik
3533541702
Provide class use-site scopes from FirSymbolProviders
2019-04-30 18:45:34 +03:00
Dmitriy Dolovov
c017ef9bc8
Properly detect Kotlin/Native libraries
...
Issue #KT-30598 fixed
2019-04-30 13:05:22 +07:00
Dmitriy Dolovov
20d77afcce
Refactor Kotlin/Native path constants
...
Use java.io.File instead of java.nio.Path to have more uniform API
2019-04-30 13:05:14 +07:00
Dmitriy Dolovov
07f6059f44
Refactor "lite" API for Kotlin/Native libraries
2019-04-30 13:04:56 +07:00
Andrey Uskov
6039d86388
Importing projects with granular metadata is partially supported
...
(except k-lib data format of metadata libraries and multiple target
platforms per source set)
2019-04-29 19:49:18 +03:00
Simon Ogorodnik
8e595f015e
Initial OverloadingConflictResolver abstraction from KotlinTypes
2019-04-29 16:51:34 +03:00
Simon Ogorodnik
04324b6723
Provide overloads with explicit resolutionFacade for resolutionApi
...
To ensure stable results of subsequent resolution api method calls,
it is require to provide same resolution facade, as
getResolutionFacade function doesn't guarantee to have same result in
subsequent calls due to soft caching
2019-04-29 16:51:32 +03:00
Mikhail Glukhikh
3f6be95801
Include FIR modules into compiler #KT-30243 Fixed
...
(cherry picked from commit 053aa8ca1e )
2019-04-29 16:23:16 +03:00
Nicolay Mitropolsky
bd16c4629a
KotlinElementActionsFactory.createChangeModifierActions modernisation
...
to allow IDEA relatively safely remove `createChangeModifierActions(target: JvmModifiersOwner, request: MemberRequest.Modifier)` in 192
2019-04-29 16:18:14 +03:00
Nikolay Krasko
07ea0ffe16
Reformat and clean up idea.actions.internal
2019-04-29 12:13:18 +03:00
Nikolay Krasko
f9012cf637
Add options for disabling Kotlin line markers (KT-27332)
...
#KT-27332 Fixed
2019-04-29 12:13:14 +03:00
Nikolay Krasko
c72a375063
Better localization for dsl style icon change
2019-04-29 11:56:07 +03:00
Nikolay Krasko
ea8575c5a3
Remove check for Kotlin misconfiguration for the whole project (KT-30644)
...
Consider an existing project to be previously configured.
There's still "Configure Kotlin" action, check for configuration
triggered by adding a new Kotlin file, and notification in Kotlin files.
#KT-30644 Fixed
2019-04-29 11:56:07 +03:00
Mikhael Bogdanov
867e39f73c
Parallelize idea-gradle tests
2019-04-26 14:42:20 +02:00
Mikhael Bogdanov
ceec35bf38
Up merge changes from UsefulTestCase into KtUsefulTestCase
2019-04-26 11:29:41 +02:00
Anton Yalyshev
657281a60d
added tracking of chosen Kotlin framework in Java-based wizards
2019-04-25 19:06:20 +03:00
Anton Yalyshev
1d3f75adfd
created FUS Group for New Project Wizards and Frameworks
2019-04-25 19:06:20 +03:00
Anton Yalyshev
01f34a0ba7
switched to new FUS adapter API
2019-04-25 19:06:19 +03:00
Anton Yalyshev
63ffff175b
now we send FUS for ModuleBuilders and FrameworkSupportProviders
2019-04-25 19:06:19 +03:00
Mikhail Zarechenskiy
db4ca059bd
[NI] Fix IDE-refactorings when there are uninferred parameters
2019-04-25 16:19:37 +03:00
Dmitry Gridin
37c856290f
Fix minor compile warnings
2019-04-25 19:47:39 +07:00
Dmitry Gridin
79793a4bda
Replace deprecated classes with parent
2019-04-25 19:47:38 +07:00
Dmitry Gridin
2a85bece80
Replace CodeStyleSettingsManager.getSettings with CodeStyle.getSettings
2019-04-25 19:47:38 +07:00
Dmitry Gridin
bdb97ed46a
Replace deprecated icons with actual
2019-04-25 19:47:38 +07:00
Mikhael Bogdanov
11e0035254
Support test parallelization in uast tests
2019-04-25 08:09:27 +02:00
Anton Yalyshev
6ffc3a8679
bunch files update after master switched to 191
2019-04-24 17:23:47 +03:00
Anton Yalyshev
2329954e02
added capability to send a custom event's context
2019-04-24 17:23:22 +03:00
Anton Yalyshev
0255d66144
shortened class and function names and make them closer to actual FUS naming
2019-04-24 17:23:21 +03:00
Dmitry Gridin
9bd32eb3cb
Replace GradleBaseInspection with BaseInspection
...
#KT-31103 Fixed
2019-04-24 20:23:15 +07:00
Dmitry Gridin
0198df4935
PackageDirectoryMismatchInspection should report when a package statement is missing
...
#KT-13549 Fixed
2019-04-24 20:16:54 +07:00
Dmitry Gridin
2ae30de980
MoveVariableDeclarationIntoWhenInspection shouldn't report a multi-line variable
...
#KT-30457 Fixed
2019-04-24 20:12:44 +07:00
Natalia Selezneva
26c9d69252
Check KotlinOutOfCodeBlockTracker in OutOfBlockModificationTest
...
General PsiModificationTracker.outOfCodeBlockModificationTracker was removed in IDEA 192
2019-04-24 11:45:03 +03:00
Natalia Selezneva
d45644cea4
Fix path to TestNG library in tests for 191
2019-04-24 11:39:17 +03:00
Nicolay Mitropolsky
1db7754298
A workaround for the IDEA-211491 in IDEA 191 to make Kotlin tests pass
...
for instance `InspectionTestGenerated$Inspections.testOverridingDeprecatedMember_inspectionData_Inspections_test`
2019-04-24 11:21:30 +03:00