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

Allow the wakatime api key to be persisted via settings sync #283

Closed
Milo123459 opened this issue Jul 11, 2022 · 12 comments · Fixed by #318
Closed

Allow the wakatime api key to be persisted via settings sync #283

Milo123459 opened this issue Jul 11, 2022 · 12 comments · Fixed by #318

Comments

@Milo123459
Copy link

No description provided.

@randollrr
Copy link

I was about to create the very same issue. I only work in devcontainer (for a clean python env) and I have to re-enter the api key at every mod or new container image. If we can have it in the user/settings that will save me time.

@lablnet
Copy link

lablnet commented Sep 22, 2022

I use GitHub codespace Whenever I create new codespace I have to enter API key again and again which is just time wasting!

@alanhamlett
Copy link
Member

I'll work on a PR for this. How about a checkbox to enable saving to vscode settings instead of the ~/.wakatime.cfg file?

@exil0867
Copy link

+1

@wvffle
Copy link

wvffle commented Oct 13, 2022

@alanhamlett How are the works on the PR?

@exil0867
Copy link

For those who use Devcontainers, you can bind .wakatime.cfg:

"runArgs": [
  "-v",
  "${env:HOME}/.wakatime.cfg:/root/.wakatime.cfg"
],

@mikebronner
Copy link

For those who use Devcontainers, you can bind .wakatime.cfg:

"runArgs": [
  "-v",
  "${env:HOME}/.wakatime.cfg:/root/.wakatime.cfg"
],

Which file is this to be added to? Trying to add it to devcontainer.json lints with "Property runArgs is not allowed."

@exil0867
Copy link

exil0867 commented Dec 22, 2022

For those who use Devcontainers, you can bind .wakatime.cfg:

"runArgs": [
  "-v",
  "${env:HOME}/.wakatime.cfg:/root/.wakatime.cfg"
],

Which file is this to be added to? Trying to add it to devcontainer.json lints with "Property runArgs is not allowed."

Please check https://containers.dev/implementors/json_reference/#image-specific

@kotx
Copy link
Contributor

kotx commented Jan 6, 2023

@alanhamlett Is work still being done on a PR? If not I might be able to work on this

@alanhamlett
Copy link
Member

@alanhamlett Is work still being done on a PR? If not I might be able to work on this

Not yet, so go for it 👍

@kotx
Copy link
Contributor

kotx commented Jan 8, 2023

Submitted a PR!

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

Successfully merging a pull request may close this issue.

9 participants