ionide-vscode-fsharp icon indicating copy to clipboard operation
ionide-vscode-fsharp copied to clipboard

"!!MISSING: Command" after upgrade to 5.9.0

Open pkese opened this issue 2 years ago • 16 comments

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.

pkese avatar Nov 09 '21 15:11 pkese

Hey @pkese :wave:,

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 :smile:

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

isaacabraham avatar Nov 09 '21 23:11 isaacabraham

Same on MacOS and dotnet 6

ed-ilyin avatar Nov 10 '21 08:11 ed-ilyin

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)

beauvankirk avatar Nov 11 '21 07:11 beauvankirk

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

baronfel avatar Nov 15 '21 14:11 baronfel

@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 avatar Nov 15 '21 15:11 pkese

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 avatar Nov 15 '21 15:11 pkese

Unfortunately I can't reopen the ticket.

pkese avatar Nov 15 '21 15:11 pkese

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.

pkese avatar Nov 15 '21 15:11 pkese

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

image

realparadyne avatar Jun 29 '22 18:06 realparadyne

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

Any workaround for this?

psfinaki avatar Oct 12 '22 13:10 psfinaki

@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?

pkese avatar Oct 13 '22 11:10 pkese

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

psfinaki avatar Oct 13 '22 12:10 psfinaki

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 avatar Oct 13 '22 12:10 realparadyne

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 avatar Oct 13 '22 12:10 realparadyne

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.

realparadyne avatar Oct 24 '22 01:10 realparadyne