Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5202

Settings for Text Editor > Behaviour > Align Continuation Lines does not apply to Javascript when "Not at all" is selected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 2.2.1
    • Quick / QML Support
    • None
    • Linux x64 Ubuntu 10.04 (LTS)

    Description

      The tool tip for the "Align Continuation Lines" states that the behaviour for the "Not at all" value should produce the following code:

      (tab)int i = foo(a, b,
      (tab)c, d)
      

      this currently works for c++ files. The equivalent code in javascript files should read as follows:

      (tab)var i = foo(a, b, 
      (tab)c, d)
      

      but the current behaviour for javascript files is the same as the default even though the "Not at all" setting is currently selected. This is the current behaviour when "Not at all" is selected:

      (tab)var i = foo(a, b, 
      (tab)(tab)(tab)  c, d)
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            real_ate Andrew Manson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes