Typing Speed
A VS Code extension that calculates and displays your typing speed (WPM - Words Per Minute) in the status bar when you stop typing.
Features
- Real-time Typing Speed Tracking: Automatically tracks your typing speed as you code
- WPM Calculation: Calculates Words Per Minute based on characters typed
- Status Bar Display: Shows your current WPM and highest score in the status bar
- Persistent High Score: Remembers your best typing speed across sessions
- Global Tracking: Tracks typing across all files and editors
- Smart Detection: Filters out paste operations and large edits to only track actual typing
How It Works
- The extension automatically activates when VS Code starts
- It tracks your keystrokes as you type code
- When you stop typing for 3 seconds, it calculates your WPM
- Your current WPM and highest score are displayed in the status bar
- The highest score is saved and persists across VS Code sessions
The status bar displays: ⚡ X WPM (🏆 Y WPM)
- X = Your current/last calculated WPM
- Y = Your all-time highest WPM
Requirements
- VS Code/Cursor version 1.60.0 or higher
- Node.js (for building from source)
Installation
Install Locally from Source
Follow these steps to install the extension locally in Cursor or VS Code after cloning the repository:
Step 1: Clone the Repository
git clone https://github.com/sincerelyyyash/typespeed.git
cd typespeed
Step 2: Install Dependencies
npm install
Step 3: Compile the Extension
npm run compile
Step 4: Package the Extension
npm run package
This will create a typespeed-0.0.1.vsix file in the project root.
Step 5: Install the Extension
Option A: Using Command Palette (Recommended)
- Open Cursor or VS Code
- Press
Cmd + Shift + P (Mac) or Ctrl + Shift + P (Windows/Linux) to open the Command Palette
- Type:
Extensions: Install from VSIX...
- Select the
typespeed-0.0.1.vsix file from the project root
- Restart Cursor/VS Code if prompted
Option B: Using Terminal
For VS Code:
code --install-extension typespeed-0.0.1.vsix
For Cursor:
cursor --install-extension typespeed-0.0.1.vsix
Step 6: Verify Installation
- Open any file in Cursor/VS Code
- Start typing
- Check the status bar (bottom right) - you should see:
⚡ -- WPM (🏆 0 WPM)
- After you stop typing for 3 seconds, your WPM will be calculated and displayed
Development Mode
To develop and test the extension locally:
Run the watch mode to auto-compile on changes:
npm run watch
Press F5 in VS Code/Cursor to launch the Extension Development Host
A new window will open with your extension loaded
Make changes to your code - it will auto-compile, then reload the extension host window
Updating the Extension
When you make changes to the extension:
- Run
npm run compile to rebuild
- Run
npm run package to create a new .vsix file
- Install the new
.vsix file (it will replace the old version)
Extension Settings
This extension does not add any VS Code settings. It works automatically once installed.
Release Notes
0.0.1
Initial release of Typing Speed extension
- Real-time WPM calculation
- Status bar display
- Highest score tracking and persistence
- Global typing tracking across all files
Enjoy tracking your typing speed!