diff --git a/python/src/META-INF/python-core-common.xml b/python/src/META-INF/python-core-common.xml index dfa9b095b42b..70c34379eeb4 100644 --- a/python/src/META-INF/python-core-common.xml +++ b/python/src/META-INF/python-core-common.xml @@ -513,6 +513,9 @@ serviceImplementation="com.jetbrains.python.run.PythonInterpreterTargetEnvironmentFactory$Available$Default"/> + diff --git a/python/src/com/jetbrains/python/ui/PyCommToolWindowLayoutProvider.kt b/python/src/com/jetbrains/python/ui/PyCommToolWindowLayoutProvider.kt new file mode 100644 index 000000000000..55b0c939e8d5 --- /dev/null +++ b/python/src/com/jetbrains/python/ui/PyCommToolWindowLayoutProvider.kt @@ -0,0 +1,13 @@ +// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +package com.jetbrains.python.ui + +import com.intellij.toolWindow.DefaultToolWindowLayoutBuilder +import com.intellij.toolWindow.IntellijPlatformDefaultToolWindowLayoutProvider + +open class PyCommToolWindowLayoutProvider : IntellijPlatformDefaultToolWindowLayoutProvider() { + override fun configureBottomVisibleOnLargeStripe(builder: DefaultToolWindowLayoutBuilder) { + super.configureBottomVisibleOnLargeStripe(builder) + builder.add("Python Packages", 0.1f) + builder.add("Python Console", 0.1f) + } +} \ No newline at end of file