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.2k stars 133 forks source link

Linking work on Untitled documents to project/file #370

Open rbubley opened 8 months ago

rbubley commented 8 months ago

If you start work on a new document, this will be recorded in Wakatime as time against something like Untitled-55 in Unknown Project. If you subsequently save the file, giving it a filename, and locating it within a project, it would be nice if there were some way of seeing this in Wakatime.

So, for example if it were saved as newfile.txt in myproject, it would be nice if Wakatime either:

  1. Replaced work on Untitled-55 in Unknown Project with work on newfile.txt in myproject, or
  2. Added an event of zero length called Saving Untitled-55 as newfile.txt in myproject.