title: How can I modify the IntelliJ getter and setter code generation?
body: <p>In IntelliJ you can generate getter and setter methods for your Java class fields. The problem I have is that by our code conventions private fields need to start with an underscore, for example:</p>
  
  <pre><code>private String _name;
  </code></pre>
  
  <p>IntelliJ will generated the following getter and setter methods for this field:</p>
  
  <pre><code>public String get_reportName()
  {
      return _reportName;
  }
  
  public void set_reportName(String _reportName)
  {
      this._reportName = _reportName;
  }
  </code></pre>
  
  <p>I would like it to rather generate:</p>
  
  <pre><code>public String getReportName()
  {
      return _reportName;
  }
  
  public void setReportName(String reportName)
  {
      _reportName = reportName;
  }
  </code></pre>
  
  <p>Can I somehow customize the generation code to achieve this?</p>
  
  <p>Thanks</p>