Skip to content

Commit

Permalink
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"commentTranslate.targetLanguage": "en"
"commentTranslate.targetLanguage": "en",
"editor.inlineSuggest.showToolbar": "always"
}
2 changes: 1 addition & 1 deletion src/ui/utils.ts
Original file line number Diff line number Diff line change
@@ -194,7 +194,7 @@ export function propsReducer(uiName: string, map: string[], iconData?: { prefix:
snippet = `${_name}={\${1:${_name}}}`
content = `${_name}={${_name}}`
}
content += ` ${description}${params ? ` ${isZh ? '参数' : 'params'}${params}` : ''}`
content += ` ${isZh ? (description_zh || description) : description}${params ? ` ${isZh ? '参数' : 'params'}${params}` : ''}`
const documentation = new vscode.MarkdownString()
documentation.isTrusted = true
documentation.supportHtml = true

0 comments on commit 76bd7a8

Please sign in to comment.