开发者

Is it possible to list all files which have local changes in IntelliJ IDEA (outside of "Changes" view)

开发者 https://www.devze.com 2023-04-01 06:47 出处:网络
IntelliJ IDEA offers two very handy actions as part of the \"View\" menu: \"Recent Files\" and \"Recently Changed Files\". Is there a way to only list the files 开发者_如何学JAVAwhich have local chang

IntelliJ IDEA offers two very handy actions as part of the "View" menu: "Recent Files" and "Recently Changed Files". Is there a way to only list the files 开发者_如何学JAVAwhich have local changes? (In a non-intrusive style like the actions above do, not as part of the "Changes" view)


2020.1 and later versions have an option to use the new non-modal Commit tool-window:

Is it possible to list all files which have local changes in IntelliJ IDEA (outside of "Changes" view)

If you enable this option, the local changes will be in the Commit tool window.

Previous IDE versions have the following ways to view modified files:

  • Local changes tab (View | Tool Windows | Version Control - Local Changes), default shortcut is Alt+9.

  • Changed files Scope in the Project view

Previously the only way to view the changed files was via the Commit dialog:

Version Control | Commit Changes will show a dialog with locally changed files.


You can go on the Project Pane, and find the option

 View as > Scope > Changed Files
It will show a tree with only the modified files.


Pressing Alt+9 (in MacOS X Cmd+9) you can get a panel with the changed files


With 2020.2, you can view the local change list with the tab "commit" on your left (keystroke alt+0):

Is it possible to list all files which have local changes in IntelliJ IDEA (outside of "Changes" view)


If you are not using version control tools (git, svn), click on the module directory, right click and select "Local History - Show History", all file changes will be listed.


Press cmd + E ( ⌘E ios ) or Ctrl+E ( windows ) and mark "show edited only" box, then you can see only edited files.

0

精彩评论

暂无评论...
验证码 换一张
取 消