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

[Reg 4.7 -> 4.8] No dot-to-arrow-completion for pointer to c struct

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • Qt Creator 4.8.0-beta1
    • Qt Creator 4.8.0-beta1
    • C/C++/Obj-C++ Support
    • Windows 7 x64, Creator snapshot from Sep 13, rev bb6851632a
    • Windows

      // main.c
      
      typedef struct {
          int bar;
      } Foo;
      
      int main()
      {
          Foo foo;
          Foo *p = &foo;	
          p. // no dot-to-arraw-conversion, 
             // no completions offered	
          return 0;
      } 

      Steps to reproduce:

      • Press "p."

      Expected behavior:

      • Dot is converted to arrow: "p->"
      • Completions are offered: "p->bar"

      Note that this is working nicely in 4.7

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            yvvan Ivan Donchevskii
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes