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

List:       kdevelop-bugs
Subject:    [Bug 306777] New: Completion in middle of initializer list should add trailing comma
From:       Rolf Eike Beer <kde () opensource ! sf-tec ! de>
Date:       2012-09-14 6:15:52
Message-ID: bug-306777-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=306777

            Bug ID: 306777
          Severity: normal
           Version: 4.3.1
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: Completion in middle of initializer list should add
                    trailing comma
    Classification: Unclassified
                OS: Linux
          Reporter: kde@opensource.sf-tec.de
          Hardware: openSUSE RPMs
            Status: NEW
         Component: code completion
           Product: kdevelop

class foo {
...
int a;
int b_long_name;
inc c;
}

foo::foo()
  : a(0),
  c(0)
{}

If I go to the beginning of the c line and type "b_l" and use the code
completion the result looks like this:

foo::foo()
  : a(0),
  b_long_name()
  c(0)
{}

Note that the comma at the end of the new line is missing so the file now has
syntax errors and isn't parsed correctly anymore.

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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