开发者

How to increase priority of template proposals in Eclipse?

I am using Eclipse Indigo,I have created a template proposal by the name Connection (Similar to java.sql.Connection). This proposal, through additional comments, would prompt developer of any possible vulnerabilities that may occur using java.sql.Connection.

Is there any way to increase the priority of template proposal so that when I type ctrl+space my proposal,Connection, would be on top of eclipse's Connection pro开发者_运维问答posal?


If you type Ctrl+Space+Space, Eclipse should display only your Template Proposals.

This "Content Assist Cycling" behaviour is configured in Window > Preferences > Java > Editor > Content Assist > Advanced.

Alternatively, rename your template to connection with a lowercase c, and it should appear at the top of the list.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜