Force.com IDE Code templates for Visualforce
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="html_attribute_value" deleted="false" description="" enabled="true" name="$ObjectType.Account.Fields.Name.Label">$$ObjectType.Account.Fields.Name.Label | |
</template><template autoinsert="true" context="html_attribute_value" deleted="false" description="" enabled="true" name="$ObjectType.Contact.accessible">$$ObjectType.Contact.accessible</template><template autoinsert="true" context="html_attribute_value" deleted="false" description="" enabled="true" name="$ObjectType.SobjectName.Label">$$ObjectType.Account.label</template><template autoinsert="true" context="html_tag" deleted="false" description="" enabled="true" name="apex:form"><apex:form id="formid"> | |
${line_selection} | |
</apex:form></template><template autoinsert="true" context="html_tag" deleted="false" description="" enabled="true" name="apex:pageBlock"><apex:pageBlock title="My Content" mode="edit"> | |
<apex:pageBlockButtons> | |
<apex:commandButton action="{!save}" value="Save"/> | |
</apex:pageBlockButtons> | |
<apex:pageBlockSection title="My Content Section" columns="2"> | |
<apex:inputField value="{!account.name}"/> | |
<apex:inputField value="{!account.site}"/> | |
<apex:inputField value="{!account.type}"/> | |
<apex:inputField value="{!account.accountNumber}"/> | |
</apex:pageBlockSection> | |
</apex:pageBlock></template><template autoinsert="true" context="html_tag" deleted="false" description="" enabled="true" name="apex:pageBlockButtons"><apex:pageBlockButtons> | |
<apex:commandButton action="{!save}" value="Save"/> | |
</apex:pageBlockButtons></template><template autoinsert="true" context="html_tag" deleted="false" description="" enabled="true" name="apex:pageBlockSectionItem"> <apex:pageBlockSectionItem> | |
<apex:outputLabel value="Account Name" for="account__name"/> | |
<apex:inputText value="{!account.name}" id="account__name"/> | |
</apex:pageBlockSectionItem></template><template autoinsert="true" context="html_tag" deleted="false" description="" enabled="true" name="apex:pageBlockTable"><apex:pageBlockTable value="{!account.Contacts}" var="item"> | |
<apex:column value="{!item.name}"/> | |
</apex:pageBlockTable> </template><template autoinsert="true" context="html_tag" deleted="false" description="" enabled="true" name="apex:panelGrid"> <apex:panelGrid columns="3" id="theGrid"> | |
<apex:outputText value="First" id="theFirst"/> | |
<apex:outputText value="Second" id="theSecond"/> | |
<apex:panelGroup id="theGroup"> | |
<apex:outputText value="Third" id="theThird"/> | |
<apex:outputText value="Fourth" id="theFourth"/> | |
</apex:panelGroup> | |
</apex:panelGrid></template><template autoinsert="true" context="html_tag" deleted="false" description="" enabled="true" name="apex:sectionHeader"><apex:sectionHeader title="Title" subtitle="SubTitle" /></template></templates> |
This comment has been minimized.
This comment has been minimized.
I wonder if we could get an XML or JSON structured document of all VF Sytax (and properties) and write a program to parse through it and create the appropriate template for consumption in Eclipse? I could ask one of the VF Dev's if they have an XSD or something if you might have time to collaborate on this. |
This comment has been minimized.
This comment has been minimized.
That would be awesome to have that XSD from VF dev team, Eclipse would be more fun with complete set of VF tags. I can for sure spare time to do convert it to compatible form. |
This comment has been minimized.
This comment has been minimized.
Superb! I will see what I can do to get setup with a syntax lib
Thanks. butters.
…On Dec 30, 2011, at 10:49 PM, Abhinav ***@***.*** wrote:
That would be awesome to have that XSD from VF dev team, Eclipse would be more fun with complete set of VF tags. I can for sure spare time to do convert it to compatible form.
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1278993
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
For more details about this gist, please check this blog post : http://www.tgerm.com/2011/10/visualforce-templates-snippets-forcecom.html