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

Copilot autocompletion messes up code syntax

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • Qt Creator 17.0.0-beta1
    • Qt Creator 15.0.1, Qt Creator 17.0.2
    • Copilot
    • None

      Copilot gives a suggestion:

      Then after pressing tab key there is a syntax error (additional brace):

      another example

       

        1. image-2025-03-02-01-08-49-784.png
          5 kB
          thecodemonkey
        2. image-2025-03-02-01-10-40-200.png
          8 kB
          thecodemonkey
        3. image-2025-03-02-01-11-46-228.png
          10 kB
          thecodemonkey
        4. image-2025-10-21-08-42-41-253.png
          4 kB
          Bernhard Stöcker
        5. image-2025-10-21-08-43-08-298.png
          4 kB
          Bernhard Stöcker
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            thecodemonkey thecodemonkey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes