Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.27 KB

CompilationDirectiveLost.md

File metadata and controls

46 lines (34 loc) · 1.27 KB

Methods compilation directive (CompilationDirectiveLost)

Type Scope Severity Activated
by default
Minutes
to fix
Tags
Code smell BSL Major Yes 1 standard
unpredictable

Description

All methods of managed forms and commands must have compilation directives.

Examples

Incorrect:

Procedure OnCreateAtServer()
...
EndProcedure 

Correct:

&AtServer
Procedure OnCreateAtServer()
...
EndProcedure 

Sources

Snippets

Diagnostic ignorance in code

// BSLLS:CompilationDirectiveLost-off
// BSLLS:CompilationDirectiveLost-on

Parameter for config

"CompilationDirectiveLost": false