Stay on top of your hydration game while you code! "Drink Code" helps developers maintain their health by sending gentle reminders to drink water during coding sessions.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Stay on top of your hydration game while you code! "Drink Code" helps developers maintain their health by sending gentle reminders to drink water during coding sessions.
🌍 "Drink Code" is available in the following languages:
🇨🇿 Czech (cs)
🇩🇪 German (de)
🇺🇸 English (en)
🇪🇸 Spanish (es)
🇫🇷 French (fr)
🇭🇺 Hungarian (hu)
🇯🇵 Japanese (ja)
🇰🇷 Korean (ko)
🇵🇱 Polish (pl)
🇧🇷 Portuguese (Brazil) (pt-br)
🇷🇺 Russian (ru)
🇹🇷 Turkish (tr)
🇨🇳 Chinese (Simplified) (zh-cn)
🇹🇼 Chinese (Traditional) (zh-tw)
⚡ Available Configuration
Configuration Key
Description
Default Value
Example
drink-code.drinkInterval
Interval in milliseconds to remind you to drink water.
30 * 60 * 1000 (30 minutes)
drink-code.drinkInterval: 1800000
drink-code.drinkSkipFactor
Factor to skip the next reminder (e.g. 2 means the interval will be halved every time you skip).
2
drink-code.drinkSkipFactor: 2
drink-code.drinkReminderTimeout
Timeout in milliseconds to dismiss the reminder.
2 * 60 * 1000 (2 minutes)
drink-code.drinkReminderTimeout: 120000
drink-code.drinkMinInterval
Minimum interval in milliseconds to remind you to drink water (used for decreasing the interval).
5 * 60 * 1000 (5 minutes)
drink-code.drinkMinInterval: 300000
drink-code.drinkStates
States to remind you to drink water. Each state has a statusBar and reminderText. If only a subset of states is defined (e.g., only states 0 and 1), the remaining states (2, 3, 4, etc.) will use the default settings.
[] (Default uses built-in states)
drink-code.drinkStates: [ { "statusBar": "Hydrated", "reminderText": "You are hydrated" }, { "statusBar": "Drink", "reminderText": "Time to drink" } ]