开发者

Format LINQ code in VS2010

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜