Recent

Author Topic: v3.99 code completion question  (Read 2702 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10001
  • Debugger - SynEdit - and more
    • wiki
Re: v3.99 code completion question
« Reply #15 on: April 22, 2024, 02:07:31 pm »
For those using the "always complete on type" with "all keywords" I added a few missing keywords. (array, set, in some cases end, ...)

440bx

  • Hero Member
  • *****
  • Posts: 4212
Re: v3.99 code completion question
« Reply #16 on: April 22, 2024, 10:44:12 pm »
It looks like I messed up something else in the configuration of my Lazarus v3.99.   Now when I type a Windows function, I no longer get the little window with the parameters for the function. (I changed so many settings to prevent the code completion that I've lost track of them.)

In the screenshot, I wanted the little codetools window that shows the parameters for "GetTextExtentPoint32" to appear.  My question is: what is the setting to make that window appear ?

thank you for your help.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10001
  • Debugger - SynEdit - and more
    • wiki
Re: v3.99 code completion question
« Reply #17 on: April 22, 2024, 10:56:43 pm »
Tools > Options > Editor > Completion and hints > "Auto display function prototypes"

And I have the feeling the config loading got broken, because it was off for me too, and it shouldn't have been.


And otherwise make sure there isn't any code that codetool can't parse. (If it compiles, still certain generics can cause issues...)
Also Ctrl-Shift-Space  that should force the parameter hint.

440bx

  • Hero Member
  • *****
  • Posts: 4212
Re: v3.99 code completion question
« Reply #18 on: April 22, 2024, 11:08:26 pm »
Tools > Options > Editor > Completion and hints > "Auto display function prototypes"
That did it :)  Thank you!
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018