Recent

Author Topic: Where does one find what - missing documentation  (Read 5827 times)

Birger52

  • Sr. Member
  • ****
  • Posts: 309
Re: Where does one find what - missing documentation
« Reply #30 on: January 26, 2020, 07:24:27 pm »
@Martin_fr

Not here...

There is a menuitem "Ad Unit to Uses Section"  (shortcut Alt F11) - and it gives me an empty window.
Lazarus 2.0.8 FPC 3.0.4
Win7 64bit
Playing and learning - strictly for my own pleasure.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: Where does one find what - missing documentation
« Reply #31 on: January 26, 2020, 07:54:42 pm »
Manually going to help, never occurred to me....  :o (Probably should spend some time there)
But found it, once I figured how to look in the lcl.hcm - it's not default, and not obvious that there are several helpfiles.

  • Properly install CHM help (see my first message with screenshot)
  • Use the index or fulltextsearch of the help (my second message with screenshot)
« Last Edit: January 26, 2020, 09:26:28 pm by marcov »

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: Where does one find what - missing documentation
« Reply #32 on: January 26, 2020, 09:25:23 pm »
I installed Cody and try to reproduce the example given by Martin and I got the following: what did I wrong ?

Cody dictionary collects identifiers of all units the IDE parses. It does not scan on its own. A quick way to parse many units, is View / Code Browser.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Where does one find what - missing documentation
« Reply #33 on: January 26, 2020, 09:36:05 pm »
Probably also View > View unit dependencies.
and check the chekcbox "all package units"

In other words: Cody "initializes" while you use the IDE (starting from when you installed cody).
Once it has the data, you can use it in any project.

Since I have been using it for a long time, I usually always get results.

dbannon

  • Hero Member
  • *****
  • Posts: 2778
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Where does one find what - missing documentation
« Reply #34 on: January 26, 2020, 11:01:18 pm »
The Identifier Dictionary is a great tool but it needs to 'learn' its stuff before it can help you. If you build a new Lazarus for example, the Dictionary is empty.  I have in the past copied the the dictionary over from a previous Lazarus but looks like I did not write that little trick down, but its easy enough and a good idea.

For people like me who jump between different Lazarus versions, we could do with a "Lazarus Common", one place all versions look in for Dictionary and Help files perhaps ?
 
Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

jcmontherock

  • Full Member
  • ***
  • Posts: 234
Re: Where does one find what - missing documentation
« Reply #35 on: January 27, 2020, 12:11:53 am »
With a right parenthesis after TPanel the example works for me. It will be usefull, tanks a lot
Windows 11 UTF8-64 - Lazarus 3.2-64 - FPC 3.2.2

 

TinyPortal © 2005-2018