[Edit: Translation below]
Hallo!
Ich benutze Lazarus zwar schon seit 0.9er Zeiten, manchmal jeden Tag, manchmal ein paar Monate gar nicht, aber heute ist mir was aufgefallen was mir bislang entgangen ist:
Durch ein sehr unbequem benanntes Enum war ich gezwungen heute ungewöhnlich viel Zeit in der Autocomplete-Dropdown-Liste zu verbringen und mir ist aufgefallen daß diese Liste (zumindest bei mir) nicht nach dem an der monentan befindlichen Position erlaubten Typ gefiltert ist. Das hat mich entweder noch nie gestört oder ich habe es nie bewußt wahrgenommen. Heute jedoch schon. Ich bekomme Vorschläge für so ziemlich jeden Bezeichner der an dieser Stelle sichtbar ist, jedoch würde ich erwarten daß die Liste irgendwie sinvoll gefiltert ist nach den Bezeichnern deren Typ an dieser Stelle überhaupt nur in Frage kommt, also entweder direkt ein Bezeichner dieses Typs oder irgendwas was ich dereferenzieren kann um evtl. indirekt an einen passenden Bezeichner dranzukommen, nicht jedoch offensichtlich komplett unpassende Typen wie zum Beispiel String oder Integer wenn ich eigentlich ein Enum brauche.
War das schon immer so, ist das Absicht oder hab ich bei mir was kaputtkonfiguriert?
---
Sorry, It seems I need to translate this (I mistakenly believed I was still in the German forum):
I have been using Lazarus since 0.9 but today for the first time I noticed something I have never noticed before:
Due to a very inconveniently named enum I had to spend much more time than usual in the autocomplete list today, trying to autocomplete on parts of my enum constant names. Before today I have never had the feeling something is wrong with this list but today the way it works made it very difficult for me to navigate the list for this particular task. When hiting Ctrl-Space the autocomplete dropdown the list will show every name that is visible in the current scope and it will not filter by the type that would actually be allowed in the current position. For example I am calling a function and it needs an enum of a certain type but it will suggest every name that is visible, including even completely nonsensical stuff like variables of type string or integer, or even worse other enums of different type but similar names, I would have expected to show only names of that exact enum type and then all names of objects that could theoretically be dereferenced to indirectly refer to something of the needed type, but not show me obviously wrong values that are neither the needed type nor can be dereferenced in any way.
Has it always been that way, is this intentoional or did I just mess up my configuration?