T
T
trik2014-10-14 14:41:16
C++ / C#
trik, 2014-10-14 14:41:16

How to set up Sublime 3 for C?

Good afternoon. I used to write in a sabzhe editor in python, now I took up C and this problem arose. I did the compiler setup as described here https://toster.ru/answer?answer_id=200602#answers_list
But still opening/creating the *.c file determines the type as C++. Please tell me how to solve this problem. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Surin, 2014-10-23
@BedwaRe

The fact is that the default Build System in Sublime is in higher priority than the one added by the user.
Go here: Sublime Text 3\Packages\C++.sublime-package\C++.sublime-build
and
change the line to line
Then, if your Build System for C is correctly configured, then it will pick up the file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question