Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Obsolete
Assignee
Anton Makeev
Subsystem
Editor. Editing Text
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Jonas Kvarnstrom
    4 years ago (19 Feb 2007 21:26)
  • Updated by   root
    2 years ago (17 Jan 2010 20:42)
  • Jira: IDEADEV-14866
    (history, comments)
 
IDEA-37193 "Cannot Undo" dialog with empty file list after reformatting twice
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
Press ctrl-alt-L + enter to reformat the current file. Press Ctrl-Z – you can undo.

Press ctrl-alt-L + enter to reformat the current file. Press ctrl-alt-L + enter again, which is a no-op action since the file is already reformatted. Press Ctrl-Z – you get a "cannot undo" dialog complaining about an empty list of problem files.

Related to http://jetbrains.net/jira/browse/IDEA-9528 but I don't know if it's the same issue since it happens under different circumstances.

(By the way, the message should probably be something like "The following files affected by this action have already been changed". And you should say which action you mean, or perhaps say something like "affected by the action you are trying to undo".)
Comments (3)
 
History
 
Linked Issues (?)
 
Jonas Kvarnstrom
  Jonas Kvarnstrom
21 Aug 2007 12:27
4 years ago
It seems I can't reproduce this in 7.0M2.
Sascha Weinreuter
  Sascha Weinreuter
21 Aug 2007 12:59
4 years ago
Still see this in #7230. Although it could be related to a plugin, especially the Copyright plugin likes to interfere with the Undo, though usually only when creating new files.
Jonas Kvarnstrom
  Jonas Kvarnstrom
21 Aug 2007 15:33
4 years ago
OK, I guess it is still there then. I've never used the Copyright plugin so there had to be something else responsible when I experienced the problem.