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

Clang: Don't place the cursor between the braces if the parameter list is empty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.4.0-rc1
    • Qt Creator 4.3.0-beta1, Qt Creator 4.4.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      std::vector<int> vector;
      vector.beg -> completion 
      vector.begin(|cursor is here|);
      

      It would be nice if the cursor is placed after the braces for empty functions.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            bubke Marco Bubke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes