Reb*_*e07 3 c# resharper settings using-statement visual-studio-2015
通常,文件创建时会使用一组常用的using语句.有时甚至在充实课程后我也不需要一些自动生成的使用语句.但是,如果最终需要删除它们会导致问题,例如因使用System.Linq删除而导致的问题; 有没有办法告诉Visual Studio/Resharper不要抱怨某些使用语句是多余的?
例:
using System;
using System.Collections.Generic; // Don't need but want anyway without an error
using System.Linq; // Don't need but want anyway without an error
using System.Net;
using System.Text; // Don't need but want anyway without an error
using Acceptance.EndToEnd.Helpers;
using Acceptance.EndToEnd.Locators;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
161 次 |
| 最近记录: |