Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Very slow Intellisense & Code Completion in MAUI projects #785

Closed
mattleibow opened this issue Nov 24, 2022 · 1 comment · Fixed by #815 or CommunityToolkit/Maui.Markup#162
Closed
Assignees
Labels
bug Something isn't working

Comments

@mattleibow
Copy link


Issue moved from dotnet/maui#11592


From @vsfeedback on Wednesday, November 23, 2022 7:37:51 PM

EDIT: Adding context to this issue:

It looks like the source generator in MAUI Community Toolkit is causing slowdowns with Roslyn.

TextColorToGenerator

The suggestion is to move to using ForAttributeWithMetadataName to create the analyzer which would mean creating an attribute and decorating any types you want the generator to run on with it.

This may reduce the usefulness of the generator towards the original goal, but I think short of making this change, perhaps we need to consider removing the generator, or otherwise making it opt-in somehow via msbuild property or something else.


This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
Working in MAUI projects within Visual Studio is extremely slow.
It already occurred in 17.3.* but even after upgrading to 17.4 I can wait ~ 10 seconds before code completoin or INtelliSense kick in.
Adding missing using-statements take up minutes now!

This does not happen in Console appplications, Xamarin projects, etc., only in MAUI solutions.


Original Comments

Feedback Bot on 11/14/2022, 00:42 AM:

(private comment, text removed)

Roi Chen -MSFT [MSFT] on 11/15/2022, 01:14 AM:

(private comment, text removed)

Schmidt, Helmut on 11/16/2022, 11:14 AM:

(private comment, text removed)

Feedback Bot on 11/17/2022, 04:46 AM:

(private comment, text removed)

Cyrus Najmabadi [MSFT] on 11/23/2022, 01:36 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@mattleibow
Copy link
Author


Issue moved from dotnet/maui#11592


From @jsuarezruiz on Thursday, November 24, 2022 7:16:45 PM

Transfer to the CommunityToolkit

@TheCodeTraveler TheCodeTraveler added needs discussion Discuss it on the next Monthly standup bug Something isn't working labels Nov 28, 2022
@TheCodeTraveler TheCodeTraveler changed the title Very slow Intellisense & Code Completion in MAUI projects [BUG] Very slow Intellisense & Code Completion in MAUI projects Nov 29, 2022
@TheCodeTraveler TheCodeTraveler removed the needs discussion Discuss it on the next Monthly standup label Dec 9, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
3 participants