Skip to content

commands broken for projects which are single files #540

Closed
@eleanorjboyd

Description

@eleanorjboyd
Member

Cannot create terminal for project that is a file

  1. make a project that is just a file
  2. in the projects view, click "Create Python Terminal"
  3. 🐛 since a terminal with the cwd as a file is attempted

Cannot create venv and assign to project that is a file

  1. click to create a venv
  2. select to create it for the project thats a file
  3. go through quick create
  4. 🐛 since it tries to make the .env folder in the file

Activity

eleanorjboyd

eleanorjboyd commented on Jun 13, 2025

@eleanorjboyd
MemberAuthor

@karthiknadig my design is to just evaluate a project to see if its a file before taking these actions on it. I likely will have to do this for other managers and also make sure the API is up to date enough that people contributing could know this hole exists?

added this to the June 2025 milestone on Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Participants

      @eleanorjboyd

      Issue actions

        commands broken for projects which are single files · Issue #540 · microsoft/vscode-python-environments