Focus on Active Task

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
Apr 09, 2018
1 611
Focuses the project tree view on the active task, only displaying relevant files/paths.

Recent change notes


  • Fixed plugin on platform version 2018.1 (note: this update is untested on 2017.*, 2018.1+ is recommended)
  • Added a togglable [o] / [‚óŹ] icon on the Project view's toolbar (might look a bit weird on dark themes, will attempt to fix in a future version)


  • Alt-click can now be used on the Project view tree to temporarily unfilter elements (nodes)
  • Elements whose children are filtered will now have a small "Filtered" visual indicator written next to them
  • Files within External Libraries node are now filtered just like any other files
  • Fixed Favorites view being impacted by this plugin when it wasn't intended (may be looked into in a future version)
  • Some optimizations have been made to have the plugin work quite a bit quicker

General usage instructions

This adds a "Focus on Active Task" toggle action on the View menu. Use it (Ctrl+Shift+Q is the default shortcut) to filter your project tree with the currently active task/opened files. Filtered paths will be marked as such ("Filtered") on the tree view. Once enabled, you can also Alt-click any filtered folder to temporarily unfilter it and show all its children (Alt-clicking on empty space will unfilter all top-level nodes).