That’s right, the jetbrains-agent project is discontinued. The various latest that are flying around the market are the magic versions of other gods. /slanting eyes]
I’m not going to write a blog post to say that the jetbrains-agent project has been discontinued and then lament about it. This post is to talk to you about another way of thinking.
0x0. Project background
Jetbrains has a very conscientious product that allows you to try it for 30 days (this number is written dead in the code) to evaluate if you really need to pay for it.
But there is a situation where the IDE doesn’t work for the amount of time we actually tried it.
Let me give you an example: if we start a trial and then your daughter-in-law has a baby and wants you back for the birth! We don’t have time to evaluate the IDE trial while we are with her, it still counts as trial time. (Just an example, maybe you don’t have a girlfriend)
Found out? You don’t really have 30 days to do a full evaluation of the trial, and you can’t even make a decision about whether to pay for it. At this point you’ll want to extend your trial, but Jetbrains doesn’t offer a feature for that, so what do you do?
There is actually a plugin that does this, and you may be able to use it to reset the trial time. But don’t keep trying endlessly, that’s not the intention of this plugin!
0x1. How to install
1). Plugin Marketplace installation.
In Settings/Preferences... -> Plugins
and manually add the third-party plugin repository address: https://plugins.zhile.io
Search for: IDE Eval Reset
plugin to install. If you can’t find it, please note whether you have done the previous step. Is the network clear?
The plug-in will prompt for successful installation.
2). Download and install.
Click this link (v2.1.14) to download the zip package of the plugin (macOS may unzip it automatically and then throw the zip package into the recycle bin)
You can usually drag the zip package directly into the IDE window to install the plugin. If you can’t drag and drop, you can install it manually in Settings/Preferences... -> Plugins
. -> Pluginsto manually install the plugins
(Install Plugin From Disk…) `
The plugin will prompt for successful installation.
0x2. How it works
Generally, when the IDE window is cut out or cut back (window loses/gets focus) it will trigger an event to detect if it has not been reset for a long time (25 days) and give a notification for you to choose. (The initial installation will give a direct prompt because the last reset time is not available)
You can also manually evoke the main interface of the plug-in.
If the IDE does not open the project, click on the menu in the Welcome screen: Get Help -> Eval Reset
.
If the IDE has opened the project, click on the menu: `Help -> Eval Reset
The main interface of the plug-in that comes up contains some display information, 2 buttons and 1 checkbox.
Button: Reload
is used to refresh the display information on the interface.
Button: Reset
will ask if you want to reset the trial information and restart the IDE, select Yes to perform the reset and restart the IDE to take effect, select No to do nothing. (This is the manual reset method)
Check box: Auto reset before per restart
If checked, the trial information will be reset automatically every time you restart/exit the IDE after checking, you don’t need to do anything extra. (This is the automatic reset method)
0x3. How to update
1). Plugin update mechanism (recommended).
IDE will detect its own and installed plug-ins’ updates by itself and give a prompt. If there is an update to this plugin, you will be prompted to see the update log and choose whether to update it yourself.
Click the IDE’s Check for Updates...
menu to manually check for updates to the IDE and the installed plug-in. If there is an update to this plugin, you will be prompted to see the update log and choose whether to update it yourself.
Plugin updates may require restarting the IDE.
2). Manual update.
Download the latest plug-in zip package from this page to install the update. Refer to this article: Download and Install subsection.
Plugin updates require restarting the IDE.
0x4. Some notes
This plugin does not display its main interface by default, if you need it, refer to this article: How to use subsection.
The trial information of the Marketplace paid plugins will be reset along with it.
There are two versions of the MyBatisCodeHelperPro plugin as follows, with exactly the same functionality, so look out for them when installing!
MyBatisCodeHelperPro (Marketplace Edition), resettable!
MyBatisCodeHelperPro, not resettable!
For some paid plugins (e.g. Iedis 2, MinBatis), you may need to remove the javaagent configuration (if any) and restart the IDE.
If the IDE does not open the project, click on the menu in the Welcome screen: Configure -> Edit Custom VM Options... -> Remove the line starting with -javaagent:
.
If the IDE opens the project, click on the menu: Help -> Edit Custom VM Options... -> Remove -javaagent:
. -> Remove the line starting with -javaagent:.
The reset requires a restart of the IDE to take effect!
The reset does not bring up the Licenses dialog for you to enter a License or Trial, unlike the previous reset script/plugin (save this annoying step).
If there is no reset for up to 25 days, the IDE will ask you if you want to reset.
If: Auto reset before per restart
is checked, the reset is silent and unaware.
In short: if Auto reset before per restart
is checked, you don’t have to worry about it anymore.
The plugin is a study and research project and the source code is open source. Source code repository address: Gitee
If you have better ideas, feel free to give me a Pull Request to work together to improve.
Plugin source code using: GPL-2.0 open source license release.
Plugin written in PHP, after all, PHP is the world’s best programming language!
0x6. Supported products
IntelliJ IDEA
AppCode
CLion
DataGrip
GoLand
PhpStorm
PyCharm
Rider
RubyMine
WebStorm
0x7. Frequently Asked Questions.
✓ Q: Do I need to uninstall the old version?
✓ A: Normally it is not necessary, if there is an exception after installation, it is recommended to use App Cleaner & Uninstaller Pro to uninstall it cleanly Re-install and activate.
✓ Q: How to set Chinese?
✓ A: Click IntelliJ IDEA
in the menu bar (the actual name of the installed application shall prevail), then click Preferences...
to open the software preferences, click Plugins
in the left navigation, and enter English
in the Type/to see options
on the right side. Enter chinese
, find Chinese (Simplified) Language
and click Install
, click Restart IDE
after the installation is finished.
✓ Q: What should I do if the activation is not successful?
✓ A: If you have added 0.0.0.0 account.JetBrains.com
and 0.0.0.0 www.JetBrains.com
in the hosts before, please delete them, and edit the hosts by yourself.
✓ Q: Can I use the Windows version?
✓ A: Yes! download address