Very slow Intellisense & Code Completion in MAUI projects #11592
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)
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)
The text was updated successfully, but these errors were encountered: