Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
aw-client-js @ f9d37d9
media @ 1c1221c
src
.gitignore
.gitmodules
.vscodeignore
CHANGELOG.md
README.md
package-lock.json
package.json
tsconfig.json
tslint.json
vsc-extension-quickstart.md

README.md

aw-watcher-vscode [WIP]

This extension allows the open source tracking tool ActivityWatch to keep track of the projects and coding languages you use in Visual Code.

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

Features

Sends following data to ActivityWatch:

  • current project name
  • coding 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

To run this extension you will need to have a running ActivityWatch Server.

Commands

Reload ActivityWatch

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

Error reporting

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


Release Notes

0.1.0

Initial release of aw-watcher-vscode.

0.2.0

Refined error handling and README.

0.3.0

Refined error handling and heartbeat logic.

0.3.2

Added maxHeartbeatsPerSec configuration

0.3.3

Fixed security vulnerability of an outdated dependency

0.4.0

update submodules aw-client-js and media to latest

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

  • AppEditorActivityHeartbeat --> AppEditorEvent
  • createBucket --> ensureBucket
  • options object in AWClient constructor
  • timestamp should be a Date not a string
You can’t perform that action at this time.