Wednesday, January 06, 2010

Drools syntax highlightning in IntelliJ

I tried to include my version of the IntelliJ IDEA filtype configuration in a comment at Danilo Gurovich blog without success, but here it is:

 <?xml version="1.0" encoding="UTF-8"?> 
<filetype binary="false" default_extension="" description="Drools" name="Drools">
<highlighting>
<options>
<option name="LINE_COMMENT" value="#" />
<option name="COMMENT_START" value="/*" />
<option name="COMMENT_END" value="*/" />
<option name="HEX_PREFIX" value="" />
<option name="NUM_POSTFIXES" value="" />
<option name="HAS_BRACKETS" value="true" />
<option name="HAS_BRACES" value="true" />
<option name="HAS_PARENS" value="true" />
<option name="HAS_STRING_ESCAPES" value="false" />
</options>
<keywords ignore_case="false">
<keyword name="accumulate" />
<keyword name="collect" />
<keyword name="comment" />
<keyword name="end" />
<keyword name="eval" />
<keyword name="exists" />
<keyword name="forall" />
<keyword name="from" />
<keyword name="function" />
<keyword name="global" />
<keyword name="import" />
<keyword name="package" />
<keyword name="rule" />
<keyword name="then" />
<keyword name="when" />
</keywords>
<keywords2>
<keyword name="!=" />
<keyword name=":" />
<keyword name="&lt;" />
<keyword name="&lt;=" />
<keyword name="==" />
<keyword name="&gt;" />
<keyword name="&gt;=" />
<keyword name="and" />
<keyword name="contains" />
<keyword name="in" />
<keyword name="matches" />
<keyword name="memberof" />
<keyword name="not" />
<keyword name="or" />
</keywords2>
<keywords3>
<keyword name="inserLogical" />
<keyword name="insert" />
<keyword name="retract" />
<keyword name="update" />
</keywords3>
<keywords4>
<keyword name="activation-group" />
<keyword name="agenda-group" />
<keyword name="auto-focus" />
<keyword name="date-effective" />
<keyword name="date-expires" />
<keyword name="dialect" />
<keyword name="duration" />
<keyword name="lock-on-active" />
<keyword name="no-loop" />
<keyword name="salience" />
</keywords4>
</highlighting>
<extensionMap>
<mapping ext="drl" />
<mapping ext="rule" />
</extensionMap>
</filetype>

I'm back!

Wow! It have been almost 4 years since the last time I wrote a post on this blog, but I guess nobody really noticed that I have been away? :-)

Nothing much has really changed since the last time I was “here”. We have moved to a new house, been on a holiday in Thailand, Florida and Sardinia, Italy, which all was really great.

I have been on three different projects in the last four years, but now I'm back at the same client as last time. I haven't been coding much Ruby lately because I discovered Objective-C and iPhone programming which is great fun. I also went to the WWDC2009, and I have to say that this was the best developer conference I ever attended. I’m going back go this year as well…


See you soon!