Docs / Editors / Vs Code
How to Track Time in VS Code
Let's set up VS Code to count how much time you spend coding!
Step 1: Make a Hackatime Account
Go to Hackatime and make an account. Then log in.
Step 2: Get Your Settings Ready
Click this link to the setup page. It will set up your account so it works with VS Code.
Step 3: Add the Plugin to VS Code
- Open VS Code
- Click the squares icon on the left (Extensions)
- Type "WakaTime" in the search box
- Click the Install button next to WakaTime
- VS Code might ask you to restart - click Reload if it does
That's it! The plugin will use your settings from Step 2.
If Something Goes Wrong
Can't see your time? Go back to the setup page and try again.
Plugin not working? Close VS Code and open it again.
Still having trouble? Ask for help in Hack Club Slack - look for the #hackatime-dev channel.
What Happens Next
Start coding! Your time will show up on your Hackatime page in a few minutes.
Found an issue with this page? Edit it on GitHub - we'd love your help making the docs better!