fix: add all-caps EXTERNAL* variants to allowed VAR attributes
VCI-exported .scl files use all-caps attribute names (EXTERNALACCESSIBLE, EXTERNALVISIBLE, EXTERNALWRITABLE) which were not in the allowed list, triggering spurious SCL005 warnings.
This commit is contained in:
@@ -106,6 +106,9 @@ function M.validate_diagnostics(content, workspace_types, root_dir)
|
|||||||
ExternalWRITABLE = true, -- case variant
|
ExternalWRITABLE = true, -- case variant
|
||||||
ExternalVISIBLE = true,
|
ExternalVISIBLE = true,
|
||||||
ExternalACCESSIBLE = true,
|
ExternalACCESSIBLE = true,
|
||||||
|
EXTERNALWRITABLE = true, -- all-caps VCI export variant
|
||||||
|
EXTERNALVISIBLE = true, -- all-caps VCI export variant
|
||||||
|
EXTERNALACCESSIBLE = true,-- all-caps VCI export variant
|
||||||
S7_SetPoint = true,
|
S7_SetPoint = true,
|
||||||
S7_Optimized_Access = true,
|
S7_Optimized_Access = true,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user