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

No class templates when using clang code model

    XMLWordPrintable

Details

    Description

      1. Enable Creator's built-in code model for C++ files.
      2. Open a C++ file.
      3. In global scope of the file write "cla" and press Ctrl+Space.
        A menu with different suggestions for completion will show up:
      4. Select one of the templates "derived from".
        A whole class is being added to the code and you can navigate its name and functions using the tab key.
      5. Repeat steps 2-3 with the clang code model enabled.
        "cla" will be completed to "class" and that's it.

      Creator should show the same menu and insert the same template, no matter which code model is active in the background.

      Found using Squish test tst_CSUP02.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes