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.
It's convenient to have the following behavior of code completion: MyType* t; t.val| => t->value after auto-completion incorrect "." should be replaced by "->" and vice versa: MyType t; t->val| => t.value incorrect "->" should be replaced by "."
There is a related issue http://www.netbeans.org/issues/show_bug.cgi?id=145500
added replacement of "." to "->" after "this" http://hg.netbeans.org/main?cmd=changeset;node=ea6469e016b7
Integrated into 'main-golden', will be available in build *200809020201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ea6469e016b7 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing IZ#97120: auto-replace dot or arrow when applied to know type
*** Issue 171042 has been marked as a duplicate of this issue. ***
consider for the next release due to lack of resources
Integrated into 'main-golden', will be available in build *201011020000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/38a046400ed8 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #97120 - auto-replace dot or arrow when applied to know type autoreplace . with -> if insert completion proposal
Integrated into 'main-golden', will be available in build *201102160501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3a51bf2f74b1 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: extra fix for #97120 - auto-replace dot or arrow when applied to know type -- dot-to-arrow replace when insert functions as well
support typedef chains http://hg.netbeans.org/cnd-main/rev/9c2c46bd6d47 test: http://hg.netbeans.org/cnd-main/rev/d33e0713e70d
> It's convenient to have the following behavior of code completion: > ... > and vice versa: > MyType t; > t->val| => t.value > incorrect "->" should be replaced by "." Friendly reminder: this is still broken :-)
(In reply to comment #9) > > It's convenient to have the following behavior of code completion: > > ... > > and vice versa: > > MyType t; > > t->val| => t.value > > incorrect "->" should be replaced by "." > > Friendly reminder: this is still broken :-) yes, I know :-) "->" to "." is still not implemented
*** Bug 230101 has been marked as a duplicate of this bug. ***