[英]visual studio code intellisense not working in autocompleted function call in javascript files
I've been trying to migrate from Atom to visual studio code as I've heard that node.js is supported better, however after trying it for a while, I realised that intellisense fails when typing the arguments in an autocompleted function call, as you can see in the picture below.我一直在尝试从 Atom 迁移到 Visual Studio 代码,因为我听说 node.js 得到更好的支持,但是在尝试了一段时间之后,我意识到在自动完成的 ZC1C425207C17 调用中键入 arguments 时智能感知失败见下图。
As you can see in the first screenshot, the intellisense doesn't work and the text is highlighted automatically after autocompleting the log() function.正如您在第一个屏幕截图中看到的那样,智能感知不起作用,并且在自动完成 log() function 后,文本会自动突出显示。 However, in the second screenshot, I tabbed out of the highlighted text field, navigated back in and intellisense is functional.
但是,在第二个屏幕截图中,我从突出显示的文本字段中跳出,导航回来并且智能感知功能正常。 Is there a workaround, or do I have to wait before it is fixed?
是否有解决方法,还是我必须等待才能修复?
For anyone facing this issue in the future, I have found a solution in an obscure forum.对于将来遇到此问题的任何人,我在一个不起眼的论坛中找到了解决方案。 All you have to do is open the command palette (ctrl+shift+p), type "preferences: open settings (json)" and add "editor.suggest.snippetsPreventQuickSuggestions": false.
您所要做的就是打开命令面板(ctrl+shift+p),输入“首选项:打开设置(json)”并添加“editor.suggest.snippetsPreventQuickSuggestions”:false。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.