Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-4213

Formatter Java conventions built in

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.7.0.RELEASE
    • Fix Version/s: 3.7.3.RELEASE
    • Component/s: EDITING
    • Labels:
      None

      Description

      Moving from sts 3.6.2 to sts 3.7.0 we are experiencing an annoying bug in formatting java sourcecode.
      Using java conventions built-in, we noticed the maximum line width became 120. We need to use the old value of 80, so we created another profile, based on java built-in conventions of STS 3.6.2.
      Despite two profiles are identical, the code is formatted differntly.
      For example:
      Sts 3.6.2
      Project revisionWfProject = projectService.getProject(Long
      .parseLong(projectId));

      Sts 3.7.0
      Project revisionWfProject = projectService
      .getProject(Long.parseLong(projectId));

      This is not blocking but really annoying.

        Attachments

          Activity

            People

            Assignee:
            mlippert Martin Lippert
            Reporter:
            supergum Guido Anselmi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: