User-defined languages

Jun 2, 2011 at 7:14 PM

This is an excellent plug-in.  I took the latest release and made a modification that allows you to generate your own language pretty easily using a simple XML format in a text file.  Drop the file in the WLW plug-ins directory and you've got: Python, Delphi, etc...

Any interest?

<?xml version="1.0" encoding="utf-8" ?>
<UserFormat name="ABAP" caseSensitive="false" multiline="true">
  <CommentRegex>(?:".*?(?=\r|\n))|(?:^\*.*?(?=\r|\n))</CommentRegex>
  <StringRegex>(?:'.*?')|(?:`.*?`)</StringRegex>
  <Keywords>ABAP-SOURCE \. ABBREVIATED ABS ABSTRACT ACCEPT ACCEPTING ... (clipped)</Keywords>
  <AttributesRegex></AttributesRegex>
  <ClassRegex></ClassRegex>
  <Preprocessors></Preprocessors>
</UserFormat>