Skip to content

Remote dev support. #121

@nanoric

Description

@nanoric

Feature or enhancement

When developing with remote SSH interpreter, pyright plugin can' resolve imports.

Proposed solution

The most simple way I can image is let PyCharm resolve path mappings, set correct interpreter path according current editing file, add search paths(Source Roots) and then run pyright on remote SSH server directly. And for the response, map path back again.

Alternatives considered

I have write a minimal python script that wraps remote pyright to local. Handling path mappings.

This solution runs very slow for my project and make status bar flashing all the time, but it works.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions