+5

Sublime Text 3 put C language as C++

MoonFruit 11 jaar geleden 0

When I use Sublime Text 3, I found Sublime Text 3 put a file which name end with ".c" as C++ language instead of C language.

This leads to some plugin work error, such as SublimeClang.

I modified C++.tmLanguage, delete the line "C", and It is correct now.

And this has not happened in Sublime Text 2.

So I think it is a bug in Sublime Text 3, that it detect file type by using ignored case file name.

By the way, I use Sublime Text 3 in Windows 7 x64.