How to deal with Camel Case for Eclipse Templates?

前端 未结 2 780
心在旅途
心在旅途 2021-01-11 22:22

I\'m trying to write an Eclipse template which will create getters and setters when I create an attribute. My current template works, except for the camel casing for the ge

2条回答
  •  醉梦人生
    2021-01-11 23:04

    Nope, it's not possible to do it straight up using Eclipse. It's actually logged as a bug:

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=220953

    but you should be able to add a custom extension to allow this, but you'll need to learn about the Eclipse framework and plugins in order to do that.

提交回复
热议问题