Skip to content

Move Away From Using vscode.workspace.workspaceFolders[0] #61

@chrstinalin

Description

@chrstinalin

There's several places in the codebase where vscode.workspace.workspaceFolders[0]. This will cause issues if the user opens unrelated folders in their workspace.

Ex. a new window opens to a particular version. For whatever reason, the user opens a different folder that exists outside of the addons folder inside that VS Code instance. The commenting API will apply to that folder as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions