简体   繁体   English

在Visual Code中过滤/排序IntelliSense建议

[英]Filter/Sort IntelliSense suggestions in Visual Code

Recently I started to use Visual Code which seems to be a very nice editor, but one thing which bothers me is order in which IntelliSense JavaScript snippets suggestions appear (when I type "for" I would expect first suggestions to be defined JavaScript snippets, but instead I got lots of objects and interfaces which make me iterate through list). 最近我开始使用Visual Code,这似乎是一个非常好的编辑器,但有一件困扰我的是IntelliSense JavaScript片段建议出现的顺序(当我输入“for”时,我希望第一个建议被定义为JavaScript片段,但是相反,我有很多对象和接口,让我遍历列表)。 I would appreciate if somebody could give me a hint how can organize IntelliSense suggestions for JavaScript/ 如果有人能给我一个暗示如何组织JavaScript /的IntelliSense建议,我将不胜感激

有一个选项允许您更改建议的片段settings.json顺序:

"editor.snippetSuggestions": "top"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM