読者です 読者をやめる 読者になる 読者になる

lxyuma BLOG

開発関係のメモ

sublimetext2にzencoding

zencoding

以下のURLを参考に、sublime
zencodingを入れようとしたら、こんなmessageが出た。


http://memolog.org/2012/05/sublime_text_2_zen_coding.php


Package Control Messages
========================

ZenCoding:

                • -

This Zen Coding plugin is outdated and will never receive
any updates in future. In two weeks the repo will be unpublished.

Consider switching to Emmet -- a re-branded Zen Coding project
packed with new awesome features:

* Dynamic CSS abbreviations, automatic vendor prefixes and gradient generator.
* Better Tab key handler.
* "Lorem Ipsum" generator.
* Implicit tag names.
* JavaScript extensions support.
* New ^ operator.
* Various fixes and improvements.

The new plugin is available in Package Control: just run
"Install Package" command and install "Emmet" plugin. Please remove
or disable current Zen Coding plugin in order to make things work right.

Extensive documentation about all Emmet features is available at http://docs.emmet.io


このプラグイン終わって、Emmet使えって書いてある。

Emmet?

emmet


https://github.com/sergeche/emmet-sublime

http://kojika17.com/2012/09/zen-coding-next-emmet.html


なんか、変わったらしい?

zencodingと同じ順で、emmet入れてみる

Emmet:

        • -

Thank you for installing Emmet -- a toolkit that can greatly improve your workflow. Note that this plugin automatically downloads and installs PyV8 binary (see status bar message).

******************************
Please restart editor
to finish installation process
after PyV8 was downloaded.
******************************

Tab key handler
==========================

By default, Emmet allows you to expand abbreviations with Tab key in HTML, XML, HAML and CSS/SASS/LESS/Stylus documents. As a side effect, you can’t use some of your ST2 snippets.

Please read https://github.com/sergeche/emmet-sublime#tab-key-handler about how Tab handler works and how to tweak its behavior to match your needs.

Enter key
==========================

In HTML and XML documents, Emmet overrides Enter key to insert formatted line breaks between opening and closing tags. In some cases it will break character input (for example, in Japanese language).

To disable Enter key handler, simply add the following option in your user's Preferences file:

"disable_formatted_linebreak": true

Actions shortcuts
==========================

Emmet has a number of actions with keyboard shortcuts that may override ones you're using commonly (for example, Ctrl-E or Ctrl-Down). Please read the project main page to get list of available actions and keyboard shortcuts and how to disable them:
https://github.com/sergeche/emmet-sublime

Documentation and examples:
http://docs.emmet.io

------------------------------
Follow me on Twitter: @emmetio
------------------------------

ざっくり読むと気になる点1点。

enterキーで整形する時に、日本語等あると、文字がおかしくなる事があるそう。

気になる人は、

"disable_formatted_linebreak": true

に設定しろと書いてあるっぽい。



一旦sublimeを終了してから、起動し直すと、

zencoding(っぽいの)使えました。