Sublime Forum

File extension as C

#1

How do I force sublime text to open every new file I create as C. When I click on “open all with current extensions as…” It gives me some languages to select from but for some reason “C” is greyed out and it won’t let me pick it.

Can I fix this or do I have to manually change every new file from “plain text” to “C” ??

0 Likes

#2

Sublime Text will automatically change the syntax when saving a new file, although this is currently broken in the latest development build and will be fixed in the next one. If a syntax is greyed out in that menu that likely means it’s already selected.

0 Likes