All Projects → hangxingliu → Vscode Coding Tracker

hangxingliu / Vscode Coding Tracker

Licence: gpl-3.0
🕙 A coding activities tracker(time, file, type)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vscode Coding Tracker

Markdown Toc
MarkdownTOC(Table Of Contents) Plugin for Visual Studio Code.
Stars: ✭ 130 (-5.11%)
Mutual labels:  vscode, vscode-extension
Vscode Swift
An extension for VS Code which provides support for the Swift language.
Stars: ✭ 132 (-3.65%)
Mutual labels:  vscode, vscode-extension
Vscode Swift Development Environment
New home of Swift Development Environment for VS Code
Stars: ✭ 137 (+0%)
Mutual labels:  vscode, vscode-extension
Quicktype Vscode
VS Code extension to convert JSON to TypeScript, C#, Go, and many more
Stars: ✭ 131 (-4.38%)
Mutual labels:  vscode, vscode-extension
Vscode Emacs Mcx
Awesome Emacs Keymap - VSCode emacs keybinding with multi cursor support
Stars: ✭ 135 (-1.46%)
Mutual labels:  vscode, vscode-extension
Vs Swagger Viewer
Swagger Viewer lets you preview and validate Swagger 2.0 and OpenAPI files as you type in Visual Studio Code.
Stars: ✭ 126 (-8.03%)
Mutual labels:  vscode, vscode-extension
Vscode Scss
🔌 IntelliSense for Variables, Mixins and Functions in all Sass (SCSS syntax only) files.
Stars: ✭ 128 (-6.57%)
Mutual labels:  vscode, vscode-extension
Vscode Postgres
PostgreSQL extension for vscode providing explorer, highlighting, diagnostics, and intellisense
Stars: ✭ 117 (-14.6%)
Mutual labels:  vscode, vscode-extension
Advpl Vscode
Suporte para Advpl no VsCode
Stars: ✭ 132 (-3.65%)
Mutual labels:  vscode, vscode-extension
Vscode Auto Close Tag
Auto Close Tag for Visual Studio Code
Stars: ✭ 132 (-3.65%)
Mutual labels:  vscode, vscode-extension
Vscode Go
Go extension for Visual Studio Code
Stars: ✭ 2,268 (+1555.47%)
Mutual labels:  vscode, vscode-extension
Vscode Neovim
VSCode Neovim Integration
Stars: ✭ 2,474 (+1705.84%)
Mutual labels:  vscode, vscode-extension
Vscode Language Pascal
Pascal language extension for Visual Studio Code
Stars: ✭ 117 (-14.6%)
Mutual labels:  vscode, vscode-extension
Vscode Codeql Starter
Starter workspace to use with the CodeQL extension for Visual Studio Code.
Stars: ✭ 130 (-5.11%)
Mutual labels:  vscode, vscode-extension
Vscode Apielements
VSCode extensions for API Elements (aka: API Blueprint and Swagger)
Stars: ✭ 117 (-14.6%)
Mutual labels:  vscode, vscode-extension
Vscode Elastic
Elasticsearch for VSCode
Stars: ✭ 130 (-5.11%)
Mutual labels:  vscode, vscode-extension
I18n Ally
🌍 All in one i18n extension for VS Code
Stars: ✭ 1,931 (+1309.49%)
Mutual labels:  vscode, vscode-extension
Vscode Azure Blockchain Ethereum
Blockchain extension for VS Code
Stars: ✭ 111 (-18.98%)
Mutual labels:  vscode, vscode-extension
Doxdocgen
Generate doxygen documentation from source code in VS Code
Stars: ✭ 127 (-7.3%)
Mutual labels:  vscode, vscode-extension
Vscode Browse Lite
🚀 An embedded browser in VS Code
Stars: ✭ 134 (-2.19%)
Mutual labels:  vscode, vscode-extension

Visual Studio Code Coding Tracker

A VSCode extension that track your coding activities and generate report about your coding.
You can know how much time you spent on each projects/files/computers/languages/branchs and total by this extension.

Supported languages: English, Russian(русский), Spanish(Español), Simplified Chinese(简体中文) and Traditional Chinese(繁體中文).

All part of this extension(included server program, documents) are open-source and hosted on Github.

Links:
Server program Github repo
VSCode extensions marketplace

Screenshot

screenshots2

Current Version

0.7.0 (Next version)

  1. Fix local server launch faild on users who have not install Node.js or installed nvm.

If you want use this version now, you can uninstall old version in VSCode, And clone this repository into $HOME/.vscode/extensions

0.6.0 (2018/03/25)

  1. Upgrade server program (report page) to 0.6.0
    • export/download report as CSV
    • merge report from different projects
    • fix some bug on report page
    • more compatible with old browsers and mobile browsers
  2. Optimize for some vscode internal documents. (Default settings, markdown preview, interactive playground)
  3. Add Español translations into extension.

more version information: CHANGELOG.md

How To Use (Easy And Common Way)

Applicable to people dont want to read below long text and only use VSCode in one computer

  1. Install this extension.
  2. Coding as you did before.
  3. Get your coding report by command CodingTracker: Show your coding activities report
    • press F1 to open VSCode command panel, then search command above and click it

How To Use (Fully guide) TLDR

VSCode Coding Tracker actually has two part: extension and server (C/S)

And extension use internal server installed in node_modules by default.

But you could install a server program on you server and use it on VSCode on different computers.

Server program repository: vscode-coding-tracker-server

Step1. Installing extension to your VSCode

Search vscode-coding-tracker in VSCode extension panel and install it.

Step2. Install and Launching tracker server in remote server or local

Local computer (controlled by VSCode)

You don't need to do anything.(And don't change the configuration codingTracker.localServerMode to false)

In this situation, the database files are located in $HOME/.coding-tracker/

Local computer (controlled by yourself)

  1. Set your vscode configuration codingTracker.localServerMode to false
  2. Open a terminal/command line
  3. Change path to %HOME%/.vscode/extensions/hangxingliu.vscode-coding-tracker-0.6.0
    • In Windows OS, enter command: cd %HOME%/.vscode/extensions/hangxingliu.vscode-coding-tracker-0.6.0
    • In Linux/Mac OS, enter command: cd $HOME/.vscode/extensions/hangxingliu.vscode-coding-tracker-0.6.0
  4. Execute npm i
  5. Launch tracker server by using command: npm start -- -t ${REPLACE_TO_YOUR_TOKEN}
    • Such as npm start -- -t test_token, means your upload token is test_token
    • And you can get more configurations and descriptions by using command npm start -- --help
    • Be care! It is necessary to add -- following to npm start to passing following arguments to tracker server
  6. And your tracking data is under ./database in default.

Remote server

  1. Set your vscode configuration codingTracker.localServerMode to false
  2. Login into your remote server
  3. Be sure to install node and npm environments
  4. Typing command npm i vscode-coding-tracker-server (Global install: append -g to the command)
  5. Launch tracker server by using command: npm start -- -t ${REPLACE_TO_YOUR_TOKEN}
  6. And your tracking data is under ./database in default.

Step 3. Configuring the upload token and your server address in your VSCode

configurations:

  • codingTracker.serverURL (set up such as "http://localhost:10345")
    • If you use local tracker server and use default config, you can ignore this config.
    • Because default value of this config is http://localhost:10345
  • codingTracker.uploadToken (set up such as "123456")
    • Setting up this value same as the token you launch your server
  • codingTracker.computerId (set up this computer name then you can easy to know which computer you coding more time)
    • (Optional config)
  • codingTracker.localServerMode (in default is true). Please refer above
  • codingTracker.moreThinkingTime (in default is 0 ). More thinking time for tracking
    • This config is making for people need more thinking time in coding activity.
    • The bigger value you set the longer time you get in report time
    • I don't recommend setting up this value bigger, Because I believe the default think time in extension is nice followed my usage

Step 4. See your report

Open command panel in your VSCode.Then search and click command CodingTracker: Show your coding activities report

Or, just open browser and enter http://${YOUR_SERVER_HOST_NAME}:${PORT}/report/?token=${API_TOKEN}

  • Such as http://127.0.0.1:10345/report/
  • Such as http://mydomain.com:10345/report/?token=myUploadToken

More commands:

  • codingTracker.startLocalServer
  • codingTracker.stopLocalServer
  • codingTracker.showReport

Contributing

CONTRIBUTING.md

Author

LiuYue (hangxingliu)

Contributors

Third party codes and resource

License

  • Extension(excluded icon and third party codes) and server scripts are licensed under GPL-3.0
  • Icon of extension is licensed under CC-BY 4.0
  • Third party codes license information in the front of third party code files
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].