Sublime Forum

Customize syntax highlight based on specific toolchain

#1

Hello,

I would like to the sublime to perform continuous error checking / syntax checking. The problem is that I
write C code for an ARM Cortex M3 and I use armcc compiler instead of gcc/clang. How can I configure sublime to do error checking based on this compiler?

Note: I know where the binary of my compiler is placed on my system.

0 Likes

#2

Sublime doesn’t do error checking, that’s the job of a third party package such as SublimeLinter (along with an appropriate plug-in linter that uses the framework).

For something like this you’d need to find an appropriate linter plugin that allows for configuring how the linter works. It may be worth asking the developer of the appropriate linter package how to do that (or to add the support for it if it doesn’t already do it).

0 Likes