✅ Names take a long time or restart to update on code side in VSCode
Changing/Adding a name to an element in the XAML file takes a very long time to update/even be available on the code side.
For example changing myGrid => myGrid1, VSCode still suggests the name myGrid is correct and throws an error if written any other way. (And yes I have saved both files)
Is there any way to fix this?
7 Replies
I had similar issue with VSCode and eventually reverted to Visual Studio so I would like to know as well
if your issue is not a slow CPU
do you have any slow extensions perhaps?
Oof ouch writing a XAML app with VSCode
It barely handles C#
Let alone XAML
I am certain it's not due to a slow CPU, what would be the best way to check if there are any slow extensions?
disable them one by one I guess until it stops being slow
I know you can view the boot up times but that won't really show you if they're being slow while running
is there any reason you don't want to use Visual Studio for WPF?
can you even use hot reloading in VSCode
disabled most of the extensions and still slow, perhaps it really is just VSCode
comfort mostly
I would recommend you just switch to Visual Studio honestly for a full feature set
disable the designer in the settings and use hot reloading as well for a better design experience
it seems like that's my only option tbh, I'll just do that, thanks a bunch!