Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi IDE Editor doesn't show hints anymore

My Delphi 2009 has stopped today to show hints in the Editor-window. Nothing happens when I mouse-over any identifier. Tooltips for IDE-buttons are still shown.
I can also not CTRL-click anything anymore.
As far as I remember, I didn't change anything lately.
What could cause this?

Edit:
I found the setting, see my answer below.

like image 523
Holgerwa Avatar asked Jan 02 '11 21:01

Holgerwa


2 Answers

Have you tried to restart the IDE?

If the problem persists, you might have disabled CodeInsight. To turn this on again, go to Tools/Options, select "Editor Options"/"Code Insight" and make sure that the options "Code Completion", "Tooltip Help Insight", "Auto Parenthesis", "Error Insight", "Block Completion", "Code Template Completion", "Code Parameters", "Auto Complete", "Tooltip Expression Evaluation", and "Tooltip Symbol Insight" are all checked.

Code completion options
(High-Res)

like image 165
Andreas Rejbrand Avatar answered Sep 26 '22 23:09

Andreas Rejbrand


I found the setting:
In Option / Editor Options / Source Options, there is a setting named "Use syntax highlight".

alt text

The help says: "Enables syntax highlighting. To set highlighting options, use the Color page".

This setting additionally enables / disables

  • Hints on identifiers
  • the ability to CTRL-click on identifiers
  • the context menu entry "Find declaration"

I would have not expected this when reading the help text.

Thanks to all for your suggestions!

like image 41
Holgerwa Avatar answered Sep 26 '22 23:09

Holgerwa