前言

This is a work timer.It can set every working period to remind you that it's time to have a rest, drink some water and exercise your body. Only in this way can you really work healthily

  1. In the tools menu bar, open stopcoding.
  2. Set working hours and rest time, and save them.
  3. When the set time comes, there will be a pop-up box to remind you to rest, so that you can not operate idea temporarily.

如果你也经常沉迷于写代码,忘了起身休息喝水,那么试试这个插件吧

  1. 在菜单栏的Tools中,打开StopCoding插件进行设置
  2. 设置工作时间和休息时间,并且保存
  3. 当设置的时间一到,就会有弹框提醒你休息,让你暂时不能操作idea

项目源码地址:https://github.com/jogeen/StopCoding

安装使用教程

1.下载安装插件:Ctrl+Alt+S 搜索 Plugins ,Then 搜索 StopCoding

IDEA Plugins:StopCoding(防沉迷)安装及使用_IDEA教程

2.重启后生效

3.设置休息时间间隔:Tools StopCoding

IDEA Plugins:StopCoding(防沉迷)安装及使用_IDEA_02

IDEA Plugins:StopCoding(防沉迷)安装及使用_IDEA_03

左下角显示插件信息

IDEA Plugins:StopCoding(防沉迷)安装及使用_IDEA_04

 休息时间到时则出现以下弹框,这时不可操作IDEA

IDEA Plugins:StopCoding(防沉迷)安装及使用_IDEA_05

若点击ok,则会提示:现在滚去休息,我会自动关掉的

IDEA Plugins:StopCoding(防沉迷)安装及使用_IDEA_06