10126: feat: Speculatively expand attributes in completions r=Veykril a=Veykril  Fixes #9866 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>