No autocomplete or tool tips for members accessed on a cast expression
- Status
- Fixed
- Fixed in
- v26.9.3
- Area
- ide
- Source discussion
- https://forum.objo.dev/d/1138-no-autocompletion-or-tool-tip-for-a-public-property-of-an-instance
- Last updated
- 2026-09-20
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
In the code editor, member access on a cast expression gets no autocomplete and no hover tool tip. For example, with source declared As Object, typing (Integer(source)). shows no member list, and hovering ToString after entering it shows nothing. Writing the cast without the extra parentheses (Integer(source).ToString()) behaves the same way.
The code compiles and runs correctly, so nothing is flagged by the analyser; the editor simply has a blind spot. Expected behaviour: a cast is an expression like any other, so member completion and tool tips should work on its result.
Impact: any code that has to cast before accessing a member (common when working with Object values, collections of mixed types, or framework APIs returning Object) loses all IntelliSense from that point in the expression.