Atom を 1.1.0 から 1.2.0 にアップグレードしたら設定とかパッケージが初期化してしまいました...。カッとなって環境構築メモ。
環境
> apm -v apm 1.4.0 npm 2.13.3 node 0.10.40 python git 1.9.5.github.0 visual studio 2013 > > apm install --check Checking for native build tools done
※初期インストールでは以下が必要。
setx ATOM_NODE_URL http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist /M
Proxy
弊社プロキシ環境なので。
- File > Settings > Open Config Folder
- atom フォルダ下に .apmrc を作成
https-proxy = https://proxy-host:port
ツリー/タブ等のフォントを変更
フォントは 等幅のメイリオ を使っています。
- File > Settings > Open Config Folder
- styles.less
@mainFont: "MeiryoKe_Gothic"; atom-workspace { font-family: @mainFont; } atom-text-editor { font-family: @mainFont; } .tree-view { font-family: @mainFont; } .tooltip { font-family: @mainFont; }
Settings
- Auto Beep : OFF
- Font Family : MeiryoKe_Gothic
- Font Size : 13
- Show Invisibles : ON
Packages
emmetio/emmet-atom
- Settings > Packages > emmet > Settings
- View Code
- emmet/node_modules/emmet/lib/snippets.json
"variables": { "lang": "ja", "locale": "ja-JP", "charset": "UTF-8", "indentation": "\t", "newline": "\n" }, ...
コードの展開を Ctrl-e
にしたいのと Markdown Preview のキーバインドがバッティングしているので設定する。
- Settings > Keybindings > your keymap file
- keymap.cson
'.platform-win32 atom-text-editor, .platform-linux atom-text-editor': 'ctrl-e': 'unset!' 'atom-workspace, atom-workspace atom-text-editor': 'ctrl-shift-M': 'markdown-preview:toggle' 'atom-text-editor:not([mini])': { 'ctrl-shift-M': 'unset!', 'ctrl-e': 'emmet:expand-abbreviation' }
※1.1.0 では Settings のショートカット(Ctrl-,
)がバッティングしていたけど 1.2.0 では大丈夫な模様。
richrace/highlight-line
- Settings > Packages > highlight-line > Settings
- Enable Background Color : ON
richrace/highlight-selected
- Settings > Packages > highlight-selected > Settings
- Highlight Background : ON
atom-minimap/minimap
atom-minimap/minimap-highlight-selected
wpillar/atom-trailing-spaces
atom-community/language-scala
Trickierstinky/language-asp
Themes
kevinsawicki/monokai
追記(2015/11/18)
こんな便利パッケージがあったんですね...。