IDE Keyword Varieties Between XE2 and XE

In XE, the action of Ctrl + Enter and Ctrl + Click when in the file name declaration in the USES clause was like - he opened the file in the editor. Now in XE2 it seems that Ctrl -Click works fine (if the program was compiled), but Ctrl - Enter only works with file names with full path specifications, for example:

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

If only

 UArtResourceExplorerDlg, 

it is indicated that the IDE cannot find it, despite the fact that the program compiles a fine. Is there any additional information about the path I should add?

+4
source share
3 answers

I also noticed this behavior change and find it very annoying. It makes me reach for the mouse when I don't want and never get used to it.

As far as I can tell, there is no way to restore the previous behavior, and I suspect that this is indeed a regression in the IDE. One of the reinforcements for this point of view is that it was used for the RTL / VCL modules, and, of course, I do not need to tell the IDE where to find them.

If no one comes up with a solution, I think it should be reported to Quality Central.

+3
source

I'm not sure if it is valid for XE / XE2, but if the path to the source file is in the library path, then Ctrl -Click will work. If you want Ctrl - Enter to work, try to make sure that the source path is in the viewing path. The same thing happens to me in Delphi 6/7.

0
source

In fact, Ctrl + Enter should open the file at the cursor position, while Ctrl + LeftClick searches for the character you clicked on, opens the block containing its declaration, and moves the cursor to the declaration (or in the case of the implementation method) of that symbol.

0
source

Source: https://habr.com/ru/post/1385901/


All Articles