ActivityWatch / aw-watcher-vscode

Mozilla Public License 2.0
193 stars 27 forks source link

aw-watcher-vscode

This extension allows ActivityWatch, the free and open-source time tracker, to keep track of the projects and programming languages you use in VS Code.

The extension is published on Visual Studio Marketplace and Open VSX.

The source code is available at https://github.com/ActivityWatch/aw-watcher-vscode

Features

Sends following data to ActivityWatch:

Currently VS Code extensions don't support getting file/project names for non-editable files, therefore this results in the value "unknown" for those properties. (For instance when opening logo.png this happens)

Requirements

This extension requires ActivityWatch to be running on your machine.

Install Instructions

To install this extension, search for aw-watcher-vscode in the Extensions sidebar in VS Code, and install the one with ActivityWatch as the publisher name. And that's it, if Activity Watch was running, it should detect this vs-code watcher automatically. Give it some time to have some data to display and it should show in the ActivityWatch Timeline and Activity sections soon.

Commands

Reload ActivityWatch

Use this in case VS Code has been started before the AW server.

Extension Settings

This extension adds the following settings: