Eclipse create new combination keys

2

I would like to create a keyword like sysout + Control + Spacebar , so that System.out.println is automated. The case would be to write public static final , or with a combination type psf + Ctrl + Space or directly with a combination of keys what do. It would be for Eclipse Neon .

    
asked by Felipe Rodriguez Fonte 05.12.2016 в 10:43
source

2 answers

1

Create a new Template (template) 1 .

The content assistant uses templates to allow the use of common code fragments. To create a new template:

  • Click Window > Preferences .
  • Expand Java , expand Editor and select Templates .
  • Click on New .
  • Notes

  • See Creating and editing templates .
  • answered by 05.12.2016 / 20:51
    source
    1

    The route to change the configuration is:

      

    window - > preferences - > java - > editor - > content assist

        
    answered by 05.12.2016 в 10:47