适用于javascript的VSCode intelliSense自动完成功能 [英] VSCode intelliSense autocomplete for javascript

查看:396
本文介绍了适用于javascript的VSCode intelliSense自动完成功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望Visual Studio Code能够自动填充打开文档中的所有单词,而不是它找到的范围特定变量。我应该在设置中更改什么?

I would like Visual Studio Code to autocomplete all words within the open document instead of the just the scope specific variables it finds. What should I change in the settings?

编辑:问题时代码版本0.3.0。

edit: code version 0.3.0 at time of question.

推荐答案

我刚想通了。这将使用页面上的所有单词自动完成。

I just figured it out. This will use all words on the page for auto complete.

// Always include all words from the current document.
"javascript.suggest.alwaysAllWords": true,

// Complete functions with their parameter signature.
"javascript.suggest.useCodeSnippetsOnMethodSuggest": true

这篇关于适用于javascript的VSCode intelliSense自动完成功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆