C
C#2y ago
h0la

✅ 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
Anchy
Anchy2y ago
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?
Angius
Angius2y ago
Oof ouch writing a XAML app with VSCode It barely handles C# Let alone XAML
h0la
h0laOP2y ago
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?
Anchy
Anchy2y ago
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
h0la
h0laOP2y ago
disabled most of the extensions and still slow, perhaps it really is just VSCode comfort mostly
Anchy
Anchy2y ago
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
h0la
h0laOP2y ago
it seems like that's my only option tbh, I'll just do that, thanks a bunch!
Want results from more Discord servers?
Add your server