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

Active parameter in function hint marked only for first signature

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 6.0.0-beta1
    • Fix Version/s: None
    • Labels:
      None

      Description

      Consider this code:

      void func(int i, int j);
      void func(int i, double d);
      
      int main()
      {
      func(0, /* request function hint here */
      }
      

      Make sure you have clangd running on this file and request a function hint at the specified location.
      You will get two signatures, as expected. In the first one, the second parameter correctly has a bold font, indicating the parameter corresponding to the current cursor position. But if you switch to the next signature, the active parameter is not marked there.

        Attachments

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

          Activity

            People

            Assignee:
            davschul David Schulz
            Reporter:
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes