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

Auto indentation is broken when I use templated default template parameter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 3.1.0-rc1
    • Qt Creator 2.8.0-beta
    • C/C++/Obj-C++ Support
    • None
    • Windows 7 Mingw gcc 4.8.0
    • 5510ec0552001e12706e20ab6919a57ac2717726

    Description

       
      template <class A = std::vector<int> >
      class C{
      
      };
      

      The auto completion for the above code works fine. However, that of the following code does not.

       
      template <class A = std::vector<int>> // <-- note that there is no white space between >'s.
      class C{
      
      };
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-9640
          # Subject Branch Project Status CR V

          Activity

            People

              kosjar Nikolai Kosjar
              sungmin817 Sungmin Hwang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes