diff options
Diffstat (limited to 'locale/en-us')
-rw-r--r-- | locale/en-us/setting.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua index 2c9cd19d..ea786117 100644 --- a/locale/en-us/setting.lua +++ b/locale/en-us/setting.lua @@ -295,6 +295,10 @@ When checking the type of union type, ignore the `nil` in it. When this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`. ]] +config.doc.privateName = +'Treat specific field names as private, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are private, witch can only be accessed in the class where the definition is located.' +config.doc.protectedName = +'Treat specific field names as protected, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are protected, witch can only be accessed in the class where the definition is located and its subclasses.' config.diagnostics['unused-local'] = 'Enable unused local variable diagnostics.' config.diagnostics['unused-function'] = |