diff --git a/python/pluginResources/messages/PyBundle.properties b/python/pluginResources/messages/PyBundle.properties index 2f8e873ce803..572225be1e72 100644 --- a/python/pluginResources/messages/PyBundle.properties +++ b/python/pluginResources/messages/PyBundle.properties @@ -1563,6 +1563,7 @@ label.features=Features: checkbox.inspections=Inspections checkbox.completions=Completions checkbox.inlay.hints=Inlay hints +checkbox.documentation=Documentation label.package.not.installed.in.current.interpreter={0} package is not installed in the current interpreter modal.progress.title.installing=Installing ''{0}''\u2026 diff --git a/python/src/com/jetbrains/python/externaltools/configuration/PyLspToolConfiguration.kt b/python/src/com/jetbrains/python/externaltools/configuration/PyLspToolConfiguration.kt index 699379f327cd..69f3ebca2795 100644 --- a/python/src/com/jetbrains/python/externaltools/configuration/PyLspToolConfiguration.kt +++ b/python/src/com/jetbrains/python/externaltools/configuration/PyLspToolConfiguration.kt @@ -15,6 +15,11 @@ abstract class PyLspToolConfiguration> : P * `null` means: not supported */ open var inlayHints: Boolean? = null + + /** + * `null` means: not supported + */ + open var documentation: Boolean? = null var executableDiscoveryMode: ExecutableDiscoveryMode = ExecutableDiscoveryMode.INTERPRETER var pathToExecutable: String = "" val executablePath: Path? get() = pathToExecutable.ifEmpty { null }?.let { Path(it) }