发布于 2015-12-10 06:53:55 | 1238 次阅读 | 评论: 1 | 来源: PHPERZ
这里有新鲜出炉的Sublime Text教程,程序狗速度看过来!
Sublime Text 代码编辑器
Sublime Text 是一个代码编辑器(Sublime Text 2是收费软件,但可以无限期试用),也是HTML和散文先进的文本编辑器。Sublime Text是由程序员Jon Skinner于2008年1月份所开发出来,它最初被设计为一个具有丰富扩展功能的Vim。
以下解决办法来自:stack overflowSublime Text 2 - There are no packages available for installation
So many Sublime Text 2 users get error (or) no action when they want to install any sublime text 2 package @via Package Control.
When I'm clicked on Package Control: Install Package from Ctrl+Shift+P.
I got this below error:
There are no packages available for installation
获取 sublime.wbond.net 的 IPv4 地址;
在终端中运行该代码:dig @{DNS} -t A sublime.wbond.net +noall +answer
({DNS}替换成你的DNS)
输出结果类似这样:
; <<>> DiG 9.9.5-3-Ubuntu <<>> @8.8.8.8 -t A sublime.wbond.net +noall +answer
; (1 server found)
;; global options: +cmd
sublime.wbond.net. 82 IN A 50.116.34.243
IPv4 地址就是:50.116.34.243
把该地址添加到 hosts 文件内;
打开 /etc/hosts 文件;
以 {IPv4 address} sublime.wbond.net
格式添加到 hosts 文件内({IPv4 address}替换成 IPv4 地址)
大功告成
Step 1:
Get IPv4 address of sublime.wbond.net
Try this command line on terminal ping sublime.wbond.net
Now you can get IPv4 address of sublime.wbond.net.
Step 2:
Now open hosts file from C:\Windows\system32\drivers\etc\ folder and add this line (replcae {IPv4 address})
{IPv4 address} sublime.wbond.net.
All is ok. Let's play with Package controller.