Forum > Debugger

Can the code editor in Lazarus IDE turn off the history word completion/hint fea

(1/1)

yinhuajian:
When I am writing .pas code, for example, I once entered "perName" as a variable, but now this variable has been removed. However, when I am typing code, the IDE still shows it as a text hint/suggestion. Can I disable this so it doesn't show up?

Martin_fr:
You refer to "it shows up at the top of the completion list/drop-down"?

It should only show up if it still exists somewhere in some unit. But normally it would show deep down in the list.

You can go to Tools > Options : Codetools > Identifier Completion.
There you find a checkbox "Show recent used identifiers on top": Disable it.

You can also set the order in which all items will be sorted.

You may or may not want "Include identifiers containing prefix" ... This means in addition to identifiers that the IDE believes to be valid (will be found by the compiler), it will also show words that exist anywhere else (even from comments). Those are normally only "from the current unit"

Navigation

[0] Message Index

Go to full version