0

私は Zen Coding で notepad++ を使用しています。

新しい略語を追加したい

script:jquery17

次のことを行います

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
4

1 に答える 1

2

Zen Coding の JS バージョン ( https://github.com/sergeche/zen-coding/downloadsまたはhttp://code.google.com/p/zen-coding/downloads/listからダウンロード) の場合は、Zen Coding.jsダウンロードしたアーカイブの NppScripting/includes ディレクトリにあるファイルを開く必要があります。そのzen_settings上に変数があり、利用可能なすべての略語とスニペットを記述し、独自のものを追加します。

Python バージョン ( http://sourceforge.net/projects/npppythonscript/files/zen_settings.pyからダウンロード) を使用している場合は、ファイルを見つける必要があります。

新しい要素とスニペットを追加する方法の詳細については、次のチュートリアルを参照してください: http://coding.smashingmagazine.com/2009/11/21/zen-coding-a-new-way-to-write-html-code/

于 2012-06-08T10:35:59.197 に答える