java - How to use custom SurroundWith feature of eclipse -


In the eclipse circle, with the default options offered / hold while, switch, etc. Do I want to add another option to that list?

Below the popup is an option where we can configure the template, it displays a pre-defined list of templates, but I have a question about how to use one of those templates and pop it Up menu. ......

It looks like any template that is $ {line_selection's} Uses} is included in the variable list.

Then there will be a very simple template:

  {$ {line_selection}}   

which will add around {} to selection.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -