Watcher
A VS Code extension that monitors and logs your coding activities, including document changes, copy/paste operations, and editor interactions.
Features
- Automatic Activity Monitoring: Tracks your coding activities in real-time
- Document Change Logging: Records insertions, deletions, and modifications in code files
- Copy/Paste Tracking: Monitors clipboard operations (copy and paste)
- Focus Tracking: Logs when you focus or unfocus the editor window
- Server Integration: Automatically uploads logs to a configurable server endpoint
- Multi-language Support: Works with various programming languages including JavaScript, TypeScript, Python, Java, C#, and more
Requirements
- VS Code version 1.99.0 or higher
- Network access to the configured server URL
Extension Settings
This extension contributes the following settings:
watcher.serverUrl: Base URL of the Watcher API server (default: http://64.176.198.19:8083)
You can configure this setting in VS Code Settings:
- Open Settings (
Cmd+, on Mac or Ctrl+, on Windows/Linux)
- Search for "watcher.serverUrl"
- Enter your server URL
Usage
Getting Started
- The extension activates automatically when you open VS Code
- Open any code file in a supported programming language
- The extension will automatically start monitoring your activities
Login
To authenticate with the server:
- Press
Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux)
- Type "Watcher: Login to Extension"
- Enter your enrollment and password
Commands
The extension provides the following commands:
Watcher: Login to Extension - Authenticate with the server
Watcher: List Watcher Commands - Display all available commands
How It Works
- The extension monitors document changes, selections, and clipboard operations
- Activity logs are collected and automatically uploaded to the server after 100 seconds of idle time
- Logs include document name, path, language, changes, and line count
Release Notes
0.0.1
Initial release of Watcher extension with:
- Document change monitoring
- Copy/paste tracking
- Server integration
- Configurable server URL
- Automatic log upload
| |