Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [ACCELEO3] Tab,Tabulator problems([ACCELEO3] Tab,Tabulator problems)
[ACCELEO3] Tab,Tabulator problems [message #714658] Thu, 11 August 2011 08:06 Go to next message
Norman  is currently offline Norman Friend
Messages: 17
Registered: June 2011
Junior Member
Hi everyone,

i have a hard Problem. If i make a Tabulator at beginning of codegeneration, everything gets the correct identation. If i generate again, the code moves right with many unwanted tabulators. If i generate again, the code moves more to the right than before. Its annoying.

In 2.6. there was a possibility to insert post(indentTab()). The migration to 3 says its:
<%x.indentTab%> to [x.replaceAll('rn|r|n', '$0t')/]

post(replaceAll('rn|r|n', '$0t')) doesnt work in Acceleo 3.

Can someone help?

Greetings,fnobbi
Re: [ACCELEO3] Tab,Tabulator problems [message #715043 is a reply to message #714658] Fri, 12 August 2011 08:15 Go to previous messageGo to next message
Norman  is currently offline Norman Friend
Messages: 17
Registered: June 2011
Junior Member
i found my problem. Its because Tabs are generated in Userdefine Code, is it possible to disable that ANY Code is generated in the user define code?
Re: [ACCELEO3] Tab,Tabulator problems [message #715995 is a reply to message #715043] Tue, 16 August 2011 07:38 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
Hi Norman,

This is a problem we had with Acceleo 3.0 ... It should be fixed in 3.1. (See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=331978.) Could you update to the new version and confirm whether your use case is fixed now?

Laurent Goubet
Obeo
Re: [ACCELEO3] Tab,Tabulator problems [message #716022 is a reply to message #714658] Tue, 16 August 2011 08:34 Go to previous messageGo to next message
Norman  is currently offline Norman Friend
Messages: 17
Registered: June 2011
Junior Member
i'll try and give a feedback
Re: [ACCELEO3] Tab,Tabulator problems [message #716443 is a reply to message #714658] Wed, 17 August 2011 12:23 Go to previous message
Norman  is currently offline Norman Friend
Messages: 17
Registered: June 2011
Junior Member
thanks, the bug is fixed in 3.1
Previous Topic:[Acceleo 3.1] Can't run Acceleo Module
Next Topic:[Xtend] Is there a type name for collections of collections?
Goto Forum:
  


Current Time: Tue Oct 08 05:53:23 GMT 2024

Powered by FUDForum. Page generated in 0.04874 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top