在CMakeLists.txt中禁用过度渴望的Visual Studio 2017 Intellisense

时间:2017-07-19 00:10:50

标签: cmake visual-studio-2017

我已经获得了CMake生成的Visual Studio 2017解决方案。

当我尝试在Visual Studio 2017中编辑CMakeLists.txt文件时,我会在输入时不断弹出一堆完成弹出窗口。 (即使在评论中也会发生这种情况。)我不得不按下escape来解除它们,以便我可以使用光标键,这有点令人厌烦。

我已经取消选项中所有语言的所有Statement completion选项...但他们仍然来了。

我能做些什么吗?

1 个答案:

答案 0 :(得分:0)

This appears to be due to the Visual Studio Extension for TextMate Grammars.

(This extension doesn't appear to have any options, but it seems to do something to the handling of text files, especially when dragged and dropped onto Visual Studio from Explorer.)