Home Download Buy Blog Forum Support

Auto Complete + Snippet + Attributes PHP

Auto Complete + Snippet + Attributes PHP

Postby patrickmaciel on Sat Dec 24, 2011 11:44 am

Hello, what's up?

In this code:
Code: Select all
         <div class="clearfix">
            <?php echo $this->Form->label('usuario_id', 'Usuário') ?>
            <div class="input ">
               <?php echo $this->Form->input('usuario_id', array('type' => 'textarea', 'class' => 'span16')) ?>
            </div>
         </div>


When I try expand move to next edit area (next is span16 - because this is generate by snippet (ST2))....

snippet
Code: Select all
<div class="clearfix">
   <?php echo \$this->Form->label('${1:atributo}', '${2:label}') ?>
   <div class="input ${3:classe}">
      <?php echo \$this->Form->input('${1:atributo}', array('type' => '${4:textarea}', 'class' => '${5:span16}')) ?>
   </div>
</div>


ST2 generate this for me (and not move to the next change area):
textarea + Tab = 'xml_set_external_entity_ref_handler(parser, handler)'
Code: Select all
         <div class="clearfix">
            <?php echo $this->Form->label('usuario_id', 'Usuário') ?>
            <div class="input ">
               <?php echo $this->Form->input('usuario_id', array('type' => 'xml_set_external_entity_ref_handler(parser, handler)', 'class' => 'span16')) ?>
            </div>
         </div>
patrickmaciel
 
Posts: 16
Joined: Tue Nov 22, 2011 7:20 pm

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 20 guests