Home > Back-end >  Delphi Ctrl key of mouse or Find Declaration can't locate the source file
Delphi Ctrl key of mouse or Find Declaration can't locate the source file

Time:09-20

In Delphi code editor can use Ctrl + left mouse button to jump to the mouse under the class of the definition of the place, but today found a strange problem, EhLib component class cannot jump (including the USES of pas files), reinstall, then validated and found that some components can jump, others cannot, for example, EhLib ReportMachine cannot, but FastReport and some components can see half a day in the Delphi IDE, is a mystery, hope to have a person directly!

Library Path I already plus, with all the components are all the source code, can open view, the component itself can be normal use,

Don't jump to "build all" first commonly, if we can successfully compile general can jump...

Today also encounter this problem, even within the package unit mutual reference unit cannot Find Declaration; Just this third party control is to belong to a ProjectGroup1, so they can Build All the Projects. The last jump function is realized. But found that when saving project. Dof, engineering. CFG, engineering. Res are read-only. Is due to this reason.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Also recently encountered such a problem,
Was his studies, it is ok to do this:
The Project Options dialog box "Directories/Conditionals
"The content of the "Debug source path" field is set to "the Output directory" field as you can Find the content of the Declaration!

CodePudding user response:

Thank LZ share, but XE7 without "Debug source path"

CodePudding user response:

Why or not

CodePudding user response:

Useful!!
CNVCL Delphi7, I was confused for a long time, if the library path only dcu path, why cannot find definitions, Ctrl + click on my CNVCL of Debug source path to add source location!!
  • Related