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

0

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.

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?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!


0

Patrick Wright wrote:

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

--- Original message URL:
http://www.jetbrains.net/devnet/message/5244725#5244725

The ChangesBar plugin can provide you an autocreated scope for the
active changelist.
You have to specifically turn it on in the options.

N.

0

Thanks for the tips!

0

请先登录再写评论。