eclipse-jdtls / eclipse.jdt.ls

Java language server
1.79k stars 399 forks source link

Feature: provide option to customize code generation snippets #872

Open yyoncho opened 5 years ago

yyoncho commented 5 years ago

This is similar to in Eclipse where you can customize code templates like try/catch getters/setters. Feature originally requested at https://github.com/emacs-lsp/lsp-java/issues/78

fbricon commented 5 years ago

With #1024 merged, you now have partial control on the generated code for accessors, in that you can disable comment generation, when the java.codeGeneration.generateComments preference is set to false. But I'll keep this issue open in case we want to have further control over the actual templates.