Search code examples
delphidelphi-xe2

IDE Shortcut key differences between XE2 and XE


In XE, the action of Ctrl+Enter and Ctrl+Click when on a filename declaration in the USES clause seemed identical - it opened the file in the editor. Now in XE2 it seems that Ctrl-Click works ok (if the program has been compiled) but Ctrl-Enter only works on file names with full path specifications eg:

UArtResourceExplorerDlg in '..\..\Paslib32\src\Paslib32\UArtResourceExplorerDlg.pas',

If only

UArtResourceExplorerDlg,

is specified the IDE cant find it despite the program compiling fine. Is there some additional path information that I should be adding?


Solution

  • I have also noticed this behaviour change and find it very annoying. It forces me to reach for the mouse when I don't want to and never used to.

    So far as I can tell there is no way to restore the old behaviour and I suspect that this is in fact a regression in the IDE. One reinforcement for that view is that it used to work for RTL/VCL units and surely there's no need for me to tell the IDE where to find them.

    If nobody comes up with a solution then I think it should be reported to Quality Central.