Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

can inferGopath look for "src" in the current directory? #1213

@skybrian

Description

@skybrian

When go.inferGopath is on, the current behavior is that if you run:

% code src

Then the GOPATH is inferred. However, if you run:

% code .

Then it isn't. If src is not found in any parent directory, then it would be nice if it also checked if there is a child folder named src as well. This would allow the same workspace to be used to edit sibling directories of src.

(In my particular case, I have src and doc as siblings in the same repo and it would be nice to see both in the same window.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions