FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Code Templates For RHTML

DescriptionTriggerCode
Hash Pair :key => "value" :
:${1 default="key"} => "${2 default="value"}"${4 default=", "}
<% for ... in ... %>, <% end %> for
<% for ${0 default="f"} in ${1 default="@field"} %>
${selection line}${cursor}
<% end %>
form_tag ft
<%= form_tag :action => "${1 default="update"}" %>
=> l
=>
link_to (action) lia
<%= link_to "${1 default="link text..."}", :action => "${2 default="index"}" %>
link_to (action, id) liai
<%= link_to "${1 default="link text..."}", :action => "${2 default="edit"}", :id => ${3 default="@item"} %>
link_to (controller) lic
<%= link_to "${1 default="link text..."}", :controller => "${2 default="items"}" %>
link_to (controller, action) lica
<%= link_to "${1 default="link text..."}", :controller => "${2 default="items"}", :action => "${3 default="index"}" %>
link_to (controller, action, id) licai
<%= link_to "${1 default="link text..."}", :controller => "${2 default="items"}", :action => "${3 default="edit"}", :id => ${4 default="@item"} %>
<% rubycode %> r
<% ${cursor} %>
<%= expression %> re
<%= ${cursor} %>
table
<table border="1">
<tr>
<td>
</td>
</tr>
</table>
<td>...</td> td
<td>${cursor}</td>
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Open ESB - The Open Enterprise Service Bus Powered by