You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Dan Haywood <da...@haywood-associates.co.uk> on 2012/03/07 13:53:38 UTC

Re: Eclipse templates

Hi Mike,
Nope, it's Java > editor > templates.

See also [1] on the website.

Cheers
Dan

[1]  http://incubator.apache.org/isis/ide-support.html


On 7 March 2012 12:49, Mike Burton <mi...@mycosystems.co.uk> wrote:

> Hi Folks,
>
> Which Eclipse Preference...  screen should I import
> Apache-code-style-template.xml into?
> I tried Java> Code style> Code templates  but it didnt seem to do anything.
>
> Best Regards
>
> Mike Burton
>

Re: Eclipse templates

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
good-o!


On 7 March 2012 13:51, Mike Burton <mi...@mycosystems.co.uk> wrote:

> Thanks Dan,
>
> That's where I had put it, didnt seem to do owt. On closer inspection,
> when I expand Comments> File,  I can see the ASF header, all good.
>
>
> On 7 Mar 2012, at 13:23, Dan Haywood wrote:
>
> > Ah well, the apache code style template goes into the *other* place, ie
> > Java > Code Style > Code Templates.
> >
> > Cheers
> > Dan
> >
> >
> > On 7 March 2012 13:20, Mike Burton <mi...@mycosystems.co.uk> wrote:
> >
> >> Hi Dan,
> >>
> >> That's where I put:     • isis-templates.xml    • junit4-templates.xml
>  •
> >> jmock2-templates.xml
> >> - All OK.
> >>
> >> I did try to import Apache-code-style-template.xml into there too, but
> it
> >> didnt seem to do anything, my list of code templates is still 3. pages
> long.
> >> And when I create a new class it didn't get ASF header added which I
> would
> >> have expected, from looking inside of
> >>
> >> Best Regards
> >>
> >> Mike Burton
> >>
> >>
> >> On 7 Mar 2012, at 12:53, Dan Haywood wrote:
> >>
> >>> Hi Mike,
> >>> Nope, it's Java > editor > templates.
> >>>
> >>> See also [1] on the website.
> >>>
> >>> Cheers
> >>> Dan
> >>>
> >>> [1]  http://incubator.apache.org/isis/ide-support.html
> >>>
> >>>
> >>> On 7 March 2012 12:49, Mike Burton <mi...@mycosystems.co.uk> wrote:
> >>>
> >>>> Hi Folks,
> >>>>
> >>>> Which Eclipse Preference...  screen should I import
> >>>> Apache-code-style-template.xml into?
> >>>> I tried Java> Code style> Code templates  but it didnt seem to do
> >> anything.
> >>>>
> >>>> Best Regards
> >>>>
> >>>> Mike Burton
> >>>>
> >>
> >>
>
>

Re: Eclipse templates

Posted by Mike Burton <mi...@mycosystems.co.uk>.
Thanks Dan,

That's where I had put it, didnt seem to do owt. On closer inspection, when I expand Comments> File,  I can see the ASF header, all good.


On 7 Mar 2012, at 13:23, Dan Haywood wrote:

> Ah well, the apache code style template goes into the *other* place, ie
> Java > Code Style > Code Templates.
> 
> Cheers
> Dan
> 
> 
> On 7 March 2012 13:20, Mike Burton <mi...@mycosystems.co.uk> wrote:
> 
>> Hi Dan,
>> 
>> That's where I put:     • isis-templates.xml    • junit4-templates.xml  •
>> jmock2-templates.xml
>> - All OK.
>> 
>> I did try to import Apache-code-style-template.xml into there too, but it
>> didnt seem to do anything, my list of code templates is still 3. pages long.
>> And when I create a new class it didn't get ASF header added which I would
>> have expected, from looking inside of
>> 
>> Best Regards
>> 
>> Mike Burton
>> 
>> 
>> On 7 Mar 2012, at 12:53, Dan Haywood wrote:
>> 
>>> Hi Mike,
>>> Nope, it's Java > editor > templates.
>>> 
>>> See also [1] on the website.
>>> 
>>> Cheers
>>> Dan
>>> 
>>> [1]  http://incubator.apache.org/isis/ide-support.html
>>> 
>>> 
>>> On 7 March 2012 12:49, Mike Burton <mi...@mycosystems.co.uk> wrote:
>>> 
>>>> Hi Folks,
>>>> 
>>>> Which Eclipse Preference...  screen should I import
>>>> Apache-code-style-template.xml into?
>>>> I tried Java> Code style> Code templates  but it didnt seem to do
>> anything.
>>>> 
>>>> Best Regards
>>>> 
>>>> Mike Burton
>>>> 
>> 
>> 


Re: Eclipse templates

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Ah well, the apache code style template goes into the *other* place, ie
Java > Code Style > Code Templates.

Cheers
Dan


On 7 March 2012 13:20, Mike Burton <mi...@mycosystems.co.uk> wrote:

> Hi Dan,
>
> That's where I put:     • isis-templates.xml    • junit4-templates.xml  •
> jmock2-templates.xml
> - All OK.
>
> I did try to import Apache-code-style-template.xml into there too, but it
> didnt seem to do anything, my list of code templates is still 3. pages long.
> And when I create a new class it didn't get ASF header added which I would
> have expected, from looking inside of
>
> Best Regards
>
> Mike Burton
>
>
> On 7 Mar 2012, at 12:53, Dan Haywood wrote:
>
> > Hi Mike,
> > Nope, it's Java > editor > templates.
> >
> > See also [1] on the website.
> >
> > Cheers
> > Dan
> >
> > [1]  http://incubator.apache.org/isis/ide-support.html
> >
> >
> > On 7 March 2012 12:49, Mike Burton <mi...@mycosystems.co.uk> wrote:
> >
> >> Hi Folks,
> >>
> >> Which Eclipse Preference...  screen should I import
> >> Apache-code-style-template.xml into?
> >> I tried Java> Code style> Code templates  but it didnt seem to do
> anything.
> >>
> >> Best Regards
> >>
> >> Mike Burton
> >>
>
>

Re: Eclipse templates

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Ah well, the apache code style template goes into the *other* place, ie
Java > Code Style > Code Templates.

Cheers
Dan


On 7 March 2012 13:20, Mike Burton <mi...@mycosystems.co.uk> wrote:

> Hi Dan,
>
> That's where I put:     • isis-templates.xml    • junit4-templates.xml  •
> jmock2-templates.xml
> - All OK.
>
> I did try to import Apache-code-style-template.xml into there too, but it
> didnt seem to do anything, my list of code templates is still 3. pages long.
> And when I create a new class it didn't get ASF header added which I would
> have expected, from looking inside of
>
> Best Regards
>
> Mike Burton
>
>
> On 7 Mar 2012, at 12:53, Dan Haywood wrote:
>
> > Hi Mike,
> > Nope, it's Java > editor > templates.
> >
> > See also [1] on the website.
> >
> > Cheers
> > Dan
> >
> > [1]  http://incubator.apache.org/isis/ide-support.html
> >
> >
> > On 7 March 2012 12:49, Mike Burton <mi...@mycosystems.co.uk> wrote:
> >
> >> Hi Folks,
> >>
> >> Which Eclipse Preference...  screen should I import
> >> Apache-code-style-template.xml into?
> >> I tried Java> Code style> Code templates  but it didnt seem to do
> anything.
> >>
> >> Best Regards
> >>
> >> Mike Burton
> >>
>
>

Re: Eclipse templates

Posted by Mike Burton <mi...@mycosystems.co.uk>.
Hi Dan,

That's where I put:  	• isis-templates.xml 	• junit4-templates.xml	• jmock2-templates.xml
- All OK.

I did try to import Apache-code-style-template.xml into there too, but it didnt seem to do anything, my list of code templates is still 3. pages long.
And when I create a new class it didn't get ASF header added which I would have expected, from looking inside of 

Best Regards

Mike Burton


On 7 Mar 2012, at 12:53, Dan Haywood wrote:

> Hi Mike,
> Nope, it's Java > editor > templates.
> 
> See also [1] on the website.
> 
> Cheers
> Dan
> 
> [1]  http://incubator.apache.org/isis/ide-support.html
> 
> 
> On 7 March 2012 12:49, Mike Burton <mi...@mycosystems.co.uk> wrote:
> 
>> Hi Folks,
>> 
>> Which Eclipse Preference...  screen should I import
>> Apache-code-style-template.xml into?
>> I tried Java> Code style> Code templates  but it didnt seem to do anything.
>> 
>> Best Regards
>> 
>> Mike Burton
>>