title: How to search inside a specific block of code in IntelliJ IDEA?
body: <p>How I can search <em>within</em> a specific block of code or selection in IntelliJ IDEA? </p>
  
  <p>I got used to using this feature in Eclipse. In Eclipse you can just double click on the beginning of a curly bracket, and it'll highlight the entire block of code. After which you could do <kbd>Command</kbd>+<kbd>f</kbd><br>
  (<kbd>Ctrl</kbd>+<kbd>f</kbd> on Windows) to search ONLY in the highlighted block, or you could just highlight whatever you need and search just that block of code.</p>