PY-80882 Introduce support for "Run with" tools in Python run configurations. Introduce PyRunToolProvider and UvRunToolProvider to enable uv run for UV SDKs and update Python run configuration logic accordingly

GitOrigin-RevId: 0323bba73b2f9d3530280c5d03e749c664adb425
This commit is contained in:
Timur Malanin
2025-10-13 19:57:17 +00:00
committed by intellij-monorepo-bot
parent 373afacd68
commit defbf5a1d0
13 changed files with 249 additions and 9 deletions

View File

@@ -1105,6 +1105,7 @@ form.tox.configuration.runcfg.tox=tox
py.module.dependencies.configurable.list.title=Project depends on these projects:
py.sdk.editor.python.interpreter.label.text=Python Interpreter:
python.run.configuration.fragments.run.with.tool=Run with `{0}`
python.run.configuration.fragments.chooser.hint=Run Python script or module
python.run.configuration.fragments.script.path.hint=Path to a Python script
python.run.configuration.fragments.module.name.hint=Name of a module
@@ -1139,6 +1140,7 @@ python.run.configuration.fastapi.name=FastAPI
python.run.configuration.is.not.editable.in.this.mode=This run configuration is unavailable in the free mode and cannot be edited.
python.run.configuration.is.not.runnable.in.this.mode=This run configuration is unavailable in the free mode and cannot be run.
dialog.message.failed.to.resolve.original.executable.for.run.tool=Failed to resolve the original executable for run tool ''{0}''. Please check your interpreter and tool configuration.
# Python reStructuredText forms
rest.configuration.editor.open.output.file.in.browser.label.text=Open output file in browser
@@ -1717,4 +1719,4 @@ tracecontext.new.project.wizard=New Project Wizard
tracecontext.loading.interpreter.list=Loading Interpreter List
tracecontext.detecting.conda.executable.and.environments=Detecting Conda Executable and environments
evolution.uv.executable.is.not.found=uv executable is not found
evolution.pyproject.toml.file.is.required.for.poetry=pyproject.toml file is required for Poetry
evolution.pyproject.toml.file.is.required.for.poetry=pyproject.toml file is required for Poetry