mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] KTIJ-36850 Move KotlinCodeInsightSanityTest.kt and KotlinIntentionPolicy.kt to intellij.kotlin.base.test
GitOrigin-RevId: 887367b3adbac05c0b6fcd6c60322ffcc1b59b78
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8c7b187214
commit
76ccee5617
@@ -72,6 +72,7 @@ jvm_library(
|
||||
"//plugins/kotlin/completion/tests-shared:kotlin-completion-tests-shared_test_lib",
|
||||
"//java/openapi:java",
|
||||
"//java/idea-ui:ui",
|
||||
"@lib//:jet_check",
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.kotlin.base.test` end
|
||||
|
||||
@@ -61,5 +61,6 @@
|
||||
<orderEntry type="module" module-name="kotlin.completion.tests.shared" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.java" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.java.ui" scope="TEST" />
|
||||
<orderEntry type="library" name="jetCheck" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.jetbrains.kotlin.idea.propertyBased
|
||||
|
||||
import com.intellij.openapi.application.PathManager
|
||||
+1
-5
@@ -1,15 +1,11 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.jetbrains.kotlin.idea.propertyBased
|
||||
|
||||
import com.intellij.codeInsight.daemon.impl.HighlightInfo
|
||||
import com.intellij.codeInsight.intention.IntentionAction
|
||||
import com.intellij.codeInsight.intention.IntentionActionDelegate
|
||||
import com.intellij.openapi.editor.Editor
|
||||
import com.intellij.psi.PsiFile
|
||||
import com.intellij.testFramework.propertyBased.IntentionPolicy
|
||||
import org.jetbrains.kotlin.idea.codeInsight.intentions.shared.ConvertToScopeIntention
|
||||
import org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFixBase
|
||||
import org.jetbrains.kotlin.idea.refactoring.move.changePackage.ChangePackageIntention
|
||||
|
||||
abstract class KotlinIntentionPolicy : IntentionPolicy() {
|
||||
override fun shouldSkipIntention(actionText: String): Boolean =
|
||||
Reference in New Issue
Block a user