| Summary: | kdevelop parser gets confused by comments in cpp sources | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Holger Schröder <holger-kde> |
| Component: | Code completion | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.0.2 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Holger Schröder
2004-03-22 20:43:14 UTC
Well classInst. methodName(); is valid syntax. So in your case QString tmp; tmp. tmp.<ctrl><space> I would expect the code completion to be looking for tmp.tmp. which it would never find as there's no tmp var on a QString. Hence no code completion can be offered with or without a comment in between. However - you are right - this is a bug. The following QHBoxLayout *top_layout = new QHBoxLayout(this); top_layout-> // lala .... widget()-><ctrl><space> doesn't work whereas top_layout-> widget()-><ctrl><space> will work. Not quite the same you were reporting though :-) |