Skip to content

Native REPL should start on the project folder #23821

Closed

Description

After starting the native REPL:

import os
os.getcwd()

does not return the project folder as expected, but the folder that contains the VS Code executable.

Activity

  1. added
    feature-request
    on Jul 16, 2024
  2. added
    triage-needed
    on Jul 16, 2024
  3. added
    bug
    and removed
    feature-request
    on Jul 16, 2024
  4. karthiknadig commented on Jul 16, 2024

    @karthiknadig
    Member

    Looks like the cwd is not set when launching the REPL server.

  5. added
    info-needed
    on Jul 16, 2024
  6. added and removed
    info-needed
    triage-needed
    on Jul 16, 2024
  7. anthonykim1 commented on Aug 6, 2024

    @anthonykim1

    As mentioned in #23656 (comment), working to set proper directory for when REPL launches.

  8. anthonykim1 commented on Aug 9, 2024

    @anthonykim1

    This should be resolved as #23912 got merged. Feel free to give this a try in latest pre-release version of Python extension! Helios De Rosario (@heliosdrm)

  9. added
    verification-needed
    on Aug 9, 2024
  10. anthonykim1 commented on Aug 26, 2024

    @anthonykim1

    Moving this to a dedicated TPI since we want to make sure to cover all different scenario of: empty workspace, single workspace, multiple workspace scenario.

  11. added
    on-testplan
    and removed
    verification-needed
    on Aug 26, 2024
  12. locked as resolved and limited conversation to collaborators on Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-replbuggood first issueneeds PRon-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions