Skip to content

Feature Request: command to restart language service #1150

@ntwilson

Description

@ntwilson

Sometimes Ionide fails to detect changes in other projects or files, probably similar to #1143, though I've also witnessed the problem when the changes are to a file within the same project. It seems intermittent to me; at least I haven't discovered a reliable way to reproduce it.

I propose that a command is added to the VS Code command palette to restart the F# language service, so that changes can be manually reloaded conveniently. I've noticed the same issue of the IDE getting out-of-sync with the code files when using other language plugins, and the severity of the issue is drastically reduced when there's a simple way to reload.

The only workaround that I know of is to close VS Code and reopen it. I thought that perhaps the "F#: Clear Cache" command would have the desired effect, but it must do something else. I can't discern any noticeable change to anything when I clear the cache.

Also, thanks for all the hard work. Ionide is amazing!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions