用于 javascript 的 VSCode 智能感知自动完成 [英] VSCode intelliSense autocomplete for javascript
本文介绍了用于 javascript 的 VSCode 智能感知自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望 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.completeFunctionCalls": true,
这篇关于用于 javascript 的 VSCode 智能感知自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文