我有一个在组合框中设置项目的函数,其中一个项目是默认设置的,比如
--选择列表--
public void SetOperationDropDown()
{
int? cbSelectedValue = null;
if(cmbOperations.Items.Count == 0)
{
//This is for adding four operations with value in operation dropdown
cmbOperations.Items.Insert(0
有混乱。
在我的项目中,我创建了自己的Formatter和checkstyle。
example:-Formatter
格式化程序中有一个Brace标记,所以我做了两个更改。
支撑位置:-
类/接口..NextLine
构造函数声明..Next行
在编写了一些代码之后,我不会遵循格式化的规则。
那么为什么我的checkstyle没有显示任何像"Brace should be next line"这样的消息。
目前,我正在使用我自己的风格,之前使用的是Sun Checks(eclipse)-global。