Health Prompt
Health Prompt is a Visual Studio Code extension that promotes healthy habits for developers. It reminds you to take regular breaks, stay hydrated, look away to rest your eyes, take a walk, and have healthy snacks.
Features
- Eye Health Reminders: Follow the 20-20-20 rule to reduce eye strain.
- Break Reminders: Reminders to take a short break from your work.
- Hydration Reminders: Notifications to drink water at regular intervals.
- Walk Reminders: Prompts to take a walk and stretch your legs.
- Nutrition Reminders: Suggestions for healthy snacks during your coding session.
- Do Not Disturb Mode: Toggle notifications on and off when you need to focus.
- Active Time Tracker: Monitor the total time spent in VS Code.
Usage
After installing the extension, it will automatically start sending you notifications based on the default intervals. You can customize these intervals in the extension settings.
To toggle the "Do Not Disturb" mode you can find it in the task bar menu of VS code. You can just toggle it according to your needs.
Installation
- Open Visual Studio Code
- Press
Ctrl+P
to open the Quick Open dialog
- Type
ext install health-prompt
to find the extension
- Click the
Install
button, then the Enable
button
Extension Settings
Use Ctrl+Shift+P
and search for Preferences: Open settings (UI), once you are in search for Health prompt. Under Health prompt You can find options to customize the timer according to your needs.
This extension contributes the following settings:
healthPrompt.eyeHealthInterval
: Interval in minutes for eye health reminders (default 20 minutes).
healthPrompt.breakInterval
: Interval in minutes for regular break reminders (default 120 minutes).
healthPrompt.hydrateInterval
: Interval in minutes for hydration reminders (default 60 minutes).
healthPrompt.walkInterval
: Interval in minutes for walk reminders (default 30 minutes).
healthPrompt.nutritionInterval
: Interval in minutes for nutrition reminders (default 90 minutes).
You can configure these settings to meet your personal preferences.
Commands
health-prompt.CodeWell
: Greet the user with a welcome message.
health-prompt.toggleDoNotDisturb
: Toggle the "Do Not Disturb" mode.
Feedback
If you have any feedback or issues, please open an issue in the GitHub repository
Enjoy a healthier coding experience!