Holgerwa
Holgerwa

Reputation: 3460

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.

Upvotes: 7

Views: 4156

Answers (4)

Andreas Rejbrand
Andreas Rejbrand

Reputation: 108948

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)

Upvotes: 6

Holgerwa
Holgerwa

Reputation: 3460

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!

Upvotes: 2

Eldar Isayev
Eldar Isayev

Reputation: 31

Haven't you accidentally removed .NET framework? AFAIK some parts of Delphi IDE, like hints and refactorings, rely on .NET.

Upvotes: 1

Brian Frost
Brian Frost

Reputation: 13454

I had a similar problem with code completion apparently not working and found that answer here Code completion not working in Delphi 2009

You might find that this helps with your problem.

Upvotes: 1

Related Questions