title: How to programmatically insert a parent element in all existing CSS selectors
body: <p>I have a large CSS file with over 1000 selectors. I want to add the ID <code>MyId</code> as parent element to ALL of the selectors.</p>
  
  <p>For example:</p>
  
  <pre><code>p{
  ...
  }
  .myclass li{
  ...
  }
  </code></pre>
  
  <p>will become:</p>
  
  <pre><code>#MyId p{
  ...
  }
  #MyId .myclass li{
  ...
  }
  </code></pre>
  
  <p>Is there any way to do this automatically, for example in PhpStorm or a tool?</p>