mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
cleanup; unbundle vagrant plugin #PY-80258 Ready for Merge
(cherry picked from commit 43f8dda8114f1d78e43f54d11d43b072fd5e7bda) GitOrigin-RevId: 16af4dc9778db240fb078cd8bdda77360b246c05
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dbdd4953ac
commit
7a65757b7d
@@ -235,17 +235,4 @@ suspend fun Sdk.setAssociationToPath(path: String?) {
|
||||
writeAction {
|
||||
modificator.commitChanges()
|
||||
}
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
object PythonSdkAdditionalDataUtils {
|
||||
@JvmStatic
|
||||
fun associateSdkWithModulePath(sdk: Sdk, module: Module) {
|
||||
val sdkModificator = sdk.sdkModificator
|
||||
val additionalData = sdkModificator.sdkAdditionalData as? PythonSdkAdditionalData ?: return
|
||||
additionalData.associatedModulePath = module.basePath ?: return
|
||||
ApplicationManager.getApplication().runWriteAction {
|
||||
sdkModificator.commitChanges()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user