[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 137746] New: autocompletion for defined types
From:       Tadeusz Szczyrba <trevor () pp ! org ! pl>
Date:       2006-11-22 22:13:51
Message-ID: 20061122231350.137746.trevor () pp ! org ! pl
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=137746         
           Summary: autocompletion for defined types
           Product: kdevelop
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: trevor pp org pl


Version:            (using KDE KDE 3.5.5)

autocompletion of field names of variables being defined types from structure types \
could work in more sophisticated definitions.

Presently (kdevelop 3.3.93) it works for variables whose type is defined this way:

struct sttype1 {
      type1 field1;
      type2 field2;
      ...
};

typedef struct sttype1 sttype1_t;
typedef struct sttype1* sttype1_pt;

but doesn't work when variable is of type defined this way:

typedef struct sttype1 {
      type1 field1;
      type2 field2;
      ...
} sttype1_t,*sttype1_pt ;

unfortunaly such constructs as in the second example are found in some libraries.
BTW autocompletion of field names for variable of type sttype1_pt is in 3.3.93 \
triggered with '.' and '->' operators (ideally only the second one should trigger - \
first one is syntax error).


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic