pub struct PythonPlugin;Expand description
Python language plugin (uses ty via uvx)
Trait Implementations§
Source§impl LanguagePlugin for PythonPlugin
impl LanguagePlugin for PythonPlugin
Source§fn extensions(&self) -> &[&str]
fn extensions(&self) -> &[&str]
File extensions this plugin handles
Source§fn key_files(&self) -> &[&str]
fn key_files(&self) -> &[&str]
Key files that identify this language (e.g., Cargo.toml, pyproject.toml)
Source§fn get_lsp_config(&self) -> LspConfig
fn get_lsp_config(&self) -> LspConfig
Get the LSP configuration for this language
Source§fn get_init_action(&self, opts: &InitOptions) -> ProjectAction
fn get_init_action(&self, opts: &InitOptions) -> ProjectAction
Get the action to initialize a new project (greenfield)
Source§fn check_tooling_action(&self, path: &Path) -> ProjectAction
fn check_tooling_action(&self, path: &Path) -> ProjectAction
Check if an existing project needs tooling sync (e.g., uv sync, cargo fetch)
Source§fn init_command(&self, opts: &InitOptions) -> String
fn init_command(&self, opts: &InitOptions) -> String
Get the command to initialize a new project
DEPRECATED: Use get_init_action instead
Source§fn test_command(&self) -> String
fn test_command(&self) -> String
Get the command to run tests
Source§fn run_command(&self) -> String
fn run_command(&self) -> String
Get the command to run the project (for verification)
Auto Trait Implementations§
impl Freeze for PythonPlugin
impl RefUnwindSafe for PythonPlugin
impl Send for PythonPlugin
impl Sync for PythonPlugin
impl Unpin for PythonPlugin
impl UnwindSafe for PythonPlugin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more