How can I see the options with Intellisense?

This forum is meant for questions and discussions about the X# language and tools
Post Reply
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

How can I see the options with Intellisense?

Post 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
NoOptionsIntellisense.jpg (14.76 KiB) Viewed 325 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
User avatar
Chris
Posts: 4907
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

How can I see the options with Intellisense?

Post 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.

.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

How can I see the options with Intellisense?

Post 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
User avatar
Chris
Posts: 4907
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

How can I see the options with Intellisense?

Post 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!

.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply