Atom
Atom 是github專門為程序員推出的一個跨平台文本編輯器,具有簡潔和直觀的圖形用戶界面,並有很多有趣的特點:支持CSS,HTML,JavaScript等網頁編程語言。說到這里大家以為我要介紹這款編輯器嗎?NoNoNo,之所以提到它,是因為Atom編輯器有一個炫酷的特效activate-power-mode,像下面這樣:

大家可以看到,插件在我們輸入內容的時候,會出現頁面抖動,多彩氣泡的效果,看起來很炫酷。那么這個源於Atom的插件能否支持其他編輯器呢?答案是必須的啊…
activate-power-mode
我們去activate-power-mode的github轉轉https://github.com/ViceFantasyPlace/activate-power-mode
編輯器 | Github地址 |
---|---|
Atom | https://github.com/JoelBesada/activate-power-mode |
Brackets | https://github.com/Equals182/brackets-power-mode |
Codemirror | https://github.com/chinchang/code-blast-codemirror |
HyperTerm | https://github.com/zeit/hyperpower |
IDEA/Pycharm | https://github.com/ViceFantasyPlace/activate-power-mode https://github.com/axaluss/power-mode-intellij-plugin (https://plugins.jetbrains.com/plugin/8251) |
JavaScript | https://github.com/disjukr/activate-power-mode https://github.com/itszero/rage-power |
VIM | https://github.com/mattn/vim-particle |
Visual Studio | https://github.com/LiamMorrow/Visual-Studio-Power-Mode https://github.com/BigEggTools/PowerMode |
Visual Studio Code | https://github.com/hoovercj/vscode-power-mode |
Windows | https://github.com/if1live/ParticleOnTextCursor |
XCode | https://github.com/poboke/ActivatePowerMode https://github.com/qfish/XActivatePowerMode https://github.com/Dawn-/CoderPower |
這是一個關於activate-power-mode的擴展地址集合,可以看到在很多的編輯器或者平台中都可以進行該插件的移至。其中針對Python的編輯器中,Visual Studio Code和Pycharm使用率較高,而我一直鍾愛Pycharm。今天就為大家
插件詳細介紹
這里說句題外話,JetBrains是一家捷克的軟件開發公司,該公司位於捷克的布拉格,一個很聰明的軟件公司。最早他們只是開發了Java的編輯器IDEA,但隨着大眾對他們軟件的認可,這群老伙計干(喪)得(心)漂(病)亮(狂)的在IDEA的基礎上,移至了類似Pycharm、PhpStorm、WebStrom、GoLand、RubyMine等等一些列的連鎖工具。但不得不說,公司在做編輯器的路上確實很用心…
插件下載
首先我們按照插件地址訪問https://github.com/ViceFantasyPlace/activate-power-mode:

點擊方框內的直接在release下載插件,選擇最新的V0.1.8版本進行下載

插件安裝
在IDEA或者PyCharm中添加插件,具體步驟:File -> settings -> Plugins -> Install plugin from disk -> 選擇插件地址安裝

由於pycharm版本的差異,老版本的pycharmInstall plugin from disk按鈕在Plugins的右下角,2019版的收縮在齒輪內部了,無傷大雅。安裝完成后,pycharm會提示重啟,點擊確定重啟后,就可以開始裝13之旅了!
插件設置
我們在pycharm頂層Window欄可以看到activate-power-mode的相關選項:



這里要注意一點,combo特效和例子效果只能二者選一,因人而異。
效果展示
簡單為大家展示下插件的效果,如果想低調一些,可以取消抖動效果:

The End
OK,今天的內容就到這里,如果覺得內容對你有所幫助,歡迎點贊。 期待你關注我的公眾號,如果覺得不錯,希望能動動手指轉發給你身邊的朋友們。
作者:清風Python