How do I create a "changed files" scope?
Hi
This is with IDEA 8.1.3.
I would like to have a scope including all changed files (or perhaps all within a changeset). Specifically, I want to perform some actions, like Optimize Imports, or Reformat, on the changed files before I commit (so I can review the action as a separate step before actually committing). I can't see any way to define such a scope. Is it possible?
Thanks
Patrick
请先登录再写评论。
Hello Patrick,
This scope is available in some dialogs like "Find Files" as a predefined
scope, but you cannot define such a scope manually.
If you want to reformat or optimize imports on all files in a changelist,
you can simply select it in the Changes view and invoke the actions from
the main menu - this will do the right thing.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!
Patrick Wright wrote:
The ChangesBar plugin can provide you an autocreated scope for the
active changelist.
You have to specifically turn it on in the options.
N.
Thanks for the tips!