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

API Key per project #343

Closed DDTORRES055 closed 1 year ago

DDTORRES055 commented 1 year ago

It would be great to have one API Key for work projects, and another for personal projects, etc.

I mean, that the extension supports the configuration per project.

I want to write in .vscode/settings.json something like this:

{ "wakatime.apiKey": "API_KEY" }

alanhamlett commented 1 year ago

That's supported with a [project_api_key] section in your ~/.wakatime.cfg file: https://github.com/wakatime/wakatime-cli/blob/develop/USAGE.md#ini-config-file