截至3月16号,发现方法一有时候能行有时候不行,用方法二的注册码,干净利落。
0. 先下载压缩包解压后得到jetbrains-agent.jar,把它放到C:\Program Files\JetBrains\PhpStorm 2019.2.3\bin\文件夹内。修改hosts文件在C:\Windows\System32\drivers\etc
下,将hosts文件复制到桌面,接着用文本编辑器打开,在末尾添加
0.0.0.0 account.jetbrains.com
0.0.0.0 www.jetbrains.com
1. 启动你的IDE,选择:试用(Evaluate for free)进入IDE
2. 点击你要注册的IDE菜单:”Configure” 或 “Help” -> “Edit Custom VM Options …”
如果提示是否要创建文件,请点”Yes”。
3. 在打开的vmoptions编辑窗口末行添加:
-javaagent: C:\Program Files\JetBrains\PhpStorm 2019.2.3\bin\jetbrains-agent.jar
一定要自己确认好路径(不要使用中文路径),填错会导致IDE打不开!最好使用绝对路径。
一个vmoptions内只能有一个-javaagent参数示例如下:
mac: -javaagent:/Users/neo/jetbrains-agent.jar
linux: -javaagent:/home/neo/jetbrains-agent.jar
windows: -javaagent:C:\Program Files\JetBrains\PhpStorm 2019.2.3\bin\jetbrains-agent.jar
如果填错了,打开C:\Users\Admin.PhpStorm2019.2\config路径,修改phpstorm64.exe.vmoptions文件,把刚才加进去的内容删除保存文件。
4. 重启你的IDE。
5. 点击IDE菜单 “Help” -> “Register…” 或 “Configure” -> “Manage License…”
支持两种注册方式:License server 和 Activation code:
1). 选择License server方式,地址填入: https://fls.jetbrains-agent.com/
或者点击按钮:”Discover Server”来自动填充地址。
2). 选择Activation code方式离线激活,请使用一下注册码激活
KQAQV8JJ2P-eyJsaWNlbnNlSWQiOiJLUUFRVjhKSjJQIiwibGljZW5zZWVOYW1lIjoibGl1bWlucXVhbjIwMTAiLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiIiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJJSSIsImZhbGxiYWNrRGF0ZSI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g9smX6coXLgfp0b1RU2u/tUNID04rpNxTMueTtrT8WSskqvaJd3RH8r7cnRj6Y2hltkja82HlpDURDxDTRvv+krbwMr26SB/40BjpMUrDRCeKuiBahC0DCoU/4+ze1l94wVUhdkCfL0GpJrMSCDEK+XEurU18Hb7WT+ThXbkdl6VpFdHsRvqAnhR2g4b+Qzgidmuky5NUZVfEaZqV/g==
如果激活窗口一直弹出(error 1653219),请去hosts文件里移除jetbrains相关的项目
本项目在最新2020.3月测试通过。
理论上适用于目前Jetbrains全系列所有新老版本,IDE升级会从旧版本导入以上设置,导入配置后可能提示未注册(因为刚导入的vmoptions未生效),直接重启IDE即可,无需其他操作。
本项目只做学习研究之用,不得用于商业用途!
另外附上汉化的文件包和使用方法:
将 resources_zh_CN.jar ,放到软件安装路径下的 lib 目录中,重启软件即可
- 注意是 lib 不是 bin
- 不需要重命名,不需要解压,不需要删除任何 jar 包,不会覆盖任何 jar 包
- 软件安装路径的 lib 目录示例 C:\Program Files\JetBrains\PhpStorm 2019.2.3\lib
- 该目录下应该有一个文件: resources_en.jar 如果没有,说明没有找对路径
- MAC 用户请在 Finder > 应用程序 中找到软件,右键 > 显示包内容
- 我的微信
- 这是我的微信扫一扫
- 我的微信公众号
- 我的微信公众号扫一扫