开发者

Custom content assist template for java annotations on methods

开发者 https://www.devze.com 2023-01-14 02:23 出处:网络
In Eclipse 3.6, I can\'t seem to get the following content assist template to work: @Column(name=\"${cursor}\")

In Eclipse 3.6, I can't seem to get the following content assist template to work:

@Column(name="${cursor}")

Whenever I try ctrl-spc on a start string such as @C it only shows me the usual type completions, no additional entries (like the one I see when starting a for for instance). The help seems to be light on detail on how the pattern should look. Is content assist supposed to work for annotati开发者_JAVA技巧ons? If so, how?


Make the template without the @ ... such that you type co<crtl-spc> and then let generate @Column(name="${cursor}").

0

精彩评论

暂无评论...
验证码 换一张
取 消