title: Eclipse Formatter
body: <p>Does anyone knows how can I adjust Eclipse Formatter to align (or wrap) the strings inside brackets?</p>
  
  <p>I would like t`he format keep the code aligned like this:</p>
  
  <pre><code>@Component( 
      immediate = true, 
       property = {
          "com.liferay.portlet.display-category=category.sample",
          "com.liferay.portlet.header-portlet-css=/css/main.css",
          "com.liferay.portlet.instanceable=true",
          "javax.portlet.display-name=PortletModule",
          "javax.portlet.init-param.template-path=/",
          "javax.portlet.init-param.view-template=/view.jsp",
          "javax.portlet.name=" + PortletModulePortletKeys.PORTLETMODULE,
          "javax.portlet.resource-bundle=content.Language",
          "javax.portlet.security-role-ref=power-user,user"
      },
      service = Portlet.class
  )
  </code></pre>
  
  <p>But when I do save (with formatting on save actions), the code auto adjusts to this:</p>
  
  <pre><code>@Component(
      immediate = true,
      property = { "com.liferay.portlet.display-category=category.sample",
              "com.liferay.portlet.header-portlet-css=/css/main.css", "com.liferay.portlet.instanceable=true",
              "javax.portlet.display-name=PortletModule", "javax.portlet.init-param.template-path=/",
              "javax.portlet.init-param.view-template=/view.jsp",
              "javax.portlet.name=" + PortletModulePortletKeys.PORTLETMODULE,
              "javax.portlet.resource-bundle=content.Language", "javax.portlet.security-role-ref=power-user,user" },
      service = Portlet.class
  )
  </code></pre>
  
  <p>Any ideas?</p>