ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
856 stars 277 forks source link

Intellisense only work after typing something #1633

Closed Fubuchi closed 2 years ago

Fubuchi commented 2 years ago

Describe the bug

When I open a project intellisense doesn't work right away, it only works after I type something.

Steps to reproduce

  1. Open a F# project
  2. intellisense doesn't work
  3. Try to type something
  4. intellisense start to work

Screenshots

bug

Machine info

open-collective-bot[bot] commented 2 years ago

Hey @Fubuchi :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:

baronfel commented 2 years ago

At first glance this is a timing issue between when the file is opened and type checking is queued, and when the request for highlighting, etc, is sent. We should make some kind of top-level 'wait for at least one type check result for this file' method that we could use in highlighting, references, etc, to ensure that this doesn't happen.

witoldsz commented 2 years ago

I think it might be somehow connected to #1622? Not sure though.

Krzysztof-Cieslak commented 2 years ago

I can't reproduce this anymore - startup behaviour seems to be correct. startup