[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 269618] New: C++ code completion works ugly with operator->
From: Andrey Batyiev <batyiev () gmail ! com>
Date: 2011-03-28 14:13:09
Message-ID: bug-269618-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=269618
Summary: C++ code completion works ugly with operator-> (like
QPointer::operator-> and auto_ptr::operator->)
Product: kdevelop
Version: git master
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: Language Support: CPP
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: batyiev@gmail.com
Version: git master (using KDE 4.6.1)
OS: Linux
When some variable is a pointer to complex object, putting dot after it will
transform dot to arrow ("->"). However, QPointer is not itself a pointer and
contains separate operator->. But selecting operator-> from drop down list will
result in ugly code like pointer.operator->()->somefield.
While it's correct syntax, it's ugly. It would be nice to have
'pointer->somefield' instead.
Reproducible: Always
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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