Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法(通过 UI 或在配置文件中)将 Eclipse CDT 生成的 C++ getter/setter 的名称从 Java 样式getSomething()更改为更像 C++ 的名称something()?
getSomething()
something()
现在可以通过以下菜单:
不幸的是,目前绝对没有办法这样做,因为get和set前缀在Generate Getters/Setters向导代码中是硬编码的。