|
65 | 65 | "config.diagnostics.strict": "* close-non-object\n* deprecated\n* discard-returns", |
66 | 66 | "config.diagnostics.strong": "* no-unknown", |
67 | 67 | "config.diagnostics.trailing-space": "後置空格", |
68 | | - "config.diagnostics.type-check": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* undefined-field", |
69 | | - "config.diagnostics.unbalanced": "* missing-parameter\n* redundant-parameter\n* redundant-value\n* unbalanced-assignments", |
| 68 | + "config.diagnostics.type-check": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* return-type-mismatch\n* undefined-field", |
| 69 | + "config.diagnostics.unbalanced": "* missing-parameter\n* missing-return\n* missing-return-value\n* redundant-parameter\n* redundant-return-value\n* redundant-value\n* unbalanced-assignments", |
70 | 70 | "config.diagnostics.undefined-env-child": "`_ENV` 被設定為了新的字面常數表,但是試圖獲取的全域變數不在這張表中", |
71 | 71 | "config.diagnostics.undefined-global": "未定義的全域變數", |
72 | 72 | "config.diagnostics.unused": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg", |
|
89 | 89 | "config.hint.paramName.Disable": "停用參數提示。", |
90 | 90 | "config.hint.paramName.Literal": "只有字面常數類型的參數進行提示。", |
91 | 91 | "config.hint.paramType": "在函式的參數位置提示類型。", |
| 92 | + "config.hint.semicolon": "若陳述式尾部沒有分號,則顯示虛擬分號。", |
| 93 | + "config.hint.semicolon.All": "所有陳述式都顯示虛擬分號。", |
| 94 | + "config.hint.semicolon.Disable": "停用虛擬分號。", |
| 95 | + "config.hint.semicolon.SameLine": "兩個陳述式在同一行時,在它們之間顯示分號。", |
92 | 96 | "config.hint.setType": "在賦值操作位置提示類型。", |
93 | 97 | "config.hover.enable": "啟用懸浮提示。", |
94 | 98 | "config.hover.enumsLimit": "當值對應多個類型時,限制類型的顯示數量。", |
|
118 | 122 | "config.signatureHelp.enable": "啟用參數提示。", |
119 | 123 | "config.spell.dict": "拼寫檢查的自訂單詞。", |
120 | 124 | "config.telemetry.enable": "啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%B1%E7%A7%81%E8%81%B2%E6%98%8E)閱讀我們的隱私聲明。\n", |
121 | | - "config.type.castNumberToInteger": "Allowed to assign the `number` type to the `integer` type.", |
122 | | - "config.type.weakUnionCheck": "Once one subtype of a union type meets the condition, the union type also meets the condition.\n\nWhen this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`.\n", |
| 125 | + "config.type.castNumberToInteger": "允許將 `number` 類型賦值給 `integer` 類型。", |
| 126 | + "config.type.weakUnionCheck": "同位類型中只要有一個子類型滿足條件,則同位類型也滿足條件。\n\n此設定為 `false` 時,`number|boolean` 類型無法賦給 `number` 類型;為 `true` 時則可以。\n", |
123 | 127 | "config.window.progressBar": "在狀態欄顯示進度條。", |
124 | 128 | "config.window.statusBar": "在狀態欄顯示延伸模組狀態。", |
125 | 129 | "config.workspace.checkThirdParty": "自動偵測與適應第三方庫,目前支援的庫為:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", |
|
0 commit comments