[Bug 71536] New: disable C++ menu choices while editing C code

Jon Smirl jonsmirl at yahoo.com
Wed Dec 31 04:59:02 UTC 2003


------- 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=71536     
           Summary: disable C++ menu choices while editing C code
           Product: kdevelop
           Version: CVS
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: jonsmirl at yahoo.com


Version:           CVS (using KDE Devel)

Edit->Complete text 
Edit->Make Member
Project-New Class

I think these are all used in C++ programs. They don't seems to do anything in my C code. They should probably be disabled when editing C code.

The Complete text function gives a messed up identifier list in C. I think it is trying to parse C as C++. C++ keywords are fair game for use in C programs. Using these keywords as variable messes up the parser.




More information about the KDevelop-devel mailing list