Broken undo poll.

Thomas' post bring me to a some idea. Won't say what for now.
So, the poll is: Everyone who is expecting problems with Ctrl+Z stop responding please post full list of the plugins
installed. Thanks!

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

41 comments
Comment actions Permalink

All standard IDEA plugins plus GenerateToString latest version. Nothing else


"Maxim Shafirov (JetBrains)" <max@intellij.com> wrote in message
news:cercq5$6oj$1@is.intellij.net...

Thomas' post bring me to a some idea. Won't say what for now.
So, the poll is: Everyone who is expecting problems with Ctrl+Z stop

responding please post full list of the plugins

installed. Thanks!

>

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"



0
Comment actions Permalink

CVS
Tomcat
JSR45 Integration
Copyright
Clover
Junit
Inspection Gadgets
Intention PowerPack
CVS Bar


On 8/4/04 3:11 PM, in article cercq5$6oj$1@is.intellij.net, "Maxim Shafirov
(JetBrains)" <max@intellij.com> wrote:

Thomas' post bring me to a some idea. Won't say what for now.
So, the poll is: Everyone who is expecting problems with Ctrl+Z stop
responding please post full list of the plugins
installed. Thanks!


0
Comment actions Permalink

CVS
Tomcat
JSR45 Integration
Copyright
Inspection Gadgets
Intention PowerPack
Weblogic
starteam

Cheers,

Bonny

0
Comment actions Permalink

Nothing else than the standard IDEA plugins.

Maxim Shafirov (JetBrains) wrote:

Thomas' post bring me to a some idea. Won't say what for now.
So, the poll is: Everyone who is expecting problems with Ctrl+Z stop
responding please post full list of the plugins installed. Thanks!

0
Comment actions Permalink

AutoBoxing
CVS
CVS bar
GenerateToString
IdeaJad
Inspection Gadgets
Intentino Power Pack
JSR45 Integration
RegexPlugin
SmartIntroduce
SpellCheckPlugin
SQL Query Plugin
Starteam
Tomcat
Weblogic

0
Comment actions Permalink

Not sure what this is about, but this are the plugins that I use...

Tunnel J - very usefull when you need it
Regex - unbelievably usefull
BSF Console + Bean Script - nice

+ all standard plugins

0
Comment actions Permalink

Aaaah, just had the 'UNDO' not working...

My plugins are...

TunnelPlugin,Tomcat,SQL Query Plugin, Jira Browser, Intention Power Pack, Inspection Gadgets, Hibernate Tools, GenerateToString for IDEA 4.5x, GenerateSerialVersionUID, BSFConsole.

I just installed GenerateToString to have a looksee at how usefull it is (nice stuff).

I used the Generate To String plugin to create the toString() implementation.... then if I try to UNDO / Ctrl-Z, it did not work... I can add new stuff then undo until the toString plugin was used. By holding down CTRL-Z (generate lots of undo requests fast) it eventually shoots past and continues undoing stuff.

I tried to produce a repeatable case... no luck.

-Tim

0
Comment actions Permalink

Maxim Shafirov (JetBrains) wrote:

One more idea (thanks to Alexey Kudravtsev) for a poll. Please post the value of "Optimize imports on the fly" option.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Hmm... happened again.. this time not related to the use of GenerateToString at all...

I had a try { ... } catch ( ... ) { ... }.

Delete the try {
Delete the } catch ( ... ) { ... }

and i end up with this imaginary UNDO boundary. I could do stuff... then undo up until i deleted the catch. after holding down Ctrl-Z it would eventually speed past and undo a whole lot of stuff.

-Tim

0
Comment actions Permalink

False for me

0
Comment actions Permalink

Switched off here.

Maxim Shafirov (JetBrains) wrote:

Maxim Shafirov (JetBrains) wrote:

One more idea (thanks to Alexey Kudravtsev) for a poll. Please post the
value of "Optimize imports on the fly" option.

0
Comment actions Permalink

Unchecked


On 8/5/04 5:55 AM, in article cet0ig$vmd$1@is.intellij.net, "Maxim Shafirov
(JetBrains)" <max@intellij.com> wrote:

Maxim Shafirov (JetBrains) wrote:

One more idea (thanks to Alexey Kudravtsev) for a poll. Please post the value
of "Optimize imports on the fly" option.


0
Comment actions Permalink

I think they are two completely different issues. If you have "optimize imports on the fly" on, undo definitely fails sometimes. It is even easy to reproduce the bug!

Turn the optimizing on and simply create the following class:

public class Test {
public static void main(String[] args) {
HashMap map = new HashMap();
}
}

Now select the "HashMap map = new HashMap();" row and press delete. Wait a second or two. After that, undo will not work anymore. The reason is that on the first undo press, IDEA will only return the imports it has deleted itself. Then it will automatically remove the imports again as there is still no code that uses them. Next time you press undo, it will do exactly the same thing, i.e. return the imports just to be removed again.

If you click ctrl-z quickly many times, IDEA will return the imports and then the missing row and thus undo starts working again.

I hope those instructions will help you to fix this annoying issue.

But as I said in the beginning, I think these two are separate issues. Sometimes the undo stops working even if optimize imports is toggled off. The problem is that this happens much more rarely and at least I have not been able to figure out a good way to reproduce it.

0
Comment actions Permalink

Markus Halttunen wrote:

Optimize imports issue fixed. The other issue seem to be something very similar to. Yet to found out what though.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Maxim Shafirov (JetBrains) wrote:

Markus Halttunen wrote:

>

Optimize imports issue fixed. The other issue seem to be something
very similar to. Yet to found out what though.


Could it have something to do with "Reformat Block" on paste?

Now, after I thought a bit over it, Undo worked quite well for me until
last week. The only option I changed since then was the reformat on paste
option.

just my 2 cent

Marc Salm


0
Comment actions Permalink

Marc Salm wrote:

Maxim Shafirov (JetBrains) wrote:

>>Markus Halttunen wrote:
>>
>>Optimize imports issue fixed. The other issue seem to be something
>>very similar to. Yet to found out what though.


Could it have something to do with "Reformat Block" on paste?

Now, after I thought a bit over it, Undo worked quite well for me until
last week. The only option I changed since then was the reformat on paste
option.

just my 2 cent

Marc Salm

Do not think so. Moreover most users report other conditions that leads to a trouble.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I did not yet see the broken undo,
but here'S one thought:
when undo fails, maybe the local history can help?


0
Comment actions Permalink

Is there a possibility to show the action, that would be undone, when
pressing Ctrl-Z?

Tom

0
Comment actions Permalink

Thomas Singer (MoTJ) wrote:

Is there a possibility to show the action, that would be undone, when
pressing Ctrl-Z?

Tom

Nope...
We can add the action name to be undone into toolbar actions' tooltip in the bugfix update EAP build. Does that make sense?

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Of course it helps, but it's very unhandy for a simple undo.

Michael Damberger wrote:

I did not yet see the broken undo,
but here'S one thought:
when undo fails, maybe the local history can help?


0
Comment actions Permalink

- autoboxing 0.8.6
- rearranger
- reformat 0.7.1
- sequence 0.5.3
- struts-console
- tabswitch 0.7.1
- tostring
- hexview
- ideajad

plus the standard ones, i have deleted starteam,weblogic and jsr45.

0
Comment actions Permalink

I have it unchecked because i remember reading problems with it and undo before, and i never rechecked it.

0
Comment actions Permalink

Is it also possible to make some sort of combo box in which it is possible to select a complete range of actions that need to be undone/redone?

Alexander

0
Comment actions Permalink

Alexander wrote:

Is it also possible to make some sort of combo box in which it is possible to select a complete range of actions that need to be undone/redone?

Alexander


That would be really nice. Then we can avoid clicking on undo multiple
times.

0
Comment actions Permalink

Standard ones plus:
MetricsReloaded
RegexPlugin
SpellCheckPlugin
autoboxing_0.8.6
contextviewer_0.7.4
deepfind
DescribeKey
jscrappy
MoveElement-0.2
rearranger-2026
SdeIntelliJPlugin (ties to an internal source control system)
simpleUML (the old 4.0 one)
SmartIntroduce-1.3
tabifier
TabSwitch
wrapper-1.4.1

Sheesh, I should probably reconsider some of those...

Regards,
Amnon

0
Comment actions Permalink

ANYTHING the help you get to the bottom of this!

I just have the standard plugs-ins installed.

0
Comment actions Permalink

There's an option to optimize imports on the fly?????!!!!!

....

....

It was off when it the UNDO was broken.

.... switched on, UNDO is still broken.

... :(

0

Please sign in to leave a comment.