Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
BSD 3-Clause "New" or "Revised" License
1.23k
stars
137
forks
source link
Handle unsaved file globally #276
Closed
gandarez closed 2 years ago
This PR uses vscode API to determine if current file is unsaved by reading the text property
isUntitled
. It also removesUtils.isUnsavedFile()
.documentation: https://code.visualstudio.com/api/references/vscode-api#TextDocumentChangeReason
closes https://github.com/wakatime/vscode-wakatime/issues/46