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

时间:2018-02-13 20:42:03

标签: visual-studio-code

VSCode版本:1.20.0

操作系统版本:Windows 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",
}

可能有什么问题?

1 个答案:

答案 0 :(得分:0)

在1.20.1上也是如此 - 似乎没有什么能让它再次运作: - (

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

HTH

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