IDEA 久坐提醒插件

Related tags

IDE idea_seat
Overview

IDEA 久坐提醒插件

前言

对于程序员来说,经常会遇到项目周期短的状况。白天开会讨论需求,晚上加班写代码,熬夜发版本,上线改 Bug。工作日就是:开会、写代码、倒水、上厕所、抽烟、改 Bug,一天最开心的时刻就是带薪拉屎。

好不容易到了周末,有时还会通宵玩游戏,半个月也不运动一次。再好的身体,也会被这种高强度的工作,无规律的生活所击垮。随着年龄越来越大,加上每天久坐不起来运动运动,这样下去身体真的顶不住,久坐有挺多危害的:

1、久坐可能会导致心脑血管疾病增加

2、久坐可能会导致免疫力低下

3、久坐可能会导致损脑伤胃

4、久坐可能会得痔*

为了男朋友身体健康,我开发了一款插件,这插件可以 40 分钟提醒一次该起来起来运动啦,并且展示一些骚骚的动图。12 个经典小动作让你肩不痛,腰不酸,腿不麻!

img

安装

下面是插件的安装教程:

1. 下载 Jar 包

地址:https://github.com/s-unscrupulous/idea_seat

2. 安装插件

打开 IDEA 设置 -> Plugins -> 右上角齿轮 -> Install Plugin from Disk

img

3. 开启插件

工具栏 Tools 点击,找到 Assistant setting,就能设置提醒时间了。

img

过了半小时,弹出来一个胖胖的「打工人」动图,提醒你该休息了。

img

动图下方配上了一句话:原地踏步的时候,手掌向上朝天花板的方向推出去,手掌收回来的时候大拇指差不多要碰到你的肩膀,通过同时托举水瓶可以加大难度。

这插件不仅仅能提醒你该休息了,而且还提示你需要做哪些动作来缓解疲劳。

img

这个插件装备了 12 种缓解疲劳的动作,自己去解锁吧。。。

我在代码中加入了鼠标监听的功能,如果鼠标十分钟没有移动过,那就认为我在休息了。这时候会把定时任务取消,只有下一次移动鼠标时才会重新启动定时任务。大家对这个插件感兴趣的可以装一装,喜欢给个 Star!

TODO

  • 支持 JetBrains 所有产品
  • 丰富运动素材

交流群

这只是第一个版本,后面还会不断更新。有需求的朋友可以加入交流群讨论啊!

扫描下方二维码关注微信公众号「逛逛GitHub」,回复「插件交流群」即可进群啦。

img

You might also like...
Owner
null
Markdown language support for IntelliJ IDEA (abandonned).

idea-markdown Markdown language support for IntelliJ IDEA, RubyMine, PhpStorm, WebStorm, PyCharm, AppCode and Android Studio. This plugin is no more m

null 602 Dec 30, 2022
JITWatch plugin for IntelliJ IDEA

JITWatch Plugin for IntelliJ IDEA The plugin can be used to view and analyze HotSpot JIT compilation logs inside IntelliJ IDEA. It uses JITWatch to lo

Dmitry Jemerov 166 Dec 15, 2022
IntelliJ IDEA Community Edition & IntelliJ Platform

IntelliJ IDEA Community Edition These instructions will help you build IntelliJ IDEA Community Edition from source code, which is the basis for Intell

JetBrains 14.8k Jan 7, 2023
Markdown language support for IntelliJ IDEA (abandonned).

idea-markdown Markdown language support for IntelliJ IDEA, RubyMine, PhpStorm, WebStorm, PyCharm, AppCode and Android Studio. This plugin is no more m

null 602 Dec 30, 2022
IntelliJ IDEA and JUnit: Writing, Finding, and Running Tests

IntelliJ IDEA and JUnit: Writing, Finding, and Running Tests ?? Webinar https://blog.jetbrains.com/idea/2021/11/live-stream-recording-intellij-idea-an

Christian Stein 11 Jul 23, 2022
A plugin to help you easily edit Swagger and OpenAPI specification files inside IntelliJ IDEA

Swagger Plugin Swagger Plugin makes it easy to edit Swagger and OpenAPI specification files inside IntelliJ IDEA. You can find it on JetBrains' plugin

Zalando SE 1.1k Dec 15, 2022
An area maximisation game based on the idea of merging convex shapes.

Convex Merger Convex Merger is an area maximisation game based on the idea of merging convex shapes. The goal of the game is to claim as large an area

Roan 10 Dec 15, 2022
Spawn in the nether with a set of items. Made by logwet, designed by k4yfour, idea by Fyroah.

Noverworld Noverworld About Creating your own custom inventory Support FAQ About When you create a new world, you will spawn in the nether at a portal

null 13 Nov 24, 2022
✨LiteFlowX is an idea plugin to increase productivity when using the LiteFlow framework.

LiteFlowX English | 简体中文 LiteFlowX is designed to increase productivity when you use the LiteFlow framework. ?? LiteFlowX Features: Support for LiteFl

码农小易 13 Dec 15, 2022