言語別の拡張というよりは、Sublime Text 2をもっと使いやすくする系のパッケージ。
※各プラグインのショートカットがうまく動かないときは、日本語入力のショートカットとバッティングしてないか見てみるといいかも。
Sublime Text 上でコピーしたもののクリップボード管理。
{ | |
"files": | |
{ | |
"Chart.js": "https://github.com/nnnick/Chart.js", | |
"Modernizr.js": "http://modernizr.com/downloads/modernizr-latest.js", | |
"Normalize.css 1.x": "https://github.com/necolas/normalize.css/blob/v1.1.3/normalize.css", | |
"Normalize.css 2.x": "https://github.com/necolas/normalize.css/blob/v2.1.3/normalize.css", | |
"Normalize.css 3.x": "https://raw.githubusercontent.com/necolas/normalize.css/master/normalize.css", | |
"Respond.js": "https://github.com/scottjehl/Respond/blob/master/dest/respond.min.js", | |
"Sanitize.css": "https://raw.github.com/ZDroid/sanitize.css/master/sanitize.css", |
{ | |
"caret_style": "blink", | |
"color_scheme": "Packages/Theme - Refined/Color Schemes/Tomorrow Night Refined.tmTheme", | |
"font_face": "フォント名", | |
"font_size": 12.0, | |
"ignored_packages": | |
[ | |
"パッケージ名" | |
], | |
"tab_completion": true, |
I'm having trouble understanding the benefit of require.js. Can you help me out? I imagine other developers have a similar interest.
From Require.js - Why AMD:
The AMD format comes from wanting a module format that was better than today's "write a bunch of script tags with implicit dependencies that you have to manually order"
I don't quite understand why this methodology is so bad. The difficult part is that you have to manually order dependencies. But the benefit is that you don't have an additional layer of abstraction.
requirejs.config({ | |
baseUrl: '/js', | |
paths: { | |
jquery: ['//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min','jquery.min'], | |
bootstrap: 'bootstrap.min' | |
}, | |
shim: { | |
'bootstrap':{deps: ['jquery']} | |
} | |
}); |
[Mint][1]はSwift Package Managerで作成したコマンドラインツールのインストール、実行、配布を簡単にすることを目的としたツールです。 Homebrewでのformula管理の煩わしさの無さ、同一コマンドをバージョン指定で実行可能というところが売りのようです。
ここでは簡単なコマンドラインツールをSwift Package Managerで作成し、Mintで実行する流れを確認します。 SPMでCLIツールを作る手順を既に知ってる場合は「Mintをインストール」から確認するとよいでしょう。