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

Very slow Intellisense & Code Completion in MAUI projects #11592

Closed
vsfeedback opened this issue Nov 23, 2022 · 2 comments
Closed

Very slow Intellisense & Code Completion in MAUI projects #11592

vsfeedback opened this issue Nov 23, 2022 · 2 comments
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging external t/bug Something isn't working t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)

Comments

@vsfeedback
Copy link

vsfeedback commented Nov 23, 2022

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)

@jsuarezruiz jsuarezruiz added area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging legacy-area-perf Startup / Runtime performance t/bug Something isn't working labels Nov 24, 2022
@jsuarezruiz
Copy link
Contributor

Transfer to the CommunityToolkit

@mattleibow
Copy link
Member

This issue was moved to CommunityToolkit/Maui#785

@dotnet dotnet locked and limited conversation to collaborators Nov 24, 2022
@Eilon Eilon added t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf) and removed legacy-area-perf Startup / Runtime performance labels May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging external t/bug Something isn't working t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)
Projects
None yet
Development

No branches or pull requests

5 participants