Skip to content

Instantly share code, notes, and snippets.

@UweRaabe
Created December 30, 2016 22:44
Show Gist options
  • Save UweRaabe/6e617328ec7e4332256fdf69a8d1b333 to your computer and use it in GitHub Desktop.
Save UweRaabe/6e617328ec7e4332256fdf69a8d1b333 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<codetemplate version="1.0.0" xmlns="http://schemas.borland.com/Delphi/2005/codetemplates">
<template name="array[" invoke="auto">
<description>
sized array declaration
</description>
<author>
Uwe Raabe
</author>
<point name="size">
<hint>
size of array
</hint>
</point>
<point name="type">
<script language="Delphi">
InvokeCodeCompletion;
</script>
<text>
Integer
</text>
<hint>
array element type
</hint>
</point>
<point name="name">
<text>
MyArray
</text>
<hint>
array name
</hint>
</point>
<code language="Delphi" context="decl" delimiter="|"><![CDATA[|name|: array[0..|size|-1] of |type|;|end|]]>
</code>
</template>
</codetemplate>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment