Hi,
When you have declared a variable and want to use it in a For Each statement, the intellisense / autocomplete does not fire when you press Ctrl+Space as you type the For Each statement.
Dim AccountAccountingLedger As DataRow
Dim dataTable As DataTable
' This is what I want - as I type For Each Accou and then press Ctrl+Space it should pick up the variable name
For Each AccountAccountingLedger In dataTable.Rows
Next
' The issue
For Each Account ' Now press Ctrl+Space - there is no intellisense / autocomplete
Next
I notice this is the same behaviour as VS2022 but thought it may be something that can be fixed somehow?
Many thanks
Gavin
[Modified 2 months ago]