Skip to content

Enhancement: Automatic Python Environment Discovery #13

Description

@Mohamed-Sobea

I've identified a manual configuration bottleneck in client/src/extension.ts. Currently, the production mode relies on a hardcoded configuration:

const pythonPath = workspace.getConfiguration("Brian").get<string>("python.interpreterpath");
if (!pythonPath) { throw new Error(...); }

This requires users to manually set their path, which is difficult for researchers using Conda or virtual environments. I propose updating this to automatically detect the active VS Code Python interpreter using the ms-python.python extension API. This would make the extension Zero Config and much more robust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions