activate-power-mode 写代码的时候体验狂拽酷炫的效果 (IntelliJ IDEA版安装过程及问题)「建议收藏」

activate-power-mode 写代码的时候体验狂拽酷炫的效果 (IntelliJ IDEA版安装过程及问题)「建议收藏」初遇activate-power-mode前一段时间在微信上看到朋友发的这个插件,就收藏了,一直没试试,今天兴致一来突然想起来这么一出,就试试这是微信原文:写个HelloWord而已,要不要这么震撼?!atom上的一个插件,可以让你写代码的时候体验狂拽酷炫的效果这货全名叫activate-power-modeatompackage最新版0.3.2

大家好,又见面了,我是你们的朋友全栈君。

初遇activate-power-mode

2018更新 power-mode 写代码的时候体验狂拽酷炫的效果 (Visual Studio Code版安装)#2


前一段时间在微信上看到朋友发的这个插件,就收藏了,一直没试试,今天兴致一来突然想起来这么一出,就试试

这是微信原文:

写个Hello Word 而已,要不要这么震撼?!
atom上的一个插件,可以让你写代码的时候体验狂拽酷炫的效果
这里写图片描述
这货全名叫
activate-power-mode atom package
最新版0.3.2还在继续更新,喜欢就去下载吧
Gitub页面链接
https://github.com/codeinthedark/editor/pull/1
感受一下
这里写图片描述



支持的环境

上github一看,已经支持很多ide了,https://github.com/codeinthedark/awesome-power-mode

Awesome Power Mode
A curated list of power modes as popularized in https://github.com/codeinthedark/editor/pull/1 by @JoelBesada.
Atom https://github.com/JoelBesada/activate-power-mode
Brackets https://github.com/Equals182/brackets-power-mode
Codemirror https://github.com/chinchang/code-blast-codemirror
IDEA https://github.com/ViceFantasyPlace/activate-power-mode
JavaScript https://github.com/disjukr/activate-power-mode
VIM https://github.com/mattn/vim-particle
Visual Studio https://github.com/LiamMorrow/Visual-Studio-Power-Mode
Windows https://github.com/if1live/ParticleOnTextCursor
XCode https://github.com/poboke/ActivatePowerMode
https://github.com/qfish/XActivatePowerMode
https://github.com/Dawn-/CoderPower

安装IDEA版

step1 安装插件

只是安装插件的话,只要下载jar包,然后选Preferences -> Plugins -> Install pliugin form disk -> 找到刚才下载的jar包-> OK -> restart IDEA 就好了
这里写图片描述


step2 IDEA重启时报错:Unsupported major.minor version 52.0

Plugin ‘com.jiyuanime.ActivatePowerModeApplicationPlugin’ failed to initialize and will be disabled. Please restart IntelliJ IDEA.

com.intellij.diagnostic.PluginException: com/jiyuanime/ActivatePowerModeApplicationPlugin : Unsupported major.minor version 52.0 [Plugin: com.jiyuanime.ActivatePowerModeApplicationPlugin]
at com.intellij.ide.plugins.cl.PluginClassLoader.b(PluginClassLoader.java:130)
at com.intellij.ide.plugins.cl.PluginClassLoader.a(PluginClassLoader.java:77)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:66)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
…….

我的环境:

  • Platform: mac os x
  • IntelliJ Version: 14.1.4 Ultimate
  • JDK: java version “1.7.0_79”

在github #issue上得到帮助,后来发现是jdk版本问题:

  • jdk开发时的版本和运行时的版本不一致 会报 Unsupported major.minor version 52.0

解决方法:

  • 又下载了jdk1.8,并安装。(我想同时保有多个jdk环境,如果没这个考虑,升级一下原来的也可以)
  • File -> project structure -> SDKs -> add JDK -> 选安装的jdk1.8所在路径 -> 选刚配的jdk1.8 -> apply
  • 这里写图片描述
  • 重新进行step1 然后成功!!!

如果只是要用下这个插件,到这就可以结束了

step3 下载activate-power-mode 源码并编译

  1. 下载源码
    bash git clone https://github.com/ViceFantasyPlace/activate-power-mode.git
  2. 如果是下载那个源码自己编译的话,需要装IDEA的SDK
    File -> project structure -> SDKs -> add IntelliJ Platform Plugin SDK -> 选jdk1.8 -> apply这里写图片描述

  3. 一定要注意:第一次运行如果没有运行配置需要创建一个Plugin Configuration
    Edit Run/Debug Configurations -> add a new Plugin Configuration
    -> 在 Use classpath of module 选择 activate-power-mode
    -> Apply

555
666

  1. 选择刚配置的activate-power-mode进行编译,如果没有出现 error 则编译成功。
  2. 生成插件 jar 安装包
    选择 Build -> Prepare Plugin module … For Deployment 将会生成一个activate-power-mode.jar 的文件在项目根目录下,这样就生成自己的activate-power-mode.jar包了,然后就可以给别人,让别人跟step1一样的步骤安装了
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/159023.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 感谢 Gridea,让我有动力写作

    感谢 Gridea,让我有动力写作1.真的要感谢Gridea,让我对写作产生热忱。一直有在各大博客平台输出的习惯,但是都没有持续更新。有的平台广告太多,写不下去。有的平台排版复杂,写文章1个小时,排版要2个小时。所以后面换成了静态

    2022年8月3日
    11
  • intellij idea乱码怎么办(乱码)

    1.首先是编辑器的乱码,这个很好解决,file->settings->appearence里面有个Name设置成支持中文的字体(这个很重要)同样还要再settings中的Eidtor->FileEncodings里面设置字体编码格式,一般都是UTF-8,GBK什么的也行。2.找到idea安装目录bin目录下如下图所示两个文件,用编辑器打开,在文件末尾添加-Dfile.encoding=UTF-

    2022年4月16日
    786
  • idea2012.2 激活码-激活码分享

    (idea2012.2 激活码)本文适用于JetBrains家族所有ide,包括IntelliJidea,phpstorm,webstorm,pycharm,datagrip等。https://javaforall.net/100143.htmlIntelliJ2021最新激活注册码,破解教程可免费永久激活,亲测有效,上面是详细链接哦~D…

    2022年3月26日
    106
  • idea2021mac激活码[免费获取]「建议收藏」

    (idea2021mac激活码)好多小伙伴总是说激活码老是失效,太麻烦,关注/收藏全栈君太难教程,2021永久激活的方法等着你。https://javaforall.net/100143.htmlIntelliJ2021最新激活注册码,破解教程可免费永久激活,亲测有效,上面是详细链接哦~MLZPB5EL5Q-eyJsaWNlbnNlSWQiOi…

    2022年3月21日
    160
  • Idea主题风格插件Material Theme

    Idea主题风格插件Material Theme目录1idea插件material-theme设置2下载主题风格jar直接使用设置1idea插件material-theme偶然发现一款“暗黑系列”idea主题插件,感觉非常不错,分享一下~github:https://github.com/equinusocio/material-themeplugins安装完重启idea设置切换主题Edi…

    2022年6月27日
    43
  • idea2021.9 激活码[最新免费获取]

    (idea2021.9 激活码)最近有小伙伴私信我,问我这边有没有免费的intellijIdea的激活码,然后我将全栈君台教程分享给他了。激活成功之后他一直表示感谢,哈哈~IntelliJ2021最新激活注册码,破解教程可免费永久激活,亲测有效,下面是详细链接哦~https://javaforall.net/100143.html83…

    2022年3月27日
    72

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号