开发者

Format LINQ code in VS2010

开发者 https://www.devze.com 2023-02-19 18:18 出处:网络
Does anyone know how 开发者_如何学运维can I auto-reformat LINQ code in VS 2010? For example you can format C# code with ctrl+k+d.

Does anyone know how 开发者_如何学运维can I auto-reformat LINQ code in VS 2010? For example you can format C# code with ctrl+k+d.

Thanks for any help!


Ctrl K D will format LINQ also. If it's not formatting it, that's probably due to a syntax error. Usually when you hit the ; at the end of the LINQ statement, it formats itself more nicely.

0

精彩评论

暂无评论...
验证码 换一张
取 消