[Bug 46684] code completion reacts on dot operator for pointer to struct

Jesse Yurkovich yurkjes at iit.edu
Thu Jan 15 21:06:02 UTC 2004


------- 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=46684      




------- Additional Comments From yurkjes at iit.edu  2004-01-15 18:58 -------
Hmm, well passive popups and/or underlining require the same code infrastructure as the automatic switching from . to -> etc. (both need the same underlying information for decisions) ... but they are not to far from what _already_ happens.  Kdevelop already parses the classes and the code to fill in the auto-completion and the real-time problem reporter.  The only extension that needs to be done to the parser is also part of bug 68610.  That wish would bring kdevelop's parser more inline with Eclipse's (more featureful) and also makes note of a future kate interface to allow for underlining of text (I'm a part time dev for kate).  But the main wish is to parse the code more intelligently wrt variables and other constructs.

I'm also willing to say that it _is_ possible to get 100% accurate results for the switching.  I've seen Visual Assist get it right in very complex casting situations where both objects and pointers are involved.  If kdevelop knows enough to popup a message or underline the text, it knows the correct form anyhow.

Regardless, one small configuration checkbox would suffice as an option so that any user could decide for himself.




More information about the KDevelop-devel mailing list