Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"!!MISSING: Command" after upgrade to 5.9.0 #1620

Open
pkese opened this issue Nov 9, 2021 · 16 comments
Open

"!!MISSING: Command" after upgrade to 5.9.0 #1620

pkese opened this issue Nov 9, 2021 · 16 comments
Labels
bug language services Problems related to language services - FSAC or FCS

Comments

@pkese
Copy link

pkese commented Nov 9, 2021

After upgrade to 5.9.0 I'm seeing !!MISSING: Command in code lens for every line.

Downgrading Ionide back to 5.8.1 fixed the issue.

This is a ssh-remote seession from Linux to Linux, both with dotnet 5.0.402.

@open-collective-bot
Copy link

Hey @pkese 👋,

Thank you for opening an issue. We will get back to you as
soon as we can. Also, check out our OpenCollective and consider
backing us.

https://opencollective.com/ionide

PS.: We offer backer support for all backers. Don't forget to add backer label when you start backing us 😄

@pkese pkese changed the title !!MISSING: Command after upgrade to 5.9.0 "!!MISSING: Command" after upgrade to 5.9.0 Nov 9, 2021
@isaacabraham
Copy link

isaacabraham commented Nov 9, 2021

Seeing this, too. I'm on Windows. Also - switching from CodeLens to Line Lens fixes the issue.

@ed-ilyin
Copy link

Same on MacOS and dotnet 6

@beauvankirk
Copy link

If anyone is able to verify this issue is resolved by the PR I submitted here, I can open the 'real' one on FSAC as well/instead. (More info in the PR)

@baronfel
Copy link
Contributor

Closing, as this was implemented by @beauvankirk and released as part of 5.9.1.

@pkese
Copy link
Author

pkese commented Nov 15, 2021

@beauvankirk @baronfel

I'm still getting this with Ionide 5.9.1.
But what is really interesting is that after a while it starts working for new files that I open.

It is as if the FSAC takes a while to start responding to Ionides' requests (that's just my hypothesis, there may be other causes) and everything that Ionide analyzes up to that point is presented as "!!MISSING: Command!! | !!MISSING: Command!!".

But files that I open later get proper code lens hints.

Problem is that Ionide caches those initial 'missing' responses and won't update.

@pkese
Copy link
Author

pkese commented Nov 15, 2021

And sometimes it resolves some lines completely and some just partially:

  • both references and type on the top
  • only type on the bottom
    image

@pkese
Copy link
Author

pkese commented Nov 15, 2021

Unfortunately I can't reopen the ticket.

@baronfel baronfel reopened this Nov 15, 2021
@pkese
Copy link
Author

pkese commented Nov 15, 2021

No. My hypothesis was wrong. It's not that after a while FSAC starts working... rather it stays inconsistent. Sometimes it works, then after a while I open another file and it doesn't.

@Krzysztof-Cieslak Krzysztof-Cieslak added bug language services Problems related to language services - FSAC or FCS labels Nov 19, 2021
@realparadyne
Copy link

I am seeing this on multiple Windows PC's using 6.0.6. But it's working ok editing a project on WSL.

image

@psfinaki
Copy link

Can reproduce it in 7.3.0:
image
Switching to LineLens doesn't help - the info just disappears altogether.

Any workaround for this?

@pkese
Copy link
Author

pkese commented Oct 13, 2022

@psfinaki I've found out that sometimes, I'd just close that editor (file within the project) and open it again and it would display normally ... as if it's just initial load that fails to work.
Is that your experience as well?

@psfinaki
Copy link

@pkese well yes, just what you say - sometimes it helps :) which is, well, annoying and mysterious.

@realparadyne
Copy link

I am still getting this or other similar issues across multiple PC's. I keep wanting to make use of VS Code + Ionide for projects but sadly it seems that 80+% of the time (across multiple systems) it's just non-functional so I must stick with full VS 😒

I just tried various combinations of closing and opening, closing restarting, and then opening the editor on this new PC with recent fresh installs of everything, and it's just the MISSING command and no intellisense.

Is there some procedure for capturing detailed diagnostics that will pinpoint what is configured wrongly on this device? What do I have installed that's the wrong version? What did I install in the wrong order?

1 similar comment
@realparadyne
Copy link

I am still getting this or other similar issues across multiple PC's. I keep wanting to make use of VS Code + Ionide for projects but sadly it seems that 80+% of the time (across multiple systems) it's just non-functional so I must stick with full VS 😒

I just tried various combinations of closing and opening, closing restarting, and then opening the editor on this new PC with recent fresh installs of everything, and it's just the MISSING command and no intellisense.

Is there some procedure for capturing detailed diagnostics that will pinpoint what is configured wrongly on this device? What do I have installed that's the wrong version? What did I install in the wrong order?

@realparadyne
Copy link

Adding a global.json to block use of preview SDK's seems to have resolved it.

But this makes it difficult to experiment with new .Net 7 features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug language services Problems related to language services - FSAC or FCS
Projects
None yet
Development

No branches or pull requests

8 participants