Visual Studio plugin for automatic time tracking and metrics generated from your programming activity.
C#
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

visualstudio-wakatime

Visual Studio extension to quantify your coding using https://wakatime.com/.

Installation

  1. Inside Visual Studio, navigate to ToolsExtensions and Updates...

  2. Click the Online category at the left, then search for wakatime.

  3. Click the Download button, then click Install.

  4. Click the Restart Now button.

  5. Enter your api key, then press enter.

  6. Use Visual Studio and your coding activity will be displayed on your WakaTime dashboard.

Screen Shots

Project Overview

Supported Visual Studio Editions

  • Visual Studio 2010
  • Visual Studio 2012
  • Visual Studio 2013
  • Visual Studio 2015
  • Visual Studio 2017

Visual Studio for Mac

Visual Studio for Mac is supported with the WakaTime for Monodevlop extension.

Visual Studio 2010 ( Legacy )

For legacy Visual Studio 2010, use the legacy WakaTime 2010 extension.

Visual Studio Express

Microsoft does not allow extensions for Visual Studio Express edition in the gallery. To use WakaTime for Visual Studio Express, download and install WakaTime for Express.

Alternatively, you may clone the github repo and build the extension using the Express build profile. The resulting bin/Express/WakaTime.vsix extension file will install into Visual Studio Express when run.

Contributing

To open and build this project, please use Visual Studio 2017.

For debugging, configure the product to open in a new Visual Studio instance:

  1. Open the project properties (ALT + ENTER)
  2. In the Debug tab, set to Start external program. e.g: C:\Program Files (x86)\Microsoft Visual Studio 15.0\Common7\IDE\devenv.exe
  3. Add command line arguments: /rootsuffix Exp

Troubleshooting

Look for a ToolsWakaTime Settings menu in Visual Studio. If that menu doesn't exist, something prevented the WakaTime extension from loading.

Turn on debug mode from ToolsWakaTime Settings.

Are there error messages in your Visual Studio Output window?

Open the Output window from ViewOutput (ctrl + alt + O).

Output Window

If there are no messages in your Visual Studio Output window, check your .wakatime.log file:

C:\Users\<user>\.wakatime.log

Lastly, uncaught exceptions go to ActivityLog.xml. Uncaught exceptions are rare, so check your ActivityLog.xml only after checking your Output Window and .wakatime.log file.

The How to Debug Plugins guide shows how to check when coding activity was last received from your IDE using the User Agents API. For more general troubleshooting info, see the wakatime-cli Troubleshooting Section.