PY-54547 New UI: Show Python Console and Python Packages, SciView tool window icons by default

GitOrigin-RevId: e13872837b83f4369cf8a4c97dc375b78890c871
This commit is contained in:
Elizaveta Shashkova
2023-03-10 16:32:24 +00:00
committed by intellij-monorepo-bot
parent c56c5880d1
commit a25ed86fd1
2 changed files with 16 additions and 0 deletions
@@ -513,6 +513,9 @@
serviceImplementation="com.jetbrains.python.run.PythonInterpreterTargetEnvironmentFactory$Available$Default"/>
<registryKey key="python.new.run.config" defaultValue="true" description="Python Run configurations new UI"/>
<applicationService serviceInterface="com.intellij.toolWindow.DefaultToolWindowLayoutProvider"
serviceImplementation="com.jetbrains.python.ui.PyCommToolWindowLayoutProvider"
overrides="true"/>
</extensions>
<extensionPoints>
@@ -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)
}
}