xsharp.eu • VS Intellisense
Page 1 of 1

VS Intellisense

Posted: Mon Dec 09, 2024 12:28 pm
by stecosta66
Hi All,

in VS 2022 (17.12.3) while typing a colon doesn't show any class members or methods, instead if I type a dot a get intellisense suggestions.

there is any settings I'm missing?

I'm using VO dialect and X# 2.21

thanks
Stefano

Re: VS Intellisense

Posted: Mon Dec 09, 2024 1:08 pm
by robert
Stefano,

Can you show us some sample code where you are doing this?

Robert

Re: VS Intellisense

Posted: Mon Dec 09, 2024 3:47 pm
by stecosta66
Hi Robert,

now it's working... Doh!

I haven't touched anything

Stefano

Re: VS Intellisense

Posted: Mon Dec 09, 2024 4:20 pm
by stecosta66
following up.

ok, I found that if there is no space between the editing text and a following symbol (in this case a ==), then intellisense doesn't get called.
If I insert a space then intellisense show up.

I made a recording to make things clearer:


https://i.imgur.com/OIFxfOQ.mp4


Stefano

Re: VS Intellisense

Posted: Mon Dec 09, 2024 4:25 pm
by robert
Stefano,
That makes sense

When you start typing the code looks like this:

Code: Select all

identifier==
When you position the cursor before the first '=' character and type a colon (':') then the code looks like this:

Code: Select all

identifier:==
The editor sees the ":=" token, which is an assignment token, and does not bring up code completion

Robert