Git Product home page Git Product logo

aw-watcher-vscode's Introduction

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:

  • current project name
  • programming language
  • current file name

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:

  • aw-watcher-vscode.maxHeartbeatsPerSec: Controls the maximum number of heartbeats sent per second.

Error reporting

If you run into any errors or have feature requests, please open an issue.

Release Notes

0.5.0

  • Updated publisherId to activitywatch.
  • Added support for VSCodium.
  • Added support for VSCode remote.

0.4.1

Updated aw-client-js, media and npm dependencies.

0.4.0

Updated submodules aw-client-js and media to latest

fixed the extension to work with the latest aw-client:

  • AppEditorActivityHeartbeat --> IAppEditorEvent
  • createBucket --> ensureBucket
  • options object in AWClient constructor
  • timestamp should be a Date not a string

0.3.3

Fixed security vulnerability of an outdated dependency.

0.3.2

Added maxHeartbeatsPerSec configuration.

0.3.0

Refined error handling and heartbeat logic.

0.2.0

Refined error handling and README.

0.1.0

Initial release of aw-watcher-vscode.

aw-watcher-vscode's People

Contributors

johan-bjareholt avatar devzsolt avatar erikbjare avatar otto-aa avatar flaw avatar arushsharma24 avatar brunoparga avatar

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.