研究VS2010的自动化测试有一段时间了,在研究的过程中,发现网上的VS2010相关的测试资料十分稀少,这给学习带来比较大的困难。幸运的是,自己因为常用各种插件,并且对.Net代码比较了解,使得在学习的过程中并不是特别困难,对Wpf也已经有一定了解。本着与大家交流,共同进步的想法,思考之后,决定做一个插件,这是一个让写代码变得简单愉快的VS插件。 有以下一些功能:
后续还有一些各种常用小工具增加,和使用习惯的优化,让这个插件发挥最大的用处。
C# 编辑脚本|Remove csharp/// <summary> /// </summary> /// <author>jaly</author> /// <date>2015-04-13 09:22:20</date> /// <param name="sender"></param> /// <param name="e"></param> /// <returns></returns> protected void Page_Load(object sender, EventArgs e) { } /// <summary> /// </summary> /// <author>jaly</author> /// <date>2015-04-13 09:22:20</date> /// <param name="sender"></param> /// <param name="e"></param> /// <returns></returns> protected void Page_Load(object sender, EventArgs e) { } 这就是自定义生成注释效果
C# 编辑脚本|Remove csharp#region 属性赋值 BookID = o.BookID, Title = o.Title, SizeDesc = o.SizeDesc, MainImg = o.MainImg, Width = o.Width, Height = o.Height, PageCount = o.PageCount, MaxPageCount = o.MaxPageCount, PageDesc = o.PageDesc, Price = o.Price, AppPageCount = o.AppPageCount, AppPagePrice = o.AppPagePrice, PrintMode = o.PrintMode, StapledMode = o.StapledMode, Desc = o.Desc, IsDel = o.IsDel, UpdateTime = o.UpdateTime, AppTime = o.AppTime, CID = o.CID, #endregion #region 属性赋值 BookID = o.BookID, Title = o.Title, SizeDesc = o.SizeDesc, MainImg = o.MainImg, Width = o.Width, Height = o.Height, PageCount = o.PageCount, MaxPageCount = o.MaxPageCount, PageDesc = o.PageDesc, Price = o.Price, AppPageCount = o.AppPageCount, AppPagePrice = o.AppPagePrice, PrintMode = o.PrintMode, StapledMode = o.StapledMode, Desc = o.Desc, IsDel = o.IsDel, UpdateTime = o.UpdateTime, AppTime = o.AppTime, CID = o.CID, #endregion 属性赋值效果
|