Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect file changed by myself in IntelliJ IDEA

Is it possible in Intellij to mark edited file tabs with a star (*) so that I can see which files I have changed.

like image 429
Wayne Avatar asked Jul 14 '14 13:07

Wayne


People also ask

How do I track changes in IntelliJ?

Right-click anywhere in the editor and choose Local History | Show History from the context menu. In the dialog that opens, the left-hand pane shows a list of all saved revisions of the current file with timestamps.

How can I see commit history in IntelliJ?

Select a directory or multiple directories in the Project tool window and choose Git | Show History from the context menu. A new tab is added to the Git tool window Alt+9 that shows commits filtered by the selected folders.

How do I undo a file change in IntelliJ?

For most recent changes, including refactorings, press Ctrl+Z or choose Edit | Undo from the menu.

Where does IntelliJ store Local History?

Local history file location: They are stored in ${idea. system. path}/LocalHistory/ . See the Directories used by the IDE page in the user guide (and this legacy IDEA document) for the location of the IntelliJ IDEA idea.


1 Answers

By default, Intellij automatically saves your edits every few seconds, and every time it looses focus. So, most of the time your files are not in a changed state, so no icon is needed. However, under Settings, IDE Settings, Editor, Editor Tabs, there is an option to Mark modified tabs with asterisk, which will enable the feature you want.

enter image description here

like image 169
Software Engineer Avatar answered Oct 16 '22 20:10

Software Engineer