Page 1 of 1
How can I see the options with Intellisense?
Posted: Thu Dec 09, 2021 3:33 pm
by ic2
Hello,
When I type this:
Catch ex As MySqlException
system.Windows.Forms.MessageBox.Show(ex:
I expect the options after typing ex: (or ex.). But all I see is this:
- NoOptionsIntellisense.jpg (14.76 KiB) Viewed 296 times
(And nothing when I type ex.)
I double checked the editor settings but I am not sure what I should change to get options (like ex:InnerException for example).
Dick
How can I see the options with Intellisense?
Posted: Thu Dec 09, 2021 3:42 pm
by Chris
HI Dick,
Can't reproduce this, it seems to work fine here. Are you using the latest X# release?
Also can you please make a quick experiment and change "MySqlException" to simple "Exception", does it work this way? Just to make sure that
it is not this specific exception type that causes the problem.
.
How can I see the options with Intellisense?
Posted: Thu Dec 09, 2021 4:37 pm
by ic2
Hello Chris,
I have the latest X# version, now I participate in the beta tests.
Experiment succeeded: changing MySqlException to Exception gave me all the options again indeed.
But as MySqlException inherits from System.Runtime.InteropServices.ExternalException via System.Data.Common.DbException so shouldn't that suggest the same keywords?
Dick
How can I see the options with Intellisense?
Posted: Thu Dec 09, 2021 4:45 pm
by Chris
Hi Dick,
Yes, it should work, so apparently this is a bug. I can see the problem now with some other exceptions, will open a ticket for Robert to llok into.
Thanks for reporting this!
.