Giter Site home page Giter Site logo

swdotcom / swdc-vscode-100-days-of-code Goto Github PK

View Code? Open in Web Editor NEW
49.0 9.0 4.0 33.4 MB

A VS Code extension that helps you reach your goals in completing the 100 Days of Code challenge

Home Page: https://www.software.com/100-days-of-code

License: Apache License 2.0

JavaScript 0.87% TypeScript 67.64% HTML 31.48%
100daysofcode 100-days-of-code vscode visual-studio-code vscode-extension

swdc-vscode-100-days-of-code's People

Contributors

bjacobson26 avatar bkbrawler04 avatar brettmstevens7 avatar dependabot[bot] avatar dillon-sftw avatar geoffstevens8 avatar shreyshah33 avatar xavluiz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swdc-vscode-100-days-of-code's Issues

allow setting the storage path

First, thanks for this great project!

export function getSoftwareDir(autoCreate = true) {

  1. I believe forward slash is valid for windows paths, as all my scripts typically use forward slash to be cross compatible with Linux, MacOS, and Windows.
  2. The storage path is fixed to the user home directory. This caused me some initial confusion as I was trying to indentify the path the log was stored to make sure it was backed up. In my case, I have a home/work pc and assumed this was stored in the extension data that is backed up, which it doesn't seem to.

Consider allowing this to be set for target path, so that I could use: C:\Users\username\AppData\Roaming\Code - Insiders\User\. Not sure if this would be globalStorage, workspaceStorage, or if you can create your own directory in there, or what.

For those using the sync extension, or the new visual studio code insiders preferences sync, this would ensure the log is backed up as part of that.

Achieved 100 day certificate after day 28

Hi, I have achieved my 100 days coding achievement after only day 28. The extension appears to be creating multiple logs per day which may be contributing to the issue. I have attached a screenshot, hopefully this will help.

Thanks for the extension, it is really appreciated and really helps to motivate me.
Duplicate logs

No auto created logs

Issue type: Bug (possibly)

100 days of code extension for Visual Studio Code doesn't create any logs except manually created.

If you forget to create a log for a day that you worked, don’t worry! The 100 Days of Code extension automatically creates a log for you with your coding metrics. You can edit these logs at any time with additional information.

Looks like I haven't any logs except created by pressing button 'Add Log'

But if I go to Code Time website, for days without any log in this extension I have correctly logged statistics.

Manually created logs not updated automatically as explained in this article:

Track your 100 Days of Code. Get a Software certificate.

Each new log is automatically updated with your coding metrics for that day, such as hours coded. You can see these values while writing your log entry.

Extension version: v1.0.11
Visual Studio Code version: 1.50.1
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T14:53:05.704Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 18.7.0

Operation System version: macOS Mojave v.10.14.6

Can't find Logs and Milestones Tabs

Command '100 Days of Code: View Milestones' resulted in an error (command 'DoC.viewMilestones' not found)
Got the error when i manually tried running the command
And 100days of code Section is empty
image

Swdc-vscode-100-days-of-code crashing Extension Host

I don't know whats the actual reason for this. but Since last two days. I am getting error message

Extension host terminated unexpectedly

When I looked into the developer tools It says

[Extension Host] (node:5800) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token  in JSON at position 0
	at JSON.parse (<anonymous>)
	at getSummaryObject (c:\Users\Pawar\.vscode\extensions\softwaredotcom.swdc-100-days-of-code-1.0.1\out\utils\SummaryUtil.js:203:17)
	at Object.reevaluateSummary (c:\Users\Pawar\.vscode\extensions\softwaredotcom.swdc-100-days-of-code-1.0.1\out\utils\SummaryUtil.js:93:19)
	at c:\Users\Pawar\.vscode\extensions\softwaredotcom.swdc-100-days-of-code-1.0.1\out\utils\LogsUtil.js:283:23
	at Generator.next (<anonymous>)
	at fulfilled (c:\Users\Pawar\.vscode\extensions\softwaredotcom.swdc-100-days-of-code-1.0.1\out\utils\LogsUtil.js:5:58)
	at processTicksAndRejections (internal/process/task_queues.js:85:5)

Please look into this issue. Btw I'm big Fan of the extension. Let me know if you have any fixes

Integration with code-time extension resulting in duplication of logs

This has happened to me a couple of times now, although I try to add logs myself, sometimes when I forget to log my work and the automated logs (created at midnight) are generated, they are sort of getting replicated for a day. There's no option to delete such logs, so what happens is, even if I have been coding consistently, the dashboard starts showing gaps because of these duplicated logs.

Screenshot 2020-08-31 at 11 35 31 PM

Extension stops every minute.

Issue Type: Bug

CodeTime Extension stops every minute and needs to be restarted all the time, this effects all the extensions with it.
Every extesion works fine except this.

This extension was working fine in my ubuntu VS Code and then when i tried in Win VS code it has having issue.
I installed a previous version of this extension and it worked fine but keeps stopping every mintue and stops all other extensions installed.

Extension version: 1.0.5
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.19041

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 x 2400)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 11.89GB (2.79GB free)
Process Argv --crash-reporter-id 9b701749-5640-432a-9a59-eeb9f12de1b8
Screen Reader no
VM 0%

Integration with code-time extension results in multiple logs for same day sometimes

Screenshot 2020-08-31 at 11 35 31 PM

This has happened to me a couple of times now, although I try to add logs myself, sometimes when I forget to log my work and the automated logs (created at midnight) are generated, they sort of getting replicated for a day. There's no option to delete such logs, so what happens is, even if I have been coding consistently, the dashboard starts showing gaps because of these duplicated logs.

Update compatible VSCode versions

Unable to install 'softwaredotcom.swdc-100-days-of-code' extension because it is not compatible with the current version of VS Code (version 1.42.0).

markdown output

Related to my other issue, It would be really great if it would be possible to save a copy of my log in a simple markdown format. I blog and use hugo to blog. If I had a text template I could provide and then use a few variables like datetime/tag, and an option to set a save destination to on adding a lot entry, I could have it save a markdown file so I could add these to my blog for recording progress.

Is that something you've considered doing?
For reference: Microblog Github Repo outputs to microblog

I've thought about using the other templates out there to log, and still might, but simplifying publishing or creating a simple markdown file with the log built into vscode might make it super quick and more likely for me to log this on my site.

Thanks again for the great work, and if not something in scope for your work no problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.