VS Intellisense

This forum is meant for questions and discussions about the X# language and tools
Post Reply
stecosta66
Posts: 89
Joined: Mon Sep 26, 2016 12:59 pm
Location: Italy

VS Intellisense

Post 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
User avatar
robert
Posts: 4558
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: VS Intellisense

Post by robert »

Stefano,

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

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
stecosta66
Posts: 89
Joined: Mon Sep 26, 2016 12:59 pm
Location: Italy

Re: VS Intellisense

Post by stecosta66 »

Hi Robert,

now it's working... Doh!

I haven't touched anything

Stefano
stecosta66
Posts: 89
Joined: Mon Sep 26, 2016 12:59 pm
Location: Italy

Re: VS Intellisense

Post 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
User avatar
robert
Posts: 4558
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: VS Intellisense

Post 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
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply