|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
templates - endless loopHi,
I need to add the following template $max(expr1, expr2). Adding to default-templates.xml <template name="$$max" description="%$$max" context="org.eclipse.cdt.ui.text.templates.c" id="org.eclipse.cdt.ui.text.templates.c.$$max" enabled="true">$$max(${expr1}, ${expr2})</template> and to default-templates.properties $$max = $$max Code completion during the first time works fine completing to $max(expr1, expr2). But trying once again $CTRL-Space, on the second time causes to endless loop. Is it something wrong in the definition of template? Thank you David _______________________________________________ cdt-dev mailing list cdt-dev@... https://dev.eclipse.org/mailman/listinfo/cdt-dev |
|
|
RE: templates - endless loopHi,
I cannot reproduce with this information. Please open a bug and attach a thread dump at the time of the endless loop. See http://wiki.eclipse.org/How_to_report_a_deadlock for information on how to obtain a thread dump. Thanks, Toni > -----Original Message----- > From: cdt-dev-bounces@... > [mailto:cdt-dev-bounces@...] On Behalf Of David Sariel > Sent: Saturday, November 14, 2009 8:22 AM > To: CDT General developers list. > Subject: [cdt-dev] templates - endless loop > > Hi, > I need to add the following template $max(expr1, expr2). > > Adding to default-templates.xml > <template name="$$max" description="%$$max" > context="org.eclipse.cdt.ui.text.templates.c" > id="org.eclipse.cdt.ui.text.templates.c.$$max" > enabled="true">$$max(${expr1}, ${expr2})</template> > > and to default-templates.properties > $$max = $$max > > Code completion during the first time works fine completing to > $max(expr1, expr2). > But trying once again $CTRL-Space, on the second time causes > to endless loop. > > Is it something wrong in the definition of template? > Thank you > David > _______________________________________________ > cdt-dev mailing list > cdt-dev@... > https://dev.eclipse.org/mailman/listinfo/cdt-dev > cdt-dev mailing list cdt-dev@... https://dev.eclipse.org/mailman/listinfo/cdt-dev |
|
|
Re: templates - endless loopHi Toni,
I have rebuilt the index and changed to <template name="$max" description="%DollarMax" context="org.eclipse.cdt.ui.text.templates.c" id="org.eclipse.cdt.ui.text.templates.c.$max" enabled="true">$$max(${expr1}, ${expr2}) </template> while DollarMax = $max and it seems working now. If the problem appears again I will open the bug. Thank you David On Mon, Nov 16, 2009 at 10:33 AM, Leherbauer, Anton (Toni) <Anton.Leherbauer@...> wrote: > Hi, > I cannot reproduce with this information. > Please open a bug and attach a thread dump at the time of the endless > loop. > See http://wiki.eclipse.org/How_to_report_a_deadlock for information on > how to obtain a thread dump. > > Thanks, > Toni > >> -----Original Message----- >> From: cdt-dev-bounces@... >> [mailto:cdt-dev-bounces@...] On Behalf Of David Sariel >> Sent: Saturday, November 14, 2009 8:22 AM >> To: CDT General developers list. >> Subject: [cdt-dev] templates - endless loop >> >> Hi, >> I need to add the following template $max(expr1, expr2). >> >> Adding to default-templates.xml >> <template name="$$max" description="%$$max" >> context="org.eclipse.cdt.ui.text.templates.c" >> id="org.eclipse.cdt.ui.text.templates.c.$$max" >> enabled="true">$$max(${expr1}, ${expr2})</template> >> >> and to default-templates.properties >> $$max = $$max >> >> Code completion during the first time works fine completing to >> $max(expr1, expr2). >> But trying once again $CTRL-Space, on the second time causes >> to endless loop. >> >> Is it something wrong in the definition of template? >> Thank you >> David >> _______________________________________________ >> cdt-dev mailing list >> cdt-dev@... >> https://dev.eclipse.org/mailman/listinfo/cdt-dev >> > _______________________________________________ > cdt-dev mailing list > cdt-dev@... > https://dev.eclipse.org/mailman/listinfo/cdt-dev > cdt-dev mailing list cdt-dev@... https://dev.eclipse.org/mailman/listinfo/cdt-dev |
|
|
Duplicated messagesHi all!
Since a few days, I'm receiving all the emails from cdt-dev twice. Is there anybody else experimenting the same problem? Ciao, Giuseppe. _______________________________________________ cdt-dev mailing list cdt-dev@... https://dev.eclipse.org/mailman/listinfo/cdt-dev |
| Free embeddable forum powered by Nabble | Forum Help |