title: Intellij (Android studio) member variable prefix
body: <p>How do I configure Android Studio (or Intellij generally) to correctly generate getters and setters for member variables with prefixes?</p>
  
  <p>If I have a class </p>
  
  <pre><code>public class Foo{
      int mBar;
  }
  </code></pre>
  
  <p>I want it to create <code>getBar()</code> instead of <code>getMBar</code> when I do <code>Refactor-&gt;Encapsulate</code> or <code>Generate</code></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I found the way to do it per-project basis: You just go <code>File-&gt;Settings-&gt;Project Settings-&gt;Code Style</code></p>
  
  <p>But it created a settings file somewhere in my project directory. </p>
  
  <p>I want a solution which allows me to do it once for all projects, present and future. </p>