Visual Studio Code的用户代码段在最新更新后停止工作

问题描述 投票:0回答:1

VSCode版本:1.20.0

正如Versus:Backward 10

今天我已经将VSC更新到1.20.0,突然我所有的html片段都停止工作了。

我已禁用所有扩展程序,但它没有帮助。

这是我的设置:

{
// Controls if quick suggestions should show up while typing
"editor.quickSuggestions": true,
// Controls if suggestions should be accepted with "Enter" - in addition to "Tab". Helps to avoid ambiguity between inserting new lines and accepting suggestions.
"editor.acceptSuggestionOnEnter": false,
// Controls the delay in ms after which quick suggestions will show up.
"editor.quickSuggestionsDelay": 10,
// Enable word based suggestions
"editor.wordBasedSuggestions": true,
"editor.wordWrap": "on",
// Controls whether the editor should render indent guides
"editor.renderIndentGuides": true,
"window.zoomLevel": 0,
"editor.tabCompletion": true,
"editor.snippetSuggestions": "top",
}

有什么问题?

visual-studio-code
1个回答
0
投票

同样在1.20.1 - 没有什么似乎让它再次工作:-(

UPDATE 我发现的一种解决方法是将片段重新创建为全局片段(记住要为每个片段添加“范围”)。

HTH

更新2 我不得不重新启动VSCode以使其识别全局代码段 - YMMV

© www.soinside.com 2019 - 2024. All rights reserved.