All posts in Sublime Text 3

SublimeTask for both ST2 and ST3

[Introduction]
Check out this introductory post if you don’t know what is SublimeTask.

[Overview]
There is an issue long long time ago, talking about the support for ST3… yeah, long long time ago… I guess I lost a decent number of users during that period of time , due to my laziness… Sorry, thats’ my bad. But now, since I’ve upgraded to use ST3 myself as well, it’s time to make some changes.

It’s been a long time, without you, my friend, and I’ll tell you all about it when I see you again~

[Upgrade]
After this pull request has been merged (wait a few hours if it’s still not merged), you will be able to upgrade it directly in sublime through “Package Control”. If you’re on ST2, nothing needs to be done, everything will still just work fine.

[Report Issues]
Please feel free to report any issues here: https://github.com/samsonw/SublimeTask/issues

From Sublime Text 2 to Sublime Text 3

首先不要问我为啥还在用sublime text 2,这是个有点历史且形而上学的问题,为此我还特地去查看了 sublimeTask 的initial commit date,发现这个历史已经至少3年了;擦,这时间过得还真叫人无法察觉的快,转眼就是三年,不想说什么时光荏苒岁月如梭物是人非时过境迁,虽然这些词语都他喵的条件反射的直接进入了脑海,既然已经不经过大脑都敲了出来,我也懒得删掉了,就这样吧;

所以本博文可以说是outdated的令人发指,基本没有任何值得分享的必要,放此纯粹是作为个人的一个记录;不过话说回来,也许还真有人比我还out也说不定呢,缘分这东西谁又说的清楚呢呵呵;

ok,让我们闲话少说,直奔主题;

[Install Sublime Text 3]
第一步,没啥好说的,你懂得;唯一值得一提的是如果之前不知道何时装过ST3的话(比如笔者),请更新sublime并把其data目录里的内容删掉,os x下该目录在~/Library/Application\ Support/Sublime\ Text\ 3/,对没有看错,里面东西都清了,重动sublime会重新generate新的data进来;

[Migrate Packages]
如果没有以前一堆精心设置调教过的plugin就没有那么多事,当初ST3刚出来的时候没有第一时间migrate过来的原因也是因为大部分plugin/package都还没migrate好;这一晃三年,大部分critical的plugin肯定已经都完事了,这件事情如今竟然变得如此简单,直接copy所有的package过来……

ST2的Package目录是 ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
相应的,ST3的是 ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/

哦,只有俩个例外,一个是Default,这个copy过来会出错因为毕竟是ST2特有的Core,另外一个是Package Control,这个我们接下来会另外安装;所以finder里面copy的时候全选后专门deselect这俩个目录就行了;这件事如今变得如此轻松是我所始料未及的;
Continue reading →