title: Primefaces component library in IntelliJ IDEA 11
body: <p>Is it possible to add the Primefaces component library to IntelliJ IDEA 11 so I can use autocompletion on those tags too? In Eclipse it automatically supports this, but I don't know why it does so or how it works so I am not able to fix this. </p>
  
  <p>Here are two images on how it looks:</p>
  
  <p><img src="https://i.stack.imgur.com/xL3cQ.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/oih2I.png" alt="enter image description here"></p>
  
  <hr>
  
  <p><strong>UPDATE and FIX</strong><br>
  In order to fix this you have to go to <code>project settings | libraries</code> and then add the component library. </p>