How to get code completion for Templating support objects

View: New views
3 Messages — Rating Filter:   Alert me  

How to get code completion for Templating support objects

by tobltobs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all,

Can anybody give me a hint how I have to setup my IDE to get code
completion for the Templating support objects like actpage, ctx, ...

I am using Intellij, but if you managed to get code completion in an
another IDE, that might help to.

Regards

Tobias

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------


Re: How to get code completion for Templating support objects

by gregoryjoseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


If you're using Freemarker, IntelliJ has built-in support for that -  
alt-enter on an unknown variable (it should be underlined, alerting  
you the IDE doesn't know about it), and you'll get multiple options to  
set that up; from there on, you'll just need to point the ide to the  
correct class.

-g

On Jun 24, 2009, at 6:18 PM, Tobias Reinhardt wrote:

>
> Hi all,
>
> Can anybody give me a hint how I have to setup my IDE to get code
> completion for the Templating support objects like actpage, ctx, ...
>
> I am using Intellij, but if you managed to get code completion in an
> another IDE, that might help to.
>
> Regards
>
> Tobias
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------


Re: How to get code completion for Templating support objects

by tobltobs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


And for jsp:
<%--@elvariable id="state" type="info.magnolia.cms.core.AggregationState"--%>

2009/6/24 Grégory Joseph <gregory.joseph@...>:

>
> If you're using Freemarker, IntelliJ has built-in support for that -
> alt-enter on an unknown variable (it should be underlined, alerting you the
> IDE doesn't know about it), and you'll get multiple options to set that up;
> from there on, you'll just need to point the ide to the correct class.
>
> -g
>
> On Jun 24, 2009, at 6:18 PM, Tobias Reinhardt wrote:
>
>>
>> Hi all,
>>
>> Can anybody give me a hint how I have to setup my IDE to get code
>> completion for the Templating support objects like actpage, ctx, ...
>>
>> I am using Intellij, but if you managed to get code completion in an
>> another IDE, that might help to.
>>
>> Regards
>>
>> Tobias
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------
>
>

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------