Skip to content

IDE code analysis starts to freeze on large files affecting Intellisense, text coloring, tooltips and responsiveness #16050

Open
@edgarfgp

Description

@edgarfgp

While working in Fabulous.Avalonia, had my project in a refactoring "broken" state, and suddenly it went in a borked state . Had to manually remove parts of the code until the IDE was able to handle it again.
Repro steps
Provide the steps required to reproduce the problem:

If possible, attach a zip file with the repro case. This often makes it easier for others to reproduce.
The zip file should ideally represent the situation just before the call/step that is problematic.

You can find the related IDE snapshot if that help diagnosing the issue https://github.com/fabulous-dev/Fabulous.Avalonia/tree/repro-code-analysis-freeze/idesnapshots

Expected behavior
Regardless of the state of your project. the IDE should be able to analyze/report the state of your code.

Actual behavior
IDE code analysis starts to freeze on large files affecting Intellisense, text coloring, tooltips and responsiveness

Known workarounds
Start removing part of the code in State.fs until the IDE/Compiler is able to handle the solution
Provide a description of any known workarounds.

Related information

Provide any related information (optional):

  • Operating system: Window, macOS
  • .NET 7.0 (android, iOS)
  • Editing Tools: Rider

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions