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

Active parameter in function hint marked only for first signature

    XMLWordPrintable

Details

    • 325db93a7 (13.0)

    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

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes