wakatime / vscode-wakatime

Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/vs-code
BSD 3-Clause "New" or "Revised" License
1.23k stars 137 forks source link

Support hiding absolute file paths #253

Closed kaushalyap closed 2 years ago

kaushalyap commented 2 years ago

Currently WakaTime record absolute paths of the source files, with anonymization config it give random names to the project and track file only by file extension. Instead I suggest something like below

For project location :.../ProjectName/instead of /home/userName/Dir/ProjectName For file location : .../ProjectName/package.jsoninstead of /home/userName/Dir/ProjectName/package.json

(For Windows I suggest hiding the drive letter.)

This approach is in the middle ground since this has following benefits

alanhamlett commented 2 years ago

We have a feature request for this at https://github.com/wakatime/wakatime-cli/issues/591, and hope to implement it soon.

kaushalyap commented 2 years ago

Actually I opened that issue, I was not able to find that when I searched here, I thought issue was deleted. very sorry my mistake I'll close this now in favor of that. Thanks for help so far!