pombreda / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

Немного изменился формат WebIDE live templates #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
В текущей версии 1.0 Zen Coding при вставке 
любого темплейта все 
переменные игнорируются.

Это происходит потому, что в WebIDE немного 
изменился формат темплейта.
Теперь недостаточно просто указать имя 
переменной. Необходимо также 
добавить ключ <variable> внутрь ветки <template>.

Пример того, как есть сейчас:
----
<template name="pos" value="position:$VALUE$;$END$" description="position:
[...]" toReformat="true" toShortenFQNames="true">
  <context>
    ...
----

Пример того, как должно быть:
----
<template name="pos" value="position:$VALUE$;$END$" description="position:
[...]" toReformat="true" toShortenFQNames="true">
  <variable name="VALUE" expression="" defaultValue="" 
alwaysStopAt="true" />
  <context>
    ...
----

Original issue reported on code.google.com by quall...@gmail.com on 26 Nov 2009 at 11:59

GoogleCodeExporter commented 9 years ago
WebIDE has its own Zen Coding implementation now.

Original comment by serge....@gmail.com on 26 Apr 2010 at 4:21