Comments (10)
That's doable, we could even only prompt for specific setting keys that are found in both ~/.wakatime.cfg
and VS Code Settings, and only when those setting's have different values.
from vscode-wakatime.
The reason we use ~/.wakatime.cfg
is because many people have multiple editors and this way all the editors share the same config file. If there's a way to keep the user settings in sync with a local file, then we could use both.
from vscode-wakatime.
Ah, that makes sense.
not sure how efficient this would be, because it would increase the initialization time, but initialization could look to settings first, then to the cfg.
- If the CFG doesn’t exist, and the Setiings don’t exist, create both.
- If the CFG doesn’t exist, and the Settings do, create the CFG based on the Settings.
- If the CFG exists and the Settings don’t, create the settings based on the CFG.
- If both exist, but differ, prompt the user in the UI, updating both.
from vscode-wakatime.
Any more thoughts on this one, @alanhamlett ?
from vscode-wakatime.
@alanhamlett - Awesome! It seems like I'm asking a lot of you lately. :)
from vscode-wakatime.
What's the status of this issue @alanhamlett?
from vscode-wakatime.
@alanhamlett Currently we have shared remote workspaces (for Remote SSH to connect), thus it is necessary for us to have WakaTime reading the settings using the VSCode settings mechanism. Also we need to have the option to disable .wakatime.cfg
so that it won't prompt when missing.
from vscode-wakatime.
is that a feature already inmplemented/needed @alanhamlett?
from vscode-wakatime.
is that a feature already inmplemented/needed @alanhamlett?
If we pass --key
to wakatime-cli does it complain about missing ~/.wakatime.cfg
or does it work without the config file?
from vscode-wakatime.
If we pass
--key
to wakatime-cli does it complain about missing~/.wakatime.cfg
or does it work without the config file?
It won't complain about missing config file unless you provide key
flag.
from vscode-wakatime.
Related Issues (20)
- Wakatime status bar entry is triplicated HOT 3
- multiple option in status bar HOT 1
- Incorrect Language Tracking for Mojo Programming Language HOT 3
- Wakatime not updating HOT 9
- Working offline (102); HOT 3
- Error fetching `wakatime-cli` HOT 3
- Linking work on Untitled documents to project/file
- Backoff rate limiter set too far in future, 2 years HOT 11
- Wakatime: working offline... HOT 2
- Status bar event listeners HOT 1
- VSCode doesn't "see" an `api_key` when using `import_cfg` and still always prompts for _WakaTime API key_
- Wakatime plugin always pops up the window requiring me to fill in my API key HOT 2
- LiteIDE Plugin HOT 1
- WakaTime doesn't work on WSL while using the extension locally on Windows HOT 3
- [Extension Host] [WakaTime][WARN] Failed to download https://github.com/wakatime/wakatime-cli/releases/latest/download/wakatime-cli-windows-amd64.zip
- Wakatime not working: Failed to download wakatime-cli HOT 4
- Open social media and other links on profile page in a new tab HOT 1
- Wakatime Error .wakatime.log HOT 1
- `api_key_vault_cmd` configuration option for shell command to get api key from vault fails with ENOENT HOT 4
- Failed fetching today from api HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-wakatime.