Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wakatime does not work on vscode.dev/github.dev #414

Open
zumbiepig opened this issue Dec 18, 2024 · 4 comments
Open

Wakatime does not work on vscode.dev/github.dev #414

zumbiepig opened this issue Dec 18, 2024 · 4 comments
Labels

Comments

@zumbiepig
Copy link

When I install the Wakatime extension on VS Code for the Web (not GitHub Codespaces), I get an error saying api key not provided or api key invalid. I have properly configured my API key and API URL in the Settings and config.json.

@zumbiepig zumbiepig added the bug label Dec 18, 2024
@alanhamlett
Copy link
Member

Type cmd/ctrl + shift + p then type wakatime api key. Does the value displayed match the one at https://wakatime.com/api-key?

It's working for me, and we don't have a config.json file related to vscode-wakatime on the web that I know of.

@zumbiepig
Copy link
Author

Type cmd/ctrl + shift + p then type wakatime api key. Does the value displayed match the one at https://wakatime.com/api-key?

It's working for me, and we don't have a config.json file related to vscode-wakatime on the web that I know of.

Yes, the value matches. The config.json that I am talking about is VS Code's config.json (Go to Settings > click the file icon in the top right). In VS Code settings, i search for wakatime and all the settings for wakatime (only 2) are correct.

@alanhamlett alanhamlett reopened this Dec 19, 2024
@zumbiepig
Copy link
Author

@alanhamlett I have heard from others that the wakatime-cli binary might be required for Wakatime to work properly. But that doesn't seem possible in a browser setting, and the VS Code Settings for the extension do explicitly mention Defaults to ~/.wakatime.cfg, except in a browser.

@alanhamlett
Copy link
Member

The browser version uses a separate web-version of the plugin that we modified to not require wakatime-cli:

https://github.com/wakatime/vscode-wakatime/tree/master/src/web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants