-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Description
- Use the extension like normal?
GitLens Version
v15.6.0
VS Code Version
Version: 1.94.0
Commit: d78a74bcdfad14d5d3b1b782f87255d802b57511
Date: 2024-10-02T13:08:12.626Z (6 days ago)
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.0.0
Git Version
git version 2.45.0
Logs, Screenshots, Screen Captures, etc
A .gk
folder has started appearing in my home directory, containing a repoMapping.json
file. This seems to be due to:
return Uri.file(path.join(os.homedir(), sharedGKDataFolder, 'repoMapping.json')); |
Creating a folder directly in the home dir is not a great practice. The appropriate thing would be to use the XDG conventions, possibly supplemented by platform-specific conventions.
VS Code may provide an API for this to extensions, else there are a bunch of libraries for this: https://www.npmjs.com/search?q=xdg
Alternatively, creating repoMapping.json
inside e.g. ~/.data/gitlens
would be much, much better than the current behaviour.