swdotcom / swdc-vscode Goto Github PK
View Code? Open in Web Editor NEWTime-tracking plugin for Visual Studio Code
Home Page: https://marketplace.visualstudio.com/items?itemName=softwaredotcom.swdc-vscode
License: Apache License 2.0
Time-tracking plugin for Visual Studio Code
Home Page: https://marketplace.visualstudio.com/items?itemName=softwaredotcom.swdc-vscode
License: Apache License 2.0
I love tracking my coding but it's kind of a "personal" thing. When a supervisor or boss comes over my desk, I don't really want to be advertising publicly my numbers of the day and/or average, because they may pass judgement lacking context.
I would like a preference to hide the statusbar text. After all I can always get to the dashboard via the command panel (ctrl+shift+p) menu anyway.
Additionally, it could also be cool to have control over the formatting with a simple tokens system, so you can decide what number to show in the status or not, for example being able to show the hours coded today but not the 90 day average.
I noticed yesterday that code time dont send stats if there is no network connection..
Now it looks like I didn't work anything yesterday.
Would it be possible to store this data in json locally when working offline. Then when you get back to a less remote location with internet connection it sends the data to the server?
Please excuse if this has already been suggested / requested, I would like a metric that records project file open time. It's kinda like this, when I start work on a project I open the project folder in VSCode. When it's the end of the morning session and I have lunch I close VSCode. I then reopen the project again for the afternoon. How much actual typing I do in the project is variable. Sometimes I'm doing research, or studying theory related to the project. In which case I'm still working on the project, just not much typing into it. So I feel whilst the current sytem of recording activity by the amount of typing into the project is good to have, I do feel that the overall period of activity on a project can be measured by how long the project is open. And before people start jumping down my throat about this and that - it's an option. If you don't like it disable it, now settle down. For me, I've just been researching for my current project for the past hour and swdc says I've only worked on it for 2 min. It feels disapointing and like the rest of my stats are unfair too.
I’m really enjoying this extension, and I was curious whether it would make sense to track the time that developers spend collaborating via Live Share, since that provides another dimension to their time spent coding. Live Share provides an API that would allow you to detect when a developer is in a collaboration session, and could be a potentially interesting integration.
Cant login on linux with all programs i use
(vscode atom idea pycharm) it pushes me to the page and i login and thats it
I'm using Code Time in VsCode on mac.
It is showing the wrong time: look at this report:
CODE TIME (Last updated on Fri, Mar 15th 8:10 am)
Today (Fri, Mar 15th)
-----------------------------------------------------------------
Hours coded today: 4.9 hrs
90-day avg : 0 min
Live Share : 0 min
Yesterday (Thu, Mar 14th)
-----------------------------------------------------------------
Hours coded : 0
Lines of code added : 0
Lines of code deleted : 0
Characters added : 0
Characters deleted : 0
Total keystrokes : 0
KPM : 0
Live share : 0 min
It shows that I spent about 5 hours to code on Friday! Actually, it is for Thursday(yesterday).
Yesterday, every time I checked, It showed 0 min of code! But today it is showing that I coded 5 hours and actually I was at sleep! and it is the exact time of code for yesterday.
Code Time work good with my Mac.
But not calculate time with openSUSE Linux.
OS: openSUSE Leap 15
VScode: 1.31.1
code time: 0.6.9
I already try restart vscode and re-install code time, but still not work at openSUSE Linux.
Any thing I could do?
Thanks.
I encounter an issue with the following functionality:
Toggle the Code Time status bar metrics (ctrl+c ctrl+t)
This binding converts CTRL+C keyboard shortcut to a chord, preventing its default function of copying highlighted text.
I suggest changing the default key binding to a combination starting with CTRL+K.
Tested in VSCode 1.33 on Linux.
It's sometimes interesting to see how much time we spend on a particular project. The project's name can be inferred from the Folder name.
The other feature request is about File Types, because we want to know how much time we spend coding in some language.
This might be trivial, but I think that the ability to remove Status Bar Items would be nice - or possibly provide the option to show an icon instead?
As you can see in the following image, my status bar gets pretty full - and CodeTime is a big offender. The notification on the left side doesn't show up all the time, but when it does, it appear to only be notifying that I've hovered an option in the Command Palette.
Opening the Web Dashboard has stopped working from within VSCode (see screengrab for details)
Version: 1.37.1 (user setup)
Commit: f06011ac164ae4dc8e753a3fe7f9549844d15e35
Date: 2019-08-15T16:17:55.855Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.17763
And on top of that, finding the URL of the Web Dashboard... why is it such a secret? I never noticed before, and didn't even bookmark the URL as the above link worked just fine. But since it's not working I wanted to check up on my stats and am shocked to see that you've not printed the URL in any of the prominent places where it aught to be advertised as connected to the plugin as a service. I don't know about anyone else but I think that's wrong.
https://app.software.com/
Hi, I seem to be running into a problem quite frequently at the moment.
I code on two machines and would like to use one code time account so that I can make the most of the work / home balance.
It seems like every time I swap machines, I need to log in through VS code again, whenever I do this, it zeros off any stats collected on that machine for the day. So if I don't login to code time until the end of the day, my stats will display as 0min both locally and on the web dashboard.
Anyone else come across this?
Using VSCode on Win10 on both machines, nothing else really different about the machines. I use a software.com account to log in.
If I open the metrics page once, it will then open itself and take focus roughly every minute. This is incredibly annoying as it interrupts, well, everything.
VSCode version info
Version: 1.30.2 (system setup)
Commit: 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
Date: 2019-01-07T22:54:13.295Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Windows_NT x64 10.0.17763
Code Time version
v0.5.61
Last weekly report that was sent from Cody was feb 18, I've the setting activated.
Bug
swdc-vscode
0.13.7
Darwin x64 18.5.0
1.32.3
Hi, I just installed Code Time, there was no alert prompting me to log in, and none of the commands listed for the command palette works:
extension.codeTimeMetrics
extension.softwareKpmDashboard
extension.viewSoftwareTop40
extension.codeTimeLogin
I'm on macOS Mojave, already made sure that my $PATH is correctly configured, don't have any issues with other extensions.
Please help!
Installed extension then clicked on bottom right
how to change timezone
Metrics are not reflected in dashboard.
My corporation has recently implemented SNI Packet Decryption, which fiddles with the certificate a bit and I suspect this might be the root of my issue.
I've run into a couple of issues (one with the Wakatime extension, actually) where this causes issues with SSL verification. Wakatime happens to have a parameter that disables the SSL verification step. Do you have something similar?
Please let me know if I've not included the correct information. I can also provide actual log files if necessary - but we'll have to do that via email or something.
~/.software/data.json: 478 lines
~/.software/SummaryInfo.txt:
Our service is temporarily unavailable.
Please try again later.
Hello,
First of all, thanks a lot for this extension! The insights are really useful :D
I have noticed that this extension doesn't really play well with the VSCode Remote SSH Development extension.
Expected behavior
The extension installs as an UI extension, allowing me to log in from the Ctrl + Shift + P
Log In option.
Actual behavior
The extension installs as a Workspace extension. Tracking works, but the login option does nothing.
Current workaround
Following the steps in the official Remote documentation to force the extension to be UI/Local fixes the issue.
This basically means adding this to your settings.json
:
"remote.extensionKind": {
"softwaredotcom.swdc-vscode": "ui"
}
If I can help with a PR that fixes this or anything else, let me know :)
Dear:
I want change my account, But there seems to be no logout option in the extension.
or
Is there any way to change my account login?
Thanks.
Have a good time.
I added the configurations of working time in app.software.com, But sometimes I'm actually not at work and I'm at home. Maybe it's a holiday or anything else.
How can I config manually that where I am coding right now?
For a real example, these days I'm on holidays and coding at home on my own projects, but coding time will log in work time part!
I think, a small button in the editor can help set status: "I'm at work"!
Today I was seeing negative values (~-200 min) in the Total for the day. I'm not sure how far that negative value had propagated.
(Note. I just want to mention that I'm opening another issue for the extension crashing Visual Studio 2017. I don't know if there's any chance they'd be related)
Hello,
I wanted to wait a few days in case it was some kind of delayed daily process thing, but it's been 3 days or so that after I logged in, presumably everything is working but I see Code time: 0 min
all the time on the bottom right of VSCode and the web dashboard (and the "Code time report" from vscode) reports no data at all. (It's showing the default charts explaining what data may look like.)
Is there some secret debug log I could paste to help you investigate this?
I also noticed that the internal file ~/.software/CodeTime
had been created by my user but with some bizarre permissions not allowing me to edit the file, which I guess did not help.
It was like this: (notice I have no user read rights on the file, wtf?)
> ls -l ~/.software/
total 72
drwxrwxr-x 2 alan artists 1536 Feb 8 11:37 ./
drwxr-xr-x 192 alan games 207872 Feb 8 11:36 ../
--wxrw--wt 1 alan artists 2833 Feb 8 11:35 CodeTime*
-rw-rw-r-- 1 alan artists 227 Feb 7 14:59 session.json
After seeing that, I opened the permissions to my user:
> ls -l ~/.software/
total 72
drwxrwxr-x 2 alan artists 1536 Feb 8 11:37 ./
drwxr-xr-x 192 alan games 207360 Feb 8 11:37 ../
-rw-rw-r-- 1 alan artists 2833 Feb 8 11:35 CodeTime
-rw-rw-r-- 1 alan artists 227 Feb 7 14:59 session.json
...but it still wasn't working. Restarted VSCode, reinstalled the extension, restarted vscode again for good measure and the permissions went back to being un-readable by my user.
I think there's a bug somewhere?
Here's my vscode info if it helps:
Version: 1.31.0
Commit: 7c66f58312b48ed8ca4e387ebd9ffe9605332caa
Date: 2019-02-06T08:51:24.856Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 3.10.0-693.21.1.el7.x86_64
Is there an option to link multiple "devs" / Machines to an overall dashboard?
So a global account to monitor my devs performance without going to each of their machines or accounts?
Basically a company profile, with users.
Would be fantastic if it has it.
Thanks.
Not sure when it stopped working, but in my dashboard I get the following:
When I try to log in, I get stuck in a loop in the following order:
Click on code time log in through vscode ->
Open log in page in browser ->
Select github ->
No account found, must install plug in first ->
go back to vscode ->
repeat.
Hi awesome Devs.
Could you make this plugin for brackets too? I preffer brackets over VS code, properly not the only one.
./Casper
I just noticed that when I right-click in any custom tree view in VS Code (e.g. the Live Share session details tree), the Code Time context menus appear (see below for the experience with the Live Share tree). It would be great if you could scope these commands to a specific context, so it doesn't clutter any UI unexpectedly.
I just noticed that after updating to the latest version (0.8.5) The vscode plugin doesn't seem to send the data to the app anymore.
When I try to log in again by using the log in command from the plugin, it logs me in just fine but still doesn't update the stats.
I'm on mojave 10.14.3 an vscode 1.31.1.
Did I miss something after the update or did a bug sneak in somewhere?
Dude, not cool:
Nowhere on the extension page, nor the github repo's README, nor your FAQ, does it say you are doing advertising inside the extension. This is straight up unacceptable.
For the record, my problem is not the advertising. I understand servers cost money and this is promoted as a "free" service so I get that some form of advertising may be a revenue stream for you and that's fine within reason, but my issue is you did not disclose the advertising upfront. How am I supposed to trust you with time tracking my personal code if I can't trust you to disclose what your extension is doing? What next, are you sneak in UberEats promos as commented code blocks in my code??
If you wish to keep advertising but make it less sketchy, maybe mention some promo codes inside a changelog that appears on each update as you improve the extension? It'd be less of a breach of confidence that way. At the very least mention the in-panel advertising in your README.
I guess I'm gonna continue sticking with Wakatime until then. They never voided my trust by silently sneaking in any advertising in any of their extensions.
Everything was OK on Debian, But I've updated my VsCode and now, codetime plugin can't login.
Here is details of VsCode version:
Version: 1.33.1
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:20:22.771Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.9.0-8-amd64
and this is the error I've gotten in vscode's developer tools:
Code Time: error fetching data for /users/plugin/state, message: Request failed with status code 500
Codetime plugin version is 0.14.5
When I hit login button on vscode, it will redirect me to this URL: https://app.software.com/onboarding?token=null
.
When I try to use the online dashboard, it just loads infinitely and I see:
Request URL:https://api.software.com/feed?page=0&limit=5 Request method:GET Remote address:54.193.54.166:443 Status code: 500 Version:HTTP/2.0 Referrer Policy:no-referrer-when-downgrade
I was wondering if the Rocket ship that appears at the bottom of vs code in the status bar means anything. I have seen it sometimes and other times it isn't there. I couldn't really find any FAQ or info about it. Sorry its not really a issue and more of a question.
Steps to Reproduce:
Does this issue occur when Code Time for Visual Studio Code
extensions are disabled?: No
When I upgrade codeTime extension in VSCode to 0.16.5, iTunes was always auto opened. After I forbid extensions one by one, I found it depends on codeTime. Please check out it, thanks.
Does it track even when VSCode is Open in background or just when VSCode window is active?
I'm asking this because I generally keep VSCode open even when I'm working on non-code work on my laptop - need to know if it will affect or not
Hey guys,
On the web dashboard I saw the "Code time by genre", not with actual data, but as a suggested graph that may eventually appear.
I couldn't find any docs about this feature. Is it just in the roadmap and not publicly available yet?
I think it's a very interesting thing to track. 🤔
This is in response to Code Time's reply on the VS Code market place.
I logged in using github, however in the web interface it doesn't show me what email the account is linked to.
Just to access the web interface, I had to clone the github repo, find the command in the code, change the code so the command would be registered, install the dependences and the build the new version and run the command.
You might want to consider putting the login link somewhere in the readme.
It seems the issue is that the package.json isn't including the Code Time commands. The commands are registered in the code in line 40 in lib/command-helper.ts
, but if they're not apart of the package.json the user isn't going to get access to them without manually setting a keybinding and knowing the internal name of the command.
The code is well commented, so that was a plus.
I've been having issues with Visual Studio 2017 crashing ~1 min after startup. Visual Studio is 100% up-to-date. Disabling the Code Time extension has eliminated the problem. (Tried it several times with the extension enabled and disabled. The issue only exists when the Code Time extension is enabled.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.