Atom中手动安装activate-power-mode

本文详细介绍如何在Atom编辑器中手动安装并配置activate-power-mode插件,包括下载源码、使用npm及apm安装依赖、调整文件夹名称及路径等步骤。

Atom中手动安装activate-power-mode

 插件下载地址:

https://github.com/JoelBesada/activate-power-mode/tree/master

 

 

D:\RE\nodejs\activate-power-mode-master>apm install

 

gyp info it worked if it ends with ok

gyp info using node-gyp@2.0.2

gyp info using node@0.10.40 | win32 | ia32

gyp http GET https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz

gyp WARN install got an error, rolling back install

gyp

 

D:\RE\nodejs\activate-power-mode-master>npm install

lodash.random@3.1.2 node_modules\lodash.random

 

lodash.throttle@3.0.4 node_modules\lodash.throttle

└── lodash.debounce@3.1.1 (lodash._getnative@3.9.1)

 

D:\RE\nodejs\activate-power-mode-master>apm install

 

gyp info it worked if it ends with ok

gyp info using node-gyp@2.0.2

gyp info using node@0.10.40 | win32 | ia32

gyp http GET https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz

gyp http 200 https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz

gyp http GET https://atom.io/download/atom-shell/v0.34.5/SHASUMS256.txt

gyp http GET https://atom.io/download/atom-shell/v0.34.5/node.lib

gyp http GET https://atom.io/download/atom-shell/v0.34.5/x64/node.lib

gyp http 200 https://atom.io/download/atom-shell/v0.34.5/node.lib

gyp http 200 https://atom.io/download/atom-shell/v0.34.5/x64/node.lib

gyp http 404 https://atom.io/download/atom-shell/v0.34.5/SHASUMS256.txt

gyp WARN install got an error, rolling back install

gyp

D:\RE\nodejs\activate-power-mode-master>npm install

我又装了一遍,突然好了大笑

D:\RE\nodejs\activate-power-mode-master>apm install

Installing modules done

D:\RE\nodejs\activate-power-mode-master>

 

 

把文件拷贝到:

~\.atom\packages 目录下

 

我改一下文件夹名称activate-power-mode-master  -->  activate-power-mode

进入该目录~/.atom/packages/activate-power-mode/

 

我又装了一遍

npm install

apm install

npm link

npm ls

apm ls

看到如下结果:

~\.atom\packages (1)

└── activate-power-mode@0.4.1

 

应该没问题了

 

打开atom软件

Ctrl+Shift+P

在软件的命令行中输入window:Reload

然后使用Ctrl+Alt+O(字母O不是数字0) 激活这个特效(关闭也用这个快捷键,如果使用该快捷键只能打开文件夹选择框,说明没有安装好。)

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值