-
Is it just me or IntelliSense does not cope well when generating entire modules.
Makes typing any code frustratingly slow at times. Visual Studio 2022 seems to deal with that a bit better but not by far. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Perf is an ongoing concern and one that we can certainly improve on. If you can use Report a Problem inside VS and indicate you have a perf concern and let it 'watch' you while you repro it, it will collect a perf trace so we can see just what's making it slow, to inform our efforts at improving performance. Be sure to drop a link to your feedback ticket here so I can ensure it gets routed to the right place. Pre-built NuGet packages is something we're considering. In fact the https://github.com/dotnet/pinvoke repo may be replaced with code generated by CsWin32 eventually. But in the meantime, my recommendation is to not generate more APIs than you need. Whole modules is making your life slower than is likely necessary. |
Beta Was this translation helpful? Give feedback.
-
I noticed this straight away when I started using CsWin32. Terrible performance. I've just upgraded my computer and it feels like Visual Studio is running on a single thread. Character display lags behind typing, some Intellisense operations take many seconds to complete. And I'm not using whole namespace imports. I'm using explicit method imports. |
Beta Was this translation helpful? Give feedback.
Perf is an ongoing concern and one that we can certainly improve on. If you can use Report a Problem inside VS and indicate you have a perf concern and let it 'watch' you while you repro it, it will collect a perf trace so we can see just what's making it slow, to inform our efforts at improving performance. Be sure to drop a link to your feedback ticket here so I can ensure it gets routed to the right place.
Pre-built NuGet packages is something we're considering. In fact the https://github.com/dotnet/pinvoke repo may be replaced with code generated by CsWin32 eventually. But in the meantime, my recommendation is to not generate more APIs than you need. Whole modules is making your life …