-
Notifications
You must be signed in to change notification settings - Fork 147
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
VSCode always asks for API key after starting the docker container #315
Comments
Possibly related to #180? |
Yes it is related. I was searching the issues but I couldnt find. Thats why I opened this issue I tried the suggestion in #180 (comment) but it didn't work: [settings]
api_key = ...
standalone = false
alpha = true
# I've also tried like this:
standalone = false
alpha = true
[settings]
api_key = ... None of this worked. Should i move this to #180 and close this issue? Also, is there any logs I can provide? |
The Let's leave this open since #180 is already closed. Does adding your api key to a |
I don't think so. If I |
Oh, looks like this is related to #280? |
Yeah, kinda related. Anyway, the suggestion seems to work. I added {
"mounts": [
"source=${localEnv:HOME}/.wakatime.cfg,target=/home/dev/.wakatime.cfg,type=bind,consistency=delegated"
]
} For future readers: mind the path at @alanhamlett thanks for the help 🤓 EDIT: after a few container restarts, VSCOde got back to prompting for the API key 😢 . |
We would update the documentation for that scenario. |
Actually... after executing |
I run
I open vscode and it asks me for the key:
Is there a way to save it on my machine so that the wakatime extension can read it from inside even for a remote workspace? Or any other way.
By remote workspace I mean I'm using VSCode connected to a docker container using the Dev Containers extension. This container runs in my local machine
The text was updated successfully, but these errors were encountered: