Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi 10 Seattle IDE issue: no hint after ( on a function/proc

Tags:

delphi

I installed Delphi 10 Seattle on 2 machines. I am having the same issue on both.

When I'm typing a function/proc and type the (, a hint used to popup in previous versions showing the function parameters and which step you were on, but this is no longer working. Was it removed?

like image 570
hikari Avatar asked Mar 12 '23 21:03

hikari


1 Answers

No, it was not removed. It works fine for me.

enter image description here

This feature is called Code Parameters, and it's part of Code Insight. There are a few common reasons for Code Insight to not work properly:

  • It's been disabled. Go to Tools->Options->Editor Options->Code Insight, make sure the Source file type combobox says Pascal Files, and confirm that the Code Insight options are enabled:

Code Insight Options dialog

  • Errors in your code prevent the IDE's compiler (aka the *kibbitz compiler, which is different from the normal compiler and the command-line compiler) from interpreting your code properly. Comment out the line you're currently working on, and hit Ctrl+F9 to compile, and fix any errors it reveals, and then try again.

  • The method, function or procedure for which you're expecting code parameters help isn't in scope for the kibbitz compiler. Add the proper units to your uses clause to make the function or procedure available.

  • You've set the longest delay in Code Insight options (in the same location described above and displayed in the image of the configuration dialog), and you've not waited long enough for them to appear. Lessen the delay using the thumb on the trackbar in that dialog. You can also manually invoke the feature by pressing Ctrl+Shift+Space.

like image 51
Ken White Avatar answered Apr 19 '23 23:04

Ken White