[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: code templates: indentation & comment templates

I meant #245148 bug actually which was solved in the latest integration
build.
The second question is still unclear to me. What are the PHP->Code
style->Code templates settings for?

Thanks for your help!

Michael Spector wrote:
> Hi,
> 
> I think this is existing bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=206803
> 
> "Vlad Koshelev" <vlad.kosh@xxxxxxxxx> wrote in message
> news:ga84ds$bu3$1@xxxxxxxxxxxxxxxxxxxx
>> Hi,
>>
>> I have a couple of questions:
>>
>> 1. When I insert a code template at non first position (N tabs before
>> cursor) the first line of template inserts the right way, but the rest
>> has indentation of N tabs:
...
>>
>> 2. Is there any way to change default templates for "Generate Element
>> Comment" feature (right click->Source->Generate Element Comment)?
>> Changing templates in Preferences->PHP->Code Style->Code
>> templates->Comments seems to be not working.
>>
>> I'm using Ganymede and PDT 2.0.0 (N20080907) on Linux.
>>
>> Thanks!