Skip to content

Pub package name cache is not persisted #4253

Closed

Description

@DanTup

The caching of the Pub package name cache is not working because of this code here:

get extensionStoragePath(): string | undefined {
const uri = this.context.globalStorageUri;
const path = uri.scheme === "file" ? fsPath(uri) : undefined;
if (path)
mkDirRecursive(path);
return path;
}

The URI is now a vscode-userdata:/ URI and we only handle file.

We should isntead keep the URI and use workspace.fs to read/write this file.

Activity

  1. added this to the v3.54.0 milestone on Nov 7, 2022
  2. added
    in editorRelates to code editing or language features
    on Nov 7, 2022
  3. added a commit that references this issue on Sep 2, 2025
    8e2aaf8
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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions