Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
473 views
in Technique[技术] by (71.8m points)

javascript - 智能感知和自动完成功能在Visual Studio代码中不起作用(Intellisense and autocomplete doesn't work in Visual studio code)

Could you provide me help to enable IntelliSense suggestions and autocomplete in Visual studio code 1.30.1?(您能否为我提供帮助,以在Visual Studio代码1.30.1中启用IntelliSense建议和自动完成功能?)

I have installed visual studio Intellicode and path intellisense extensions.(我已经安装了Visual Studio Intellicode和path intellisense扩展。) Tried:(尝试过:) "editor.quickSuggestions": { "other": true, "comments": true, "strings": true }, "editor.suggestSelection": "first" In settings.json file, no success(在settings.json文件中,未成功) For autocomplete feature installed All autocomplete, but again no success with autocomplete in 'if', 'for' or anything else.(对于已安装的自动完成功能,所有的自动完成功能均成功,但如果在'if','for'或其他任何条件下使用自动完成功能,均同样失败。) Is it actually possible Intellisense and autocomplete in Visual studio code to work like in Visual studio community?(实际上,Visual Studio代码中的Intellisense和自动完成功能是否可以像在Visual Studio社区中一样工作?)   ask by locke translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The autocomplete works on type the models have been trained for (common opensource libraries).(针对模型的类型进行自动完成工作(通用的开源库)。)

The most common type you should see recommendations for are strings and data structure types.(您应该看到有关建议的最常见类型是字符串和数据结构类型。) Being in or out side a control statement does not matter for the recommendations.(控制声明的内在或外在与建议无关紧要。) Samples, click on JavaScript for JavaScript sample(示例,单击JavaScript以获取JavaScript示例) If you are still having issues you can report them at: report issue .(如果您仍有问题,可以在以下位置报告报告问题 。) Provide as much as information possible on what you do and what you expect.(提供尽可能多的有关您的工作和期望的信息。)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...