Microsoft为EditorConfig提供了一堆编码设置.NETcodingconventionsettingsforEditorConfig但是找不到创建规则的方法,这将建议开发人员在类成员声明之间添加空行。//"Bad"stylepublicclassOrder{privatereadonlyIRepository_repository;privatereadonlyIPriceCalculator_priceCalculator;publicOrder(IRepositoryrepository,IPriceCalculatorpriceCalculator){_repos