Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12963

In can use code formatting settings for IntelliJ IDEA

      User Story (Required on creation):

      As a code contributor, I can find code formatting settings in the camunda-bpm-platform repository for IntelliJ Idea, which allows me to provide properly formatted code contributions.

      Functional Requirements (Required before implementation):

      There is a file in the camunda-bpm-platform repository, which can be consumed by IntelliJ Idea, which helps a contributor formatting the code contribution according to our coding style guide (similarly to what we already have for Eclipse )

      Technical Requirements (Required before implementation):

      Possible formats/definitions:

      • Eclipse (IntelliJ Idea can consume this)
      • IntelliJ Idea
      • IDE independent .editorconfig file
      • All of the beforementioned

      Limitations of Scope (Optional):

      The scope possibilities are sorted according to complexity in ascending order:

      1. Import the existing Eclipse formatting settings to IntelliJ Idea, export them in the IntelliJ Idea specific format and check it into the repository
      2. Import the existing Eclipse formatting settings to IntelliJ Idea, export them as .editorconfig and check it into the repository
      3. Provide a basic .editorconfig file that configures editor independent settings according to our coding style guide
      4. Beforementioned + IntelliJ Idea specific configurations based on our coding style guide

      Original Description provided by the reporter

      Summary

      Code Formatting settings not available

      Description

      The available code formatting settings are not in IntelliJ IDEA format.

      Only the Eclipse Code Formatter plugin to format the code is available.

      Is this a bug, a missing part, or is it as expected.

      Do please let me know if I should report this in the forum and not here.

      Best regards

        This is the controller panel for Smart Panels app

            [CAM-12963] In can use code formatting settings for IntelliJ IDEA

            Hi camunda_support_jit,

            Thank you for reaching out to us with your bug report.

            I'll check it and come back to you with my insights.

            Stay tuned!

            Best,
            Tassilo

            Tassilo Weidner added a comment - Hi camunda_support_jit , Thank you for reaching out to us with your bug report. I'll check it and come back to you with my insights. Stay tuned! Best, Tassilo

            Tassilo Weidner added a comment - - edited

            Hi camunda_support_jit,

            The missing code formatting settings are rather a missing feature than a bug. I will change the ticket type.

            We will probably not be able to look into your feature request. However, you could contribute the missing file by raising a pull request in our GitHub repository. We will provide you feedback, and if everything looks good, we can merge it with our codebase. Interested in volunteering?

            Best,
            Tassilo

            Tassilo Weidner added a comment - - edited Hi camunda_support_jit , The missing code formatting settings are rather a missing feature than a bug. I will change the ticket type. We will probably not be able to look into your feature request. However, you could contribute the missing file by raising a pull request in our GitHub repository . We will provide you feedback, and if everything looks good, we can merge it with our codebase. Interested in volunteering? Best, Tassilo

            JIT Support Camunda added a comment - - edited

            Hi @Tassilo, OK thanks for the information.  We would to contribute first with one community plugin, therefore we needed this missing file. We have everything ready and we wanted to format the code as you guys would have wanted.

            Let us do the contribution first, and then we can help you with details like this one. Best regards.

             

            JIT Support Camunda added a comment - - edited Hi @Tassilo, OK thanks for the information.  We would to contribute first with one community plugin, therefore we needed this missing file. We have everything ready and we wanted to format the code as you guys would have wanted. Let us do the contribution first, and then we can help you with details like this one. Best regards.  

            Hi camunda_support_jit,

            Feel free to submit your contributions even without full confidence that the source code is formatted correctly.

            Our developers will explain what adjustments regarding the code style are necessary before we can merge your contribution.

            Best,
            Tassilo

            Tassilo Weidner added a comment - Hi camunda_support_jit , Feel free to submit your contributions even without full confidence that the source code is formatted correctly. Our developers will explain what adjustments regarding the code style are necessary before we can merge your contribution. Best, Tassilo

            Hi camunda_support_jit,

            I qualified your feature request further and put your request on the agenda for one of our next team meetings.

            I will keep you in the loop about the outcome.

            Best,
            Tassilo

            Tassilo Weidner added a comment - Hi camunda_support_jit , I qualified your feature request further and put your request on the agenda for one of our next team meetings. I will keep you in the loop about the outcome. Best, Tassilo

            Thank you @Tassilo Weidner, please let us know.

            JIT Support Camunda added a comment - Thank you @Tassilo Weidner, please let us know.

            Hi camunda_support_jit,

            We have discussed in the team that we add an IntelliJ IDEA formatted profile to our mono repository. I've raised a pull request for that that still needs to be approved. You can find it here:
            https://github.com/camunda/camunda-bpm-platform/pull/1532

            After the review has passed and the changes are merged with our master branch, I will close this ticket.

            Best,
            Tassilo

            Tassilo Weidner added a comment - Hi camunda_support_jit , We have discussed in the team that we add an IntelliJ IDEA formatted profile to our mono repository. I've raised a pull request for that that still needs to be approved. You can find it here: https://github.com/camunda/camunda-bpm-platform/pull/1532 After the review has passed and the changes are merged with our master branch, I will close this ticket. Best, Tassilo

            Hi camunda_support_jit,

            I'm happy to announce that we merged the pull request and offer from now on an IntelliJ IDEA code formatting profile for Java which reflects our code style:
            https://github.com/camunda/camunda-bpm-platform/blob/master/settings/intellij-idea/formatter.xml

            Therefore, I'll close this feature request.

            Best,
            Tassilo

            Tassilo Weidner added a comment - Hi camunda_support_jit , I'm happy to announce that we merged the pull request and offer from now on an IntelliJ IDEA code formatting profile for Java which reflects our code style: https://github.com/camunda/camunda-bpm-platform/blob/master/settings/intellij-idea/formatter.xml Therefore, I'll close this feature request. Best, Tassilo

              tassilo.weidner Tassilo Weidner
              camunda_support_jit JIT Support Camunda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: