Eclipse CDT automatically replace “.” with “->”

眉间皱痕 提交于 2019-12-10 23:44:11

问题


The Qt Creator have a neat feature I really like. When I'm typing obj.method, it would automatically replace the period (.) with an arrow (->), if obj is a pointer.

Makes sense actually. You never want to type pointer.something, it wouldn't be legal.

Is there a way to achieve a similar function with Eclipse CDT?

来源:https://stackoverflow.com/questions/3630711/eclipse-cdt-automatically-replace-with

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!