[JBoss JIRA] (ROASTER-58) Create an utility class to read Eclipse profile XMLs
by George Gastaldi (JIRA)
George Gastaldi created ROASTER-58:
--------------------------------------
Summary: Create an utility class to read Eclipse profile XMLs
Key: ROASTER-58
URL: https://issues.jboss.org/browse/ROASTER-58
Project: Roaster
Issue Type: Feature Request
Components: API
Affects Versions: 2.11.1.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.11.2.Final
This is needed to convert profile XMLs into Properties objects, to be used in the {{Roaster.format}} method
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2202) Provide formatter configuration when using Forge
by Devanshu Singh (JIRA)
[ https://issues.jboss.org/browse/FORGE-2202?page=com.atlassian.jira.plugin... ]
Devanshu Singh commented on FORGE-2202:
---------------------------------------
Ivan , I agree with your opinion.
> Provide formatter configuration when using Forge
> ------------------------------------------------
>
> Key: FORGE-2202
> URL: https://issues.jboss.org/browse/FORGE-2202
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins, Configuration, Parsers / File Manipulation
> Affects Versions: 2.x Future
> Reporter: Ivan St. Ivanov
> Fix For: 2.x Future
>
>
> When Forge generates code it formats it with the current Forge [Eclipse-based] formatter: 3 spaces indentation and opening braces on the next line. As mentioned by George in the mailing list, if you develop an addon, it is possible to control that via the Roaster API by calling Roaster.format() passing as an argument the Eclipse formatter profile XML.
> However, it would be a good idea if I am just a Forge user to be able to configure the already existing addons that generate code (e.g. the new entity command) to use a formatter that I have provided, so that the generated code follows the code conventions adopted in the project/team I work in
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2202) Provide formatter configuration when using Forge
by Ivan St. Ivanov (JIRA)
[ https://issues.jboss.org/browse/FORGE-2202?page=com.atlassian.jira.plugin... ]
Ivan St. Ivanov commented on FORGE-2202:
----------------------------------------
Hi Devanshu!
I should say that's a great workaround. However, I was thinking of something automatic, rather than calling something manually every time. At the end, I could do the formatting in the IDE as well. But that's not the point.
Cheers,
Ivan
> Provide formatter configuration when using Forge
> ------------------------------------------------
>
> Key: FORGE-2202
> URL: https://issues.jboss.org/browse/FORGE-2202
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins, Configuration, Parsers / File Manipulation
> Affects Versions: 2.x Future
> Reporter: Ivan St. Ivanov
> Fix For: 2.x Future
>
>
> When Forge generates code it formats it with the current Forge [Eclipse-based] formatter: 3 spaces indentation and opening braces on the next line. As mentioned by George in the mailing list, if you develop an addon, it is possible to control that via the Roaster API by calling Roaster.format() passing as an argument the Eclipse formatter profile XML.
> However, it would be a good idea if I am just a Forge user to be able to configure the already existing addons that generate code (e.g. the new entity command) to use a formatter that I have provided, so that the generated code follows the code conventions adopted in the project/team I work in
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2202) Provide formatter configuration when using Forge
by Devanshu Singh (JIRA)
[ https://issues.jboss.org/browse/FORGE-2202?page=com.atlassian.jira.plugin... ]
Devanshu Singh commented on FORGE-2202:
---------------------------------------
Hi Ivan! I hope you've checked out the java-format-sources command.Though it does not precisely perform the operation this issue requests - It still helps you to format a file (or folder recursively) of Java source files specifying your own eclipse code format profile.So you can just generate all your code with forge and then format it with your own code conventions at one go.
> Provide formatter configuration when using Forge
> ------------------------------------------------
>
> Key: FORGE-2202
> URL: https://issues.jboss.org/browse/FORGE-2202
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins, Configuration, Parsers / File Manipulation
> Affects Versions: 2.x Future
> Reporter: Ivan St. Ivanov
> Fix For: 2.x Future
>
>
> When Forge generates code it formats it with the current Forge [Eclipse-based] formatter: 3 spaces indentation and opening braces on the next line. As mentioned by George in the mailing list, if you develop an addon, it is possible to control that via the Roaster API by calling Roaster.format() passing as an argument the Eclipse formatter profile XML.
> However, it would be a good idea if I am just a Forge user to be able to configure the already existing addons that generate code (e.g. the new entity command) to use a formatter that I have provided, so that the generated code follows the code conventions adopted in the project/team I work in
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2202) Provide formatter configuration when using Forge
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2202?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2202:
-----------------------------------
Component/s: Configuration
Parsers / File Manipulation
> Provide formatter configuration when using Forge
> ------------------------------------------------
>
> Key: FORGE-2202
> URL: https://issues.jboss.org/browse/FORGE-2202
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins, Configuration, Parsers / File Manipulation
> Affects Versions: 2.x Future
> Reporter: Ivan St. Ivanov
> Fix For: 2.x Future
>
>
> When Forge generates code it formats it with the current Forge [Eclipse-based] formatter: 3 spaces indentation and opening braces on the next line. As mentioned by George in the mailing list, if you develop an addon, it is possible to control that via the Roaster API by calling Roaster.format() passing as an argument the Eclipse formatter profile XML.
> However, it would be a good idea if I am just a Forge user to be able to configure the already existing addons that generate code (e.g. the new entity command) to use a formatter that I have provided, so that the generated code follows the code conventions adopted in the project/team I work in
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2202) Provide formatter confuration when using Forge
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2202?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2202:
-----------------------------------
Fix Version/s: 2.x Future
> Provide formatter confuration when using Forge
> ----------------------------------------------
>
> Key: FORGE-2202
> URL: https://issues.jboss.org/browse/FORGE-2202
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins
> Affects Versions: 2.x Future
> Reporter: Ivan St. Ivanov
> Fix For: 2.x Future
>
>
> When Forge generates code it formats it with the current Forge [Eclipse-based] formatter: 3 spaces indentation and opening braces on the next line. As mentioned by George in the mailing list, if you develop an addon, it is possible to control that via the Roaster API by calling Roaster.format() passing as an argument the Eclipse formatter profile XML.
> However, it would be a good idea if I am just a Forge user to be able to configure the already existing addons that generate code (e.g. the new entity command) to use a formatter that I have provided, so that the generated code follows the code conventions adopted in the project/team I work in
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2202) Provide formatter configuration when using Forge
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2202?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2202:
-----------------------------------
Summary: Provide formatter configuration when using Forge (was: Provide formatter confuration when using Forge)
> Provide formatter configuration when using Forge
> ------------------------------------------------
>
> Key: FORGE-2202
> URL: https://issues.jboss.org/browse/FORGE-2202
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins
> Affects Versions: 2.x Future
> Reporter: Ivan St. Ivanov
> Fix For: 2.x Future
>
>
> When Forge generates code it formats it with the current Forge [Eclipse-based] formatter: 3 spaces indentation and opening braces on the next line. As mentioned by George in the mailing list, if you develop an addon, it is possible to control that via the Roaster API by calling Roaster.format() passing as an argument the Eclipse formatter profile XML.
> However, it would be a good idea if I am just a Forge user to be able to configure the already existing addons that generate code (e.g. the new entity command) to use a formatter that I have provided, so that the generated code follows the code conventions adopted in the project/team I work in
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months