Mr. Daniel 0 Posted March 3, 2021 Dear all, I am struggling with 10.4.2. Rename refactoring worked during 1 hour after installation but has suddenly stopped working (the menu is grayed out, and control shift E, show the Find dialog instead of the refactor window). As well as control G, to 'go to' a variable or method declaration, doesn't work anymore. What is the cause of this behaviour ? Regards, Daniel Share this post Link to post
Bill Meyer 337 Posted March 3, 2021 20 minutes ago, Mr. Daniel said: Rename refactoring worked during 1 hour after installation but has suddenly stopped working (the menu is grayed out, and control shift E, show the Find dialog instead of the refactor window). As well as control G, to 'go to' a variable or method declaration, doesn't work anymore. What plug-ins have you installed? Share this post Link to post
Der schöne Günther 316 Posted March 3, 2021 Sidenote: I sometimes have this with 10.0 Seattle, so this is not necessarily related to 10.4.2. Share this post Link to post
Attila Kovacs 629 Posted March 3, 2021 a right click in the editor enables it again, old bug Share this post Link to post
Mr. Daniel 0 Posted March 3, 2021 It is out of the box sydney 10.4.2 with TMS VCL UI and FlexCel components installed. @Attila Kovacs, what right click do you mean ? Share this post Link to post
Mr. Daniel 0 Posted March 3, 2021 It looks like the IDE is kinda struggling with itself, because after some time code completion also failed. Now that I have restarted the IDE, code completion works again. Share this post Link to post
Rob Truby 4 Posted March 4, 2021 (edited) Somewhat related, but for a different refactoring. Using the inline var definition breaks the extract method refactoring. procedure Test; var Value: Integer; begin Value := 0; for var i := 0 to 10 do Inc(Value); end; For the above you can't extract Value := 0; as a method. If i is defined in the var section you can. procedure Test; var i, Value: Integer; begin Value := 0; for i := 0 to 10 do Inc(Value); end; I have submitted a report for this RSP-33176 Edited March 4, 2021 by Rob Truby 1 Share this post Link to post
David Schwartz 426 Posted March 5, 2021 (edited) I've noticed this quite a bit. Also, for some projects, the <ctrl>-Space does nothing, even though the project compiles and runs fine. Restarting the IDE doesn't help. Edited March 5, 2021 by David Schwartz Share this post Link to post