homepage › Forums › BridgePoint Development and Integrations › Tips and Tricks (Development) › Reply To: Tips and Tricks (Development)
February 4, 2015 at 8:33 pm
#3932
Participant
Java templates.
– Go to Window > Preferences
– Navigate to Java > Editor > Templates
– Click the New… button
– Give the template a name
– Select it’s Context type (for instance Java)
– Give it a description
– Enter the java code you want auto-completion for
– Click OK
– In the Preferences window click Apply and OK
Now while in a java editor you can use control space, type the start of the template name, and find the name of your template (Also you can hit control space twice to see only templates). Hitting enter will apply the code block.