Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to search only in files that have been changed in IntelliJ IDEA?

Is there a way to search for a string in files that have changed? I want to search for the comments I've added before I commit them, but I only know how to search for comments in every file of my project.

like image 663
Daniel Kaplan Avatar asked Jun 24 '15 17:06

Daniel Kaplan


People also ask

How do I see files changed in IntelliJ?

View changes history for a file or selectionThe change history for a file is displayed in the dedicated History tab of the Version Control tool window Alt+9 . The change history for a selection of code is displayed in a separate window, in the form of the differences viewer.

How do I find previous searches in IntelliJ?

Find the search string in a project In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . IntelliJ IDEA places the highlighted string into the search field. To see a list of your previous searches, press Alt+Down .

How do I pull latest changes in IntelliJ?

From the main menu, choose VCS | Update Project or press Ctrl+T . The Update Project dialog opens. Select the update type (this strategy will be applied to all roots that are under Git version control): Merge the incoming changes into the current branch: select this option to perform merge during the update.


1 Answers

Current accepted answer is outdated, this is how you currently search only in your changed files: (don't miss that you should scroll down, the scrollbar is hidden when it's still)

enter image description here

like image 106
Guy Ben-Moshe Avatar answered Oct 05 '22 20:10

Guy Ben-Moshe