Bug fix: prop <tab> <tab> shortcut only works on the first property of a class
How to reproduce: New query, C# Program. Below Main() create a new class public class test. After the open {, type prop <tab>. You will see public int MyProperty { get; set; } as expected. Go the the end of the line and press return. On the new line, type prop <tab>. You will see PropertyAttributes in error. As a test, Visual Studio 2022 performs correctly. This shortcut is very helpful when adding many properties to a class.
1
vote
Jeff
shared this idea
-
sgmoore commented
I've never seen this error, so you may need to include your Linqpad version number and the exact error message or a screen shot.