⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checkstyle.properties

📁 STRUTS数据库项目开发宝典
💻 PROPERTIES
字号:
<!-- -------------------------------------------------- -->
<!--       Configuration file for Checkstyle 2.4+       -->
<!--     This excellent source code grammar checker     -->
<!-- can be found at http://checkstyle.sourceforge.net/ -->
<!-- -------------------------------------------------- -->

<!-- Reporting configuration -->

<!-- checkstyle.cache.file=checkstyle.cache -->

<!-- JavaDoc checks -->
checkstyle.javadoc.scope=protected
checkstyle.require.packagehtml=false
checkstyle.require.version=false
checkstyle.allow.noauthor=false
checkstyle.javadoc.checkUnusedThrows=false

<!-- Naming checks -->
checkstyle.pattern.member=^[a-z][a-zA-Z0-9]*$
checkstyle.pattern.publicmember=^f[A-Z][a-zA-Z0-9]*$
checkstyle.pattern.const=^[A-Z](_?[A-Z0-9]+)*$
checkstyle.pattern.static=^[a-z][a-zA-Z0-9]*$
checkstyle.pattern.parameter=^[a-z][a-zA-Z0-9]*$
checkstyle.pattern.package=^[a-z]+(\.[a-zA-Z_][a-zA-Z_0-9]*)*$
checkstyle.pattern.type=^[A-Z][a-zA-Z0-9]*$
checkstyle.pattern.method=^[a-z][a-zA-Z0-9]*$
checkstyle.pattern.localvar=^[a-z][a-zA-Z0-9]*$
checkstyle.pattern.localfinalvar=^[a-z][a-zA-Z0-9]*$

<!-- Header checks -->
checkstyle.header.file=
checkstyle.header.ignoreline=
checkstyle.header.regexp=false

<!-- Imports checks -->
checkstyle.ignore.imports=true
checkstyle.illegal.imports=sun

<!-- Size Violations checks -->
checkstyle.maxlinelen=120
checkstyle.tab.width=8
checkstyle.ignore.importlength=false
checkstyle.ignore.maxlinelen=^$
checkstyle.maxmethodlen=150
checkstyle.maxconstructorlen=150
checkstyle.maxfilelen=3000
checkstyle.maxparameters=7

<!-- Whitespace checks -->
checkstyle.allow.tabs=false
checkstyle.ignore.whitespace=false
checkstyle.ignore.whitespace.cast=false
checkstyle.paren.pad=nospace
checkstyle.wrap.operator=eol

<!-- Violators checks -->
checkstyle.ignore.public.in.interface=false
checkstyle.allow.protected=false
checkstyle.allow.package=false
checkstyle.pattern.publicmember=^f[A-Z][a-zA-Z0-9]*$

<!-- Blocks checks -->
checkstyle.ignore.braces=true
checkstyle.block.try=stmt
checkstyle.block.catch=text
checkstyle.block.finally=stmt
checkstyle.lcurly.type=eol
checkstyle.lcurly.method=eol
checkstyle.lcurly.other=eol
checkstyle.rcurly=alone

<!-- Miscellaneous checks -->
checkstyle.pattern.todo=TODO:
checkstyle.ignore.longell=false
checkstyle.illegal.instantiations=


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -