Recent

Author Topic: Search in help files from IDE  (Read 3587 times)

serbod

  • Full Member
  • ***
  • Posts: 143
Search in help files from IDE
« on: September 09, 2013, 03:11:21 pm »
Often I need some function/method/object, but don't remember exact name. And even if I write the correct name, pop-up tip and 'F1' help will not work because the module name is not included. It's pain in ass even for experienced Delphi programmer, and hard trial for beginners.

In Delphi 7 was context help for any module (including third-party) and full-text search in help. What wrong with help in Lazarus?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11338
  • Debugger - SynEdit - and more
    • wiki
Re: Search in help files from IDE
« Reply #1 on: September 09, 2013, 03:48:54 pm »
Not an exact answer to the question, but maybe another solution to the problem.

Try the "identifier dictionary" . You may have to install the package "Cody". Then it is in the "Source" menu. (towards the bottom "Show Unit/Identifier dictionary")

You can assign it to keyboard too.

Normal code completion, only works, if
- you know the *start* of the identifier you are looking for
- the unit is already in the uses

"identifier dictionary" searches all units, and it can search for any part in the middle of a name

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Search in help files from IDE
« Reply #2 on: September 09, 2013, 04:09:40 pm »
Lazarus trunk version opens all chm files the first time you call context-sensitive help.

This should allow you to search across chms... however, there are also bugs with searching, see e.g.
http://bugs.freepascal.org/view.php?id=22763

Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

serbod

  • Full Member
  • ***
  • Posts: 143
Re: Search in help files from IDE
« Reply #3 on: September 17, 2013, 01:26:58 pm »
"identifier dictionary" is very good thing, but it show only few names, ans others show as '... and 35 more identifiers'

lazyfiend

  • New Member
  • *
  • Posts: 15
Re: Search in help files from IDE
« Reply #4 on: September 18, 2013, 03:04:31 pm »
@BigChimp: That is interesting. I was hoping for this feature (all chm files to combine)!

 

TinyPortal © 2005-2018