IDEA-324496 Add Links to New UI pages in Settings

- Moved configurables from plugins packages into ide packages

GitOrigin-RevId: 3b28b0194d6ba91007d45495ff42f2efd22bb43f
This commit is contained in:
Pavel Porvatov
2023-08-14 08:15:07 +02:00
committed by intellij-monorepo-bot
parent 7f13fd2d26
commit 59a10f0de7
3 changed files with 2 additions and 3 deletions

View File

@@ -75,6 +75,7 @@
<statistics.counterUsagesCollector implementationClass="com.jetbrains.python.sdk.configuration.PySdkConfigurationCollector"/>
<defaultToolWindowLayout implementation="com.jetbrains.python.PyToolWindowLayoutProvider" order="last"/>
<newUIConfigurable implementation="com.jetbrains.python.configuration.PyExperimentalUIConfigurable"/>
</extensions>
<extensions defaultExtensionNs="Pythonid">

View File

@@ -7,7 +7,6 @@ import com.intellij.util.PlatformUtils
class PyExperimentalUIConfigurable : ExperimentalUIConfigurable() {
override fun getExploreNewUiUrl(): String {
// DataSpell loads PyExperimentalUIConfigurable and therefore cannot use own ExperimentalUIConfigurable (because of conflicts)
return EXPLORE_NEW_UI_URL_TEMPLATE.format(if (PlatformUtils.isDataSpell()) "dataspell" else "pycharm")
return EXPLORE_NEW_UI_URL_TEMPLATE.format("pycharm")
}
}

View File

@@ -317,7 +317,6 @@
id="com.jetbrains.python.configuration.PyIntegratedToolsModulesConfigurable"
bundle="messages.PyBundle"
key="configurable.PyIntegratedToolsModulesConfigurable.display.name"/>
<newUIConfigurable implementation="com.jetbrains.python.configuration.PyExperimentalUIConfigurable"/>
<search.optionContributor implementation="com.jetbrains.python.PySearchableOptionContributor"/>
<treeStructureProvider implementation="com.jetbrains.python.projectView.PyTreeStructureProvider"/>