This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Assume, I have a code: Class *c1 = new Class1(); Then I want to call method method1() from c1. I type c1 and press ".". After that the code completion windows arises and offers the methods to complete. I select "method1()" and press Enter. So, I have: c1.method1(); BUT this is a mistake! Should be c1->method1(); This is a trivial example. But imagine I develop GUI code with deep-nested mixes of "." and "->". For instance, "widget.textEdit->append("checked");" or something. And editor says nothing about mistakes. Moreover, it offers variations of code completion. How to solve... There is two variations: 1. When I press "." except of "->" must be autoreplacing proceeded, e.g. "." must be replaced to "->" automatically. This variation is I consider as the best. 2. When I press "." Code Completion windows should not arise and error message should be showed.
*** This bug has been marked as a duplicate of bug 145500 ***