以降、自宅での同一環境構築のためのメモとします。
私は最近、ネットビーンズ利用なので、↓からorg-lorenzos-zencoding-0.8.nbmを拾います
https://github.com/lorenzos/ZenCodingNetBeansPlugin#readme
コレを下記のフォルダに突っ込んでみる
(別に任意でいいみたいですが、プラグイン設定のデフォルトなので。)
C:\Users\milmil\.netbeans\6.9
で、DLサイトの指示に従い↓な感じですすめ、最後にIDEを再起動します。
以後本家のコピー。
Installation
|
で、使い方は、
How to useExpand abbreviation: Fill a HTML/CSS code line with Zen syntax, then press Match Pair: Just press
Wrap with Abbreviation: Select something, press
Merge Lines: Select multiple lines, then press
Also available in the Edit > Zen Coding menu: Remove Tag, Split/Join Tag, Toggle Comment, Evaluate Math Expression, Go to Next Edit Point and Go to Previous Edit Point. These actions have not a default keyboard shortcut. You can edit NetBeans shortcuts in Tools > Options > Keymap. |
という感じ。
ためしに、table+って入力、「CTRL+ALT+N」って叩いてみたら
1呼吸置いて、ニュって
<table> <tr> <td></td> </tr> </table> |
↑が沸いて爆笑しました。
◆NetBeansへのInstall参考サイト
(配布ファイルがzipだったり、少々設定方法などが違います)
■Netbeans(windows環境)にZen-Codingを導入
http://blog.mizoshiri.com/archives/863
■NetBeansでzen-coding
http://c-brains.jp/blog/wsg/10/03/02-100937.php