如何在VSCode中将JS内置函数方法的悬浮窗文档设置为中文?

在VSCode编辑器中写js代码,如何让鼠标悬浮js内置函数方法时出现的悬浮窗内的文档为中文?

安装过Chinese (Simplified) 插件(重启VSCode后)也是英文

比如悬浮数组的arr.find方法出现提示窗文档:

(method) Array<any>.find(predicate: (value: any, index: number, obj: any[]) => unknown, thisArg?: any): any (+1 overload)
Returns the value of the first element in the array where predicate is true, and undefined otherwise.

@param predicate
find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined.

@param thisArg
If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.
阅读 944
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
logo
Microsoft
子站问答
访问
宣传栏