Skip to content

Editing a file with UI code (that has "open Bolero.Html") is very slow #272

@kgday

Description

@kgday

Admittedly I haven't got a very good computer at present, but when editing F# , the experience is usually Ok, including in a bolero project that is not referencing Bolero.Html.

However, when one has to reference Bolero.Html, the CPU usage fo visual studio hits the roof and stays there for a long time. During this time, the colorization and intellense is not working. If I continue typing , it reaches a point that we get a lag for each character. It makes doing UI design work terrible. Likewise if using templates. The template html file is ok but when you then in the fs file where you have to reference that template you get the same deal.

I have reduced the affected code a little bit by putting view functions and code in separate files to the model, message and updates, they by isolating the painful stuff.

I see the same issue when creating a new project from the latest Bolero templates.

I would hope someone has a solution to this. Is there are setting in Visual Studio I can set? I have tried a bunch of stuff, including turning off Intellicode for fs files.

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