You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jason Dillon <ja...@planet57.com> on 2008/04/01 13:11:36 UTC

Syntax highligthing for APT sources in IDEA

Anyone know how to do this?

--jason

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Syntax highligthing for APT sources in IDEA

Posted by Dennis Lundberg <de...@apache.org>.
Dennis Lundberg wrote:
> Jason Dillon wrote:
>> Anyone know how to do this?
> 
> I did an IDEA configuration [1] for Velocity files before. Let me see if 
> I can make something useful for apt files...

It seems that the results of using only syntax highlighting is not very 
useful for .apt files.

One needs to implement a custom language plugin [2] for that. Among 
other things it involves creating a lexer (JFlex) and a parser that 
builds an AST. So it looks like a larger project. I'd be interested to 
help out if someone want to have a go at it.


[2] 
http://www.jetbrains.com/idea/plugins/developing_custom_language_plugins.html

> 
> 
> [1] http://wiki.apache.org/velocity/IntelliJSyntaxHighlighting
> 
>>
>> --jason
>>
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Syntax highligthing for APT sources in IDEA

Posted by Dennis Lundberg <de...@apache.org>.
Jason Dillon wrote:
> Anyone know how to do this?

I did an IDEA configuration [1] for Velocity files before. Let me see if 
I can make something useful for apt files...


[1] http://wiki.apache.org/velocity/IntelliJSyntaxHighlighting

> 
> --jason
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Syntax highligthing for APT sources in IDEA

Posted by Vincent Siveton <vi...@gmail.com>.
Hi Jason,

2008/4/1, Jason van Zyl <ja...@maven.org>:
> Are you using the contribution that was contributed long ago? Some guy

Nope since I am not aware about it. Could you give me a pointer?

> implemented an editor for Eclipse. Eugene at one point tried to integrate it
> into m2e but it wasn't quite there.

Not aware too.
Anyway I guess we could merge them.

Cheers,

Vincent

>
>  On 1-Apr-08, at 4:34 AM, Vincent Siveton wrote:
>
> > Hi Jason,
> >
> > Don't know for IDEA but I am trying to do it for Eclipse. See DOXIA-233
> >
> > Cheers,
> >
> > Vincent
> >
> > 2008/4/1, Jason Dillon <ja...@planet57.com>:
> >
> > > Anyone know how to do this?
> > >
> > > --jason
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
>  Thanks,
>
>  Jason
>
>  ----------------------------------------------------------
>  Jason van Zyl
>  Founder,  Apache Maven
>  jason at sonatype dot com
>  ----------------------------------------------------------
>
>  Our achievements speak for themselves. What we have to keep track
>  of are our failures, discouragements and doubts. We tend to forget
>  the past difficulties, the many false starts, and the painful
>  groping. We see our past achievements as the end result of a
>  clean forward thrust, and our present difficulties as
>  signs of decline and decay.
>
>  -- Eric Hoffer, Reflections on the Human Condition
>
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Syntax highligthing for APT sources in IDEA

Posted by Jason van Zyl <ja...@maven.org>.
Are you using the contribution that was contributed long ago? Some guy  
implemented an editor for Eclipse. Eugene at one point tried to  
integrate it into m2e but it wasn't quite there.

On 1-Apr-08, at 4:34 AM, Vincent Siveton wrote:
> Hi Jason,
>
> Don't know for IDEA but I am trying to do it for Eclipse. See  
> DOXIA-233
>
> Cheers,
>
> Vincent
>
> 2008/4/1, Jason Dillon <ja...@planet57.com>:
>> Anyone know how to do this?
>>
>> --jason
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.

-- Eric Hoffer, Reflections on the Human Condition 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Syntax highligthing for APT sources in IDEA

Posted by Vincent Siveton <vi...@gmail.com>.
Hi Jason,

Don't know for IDEA but I am trying to do it for Eclipse. See DOXIA-233

Cheers,

Vincent

2008/4/1, Jason Dillon <ja...@planet57.com>:
> Anyone know how to do this?
>
>  --jason
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org