Home Download Buy Blog Forum Support

[ANN] CFeather, an ANSI C language package

[ANN] CFeather, an ANSI C language package

Postby frou on Sat Nov 10, 2012 1:01 pm

Hi there. I'm personally not keen on Sublime's stock approach to supporting C. Both because it's partially mushed together with supporting C++ at the same time, and because of the some of the syntax recognition decisions it makes, namely:

  • Operators aren't recognised at all.
  • Things like include statements are subdivided excessively.
  • The likes of "short" and "size_t" are recognised as different kinds of things (I understand the rationale, but don't think it's a net gain).
  • Type names like "struct foo" aren't recognised as the single unit they are.
  • The widespread convention of a "_t" suffix denoting a type name isn't recognised.
  • Labels aren't recognised.
  • ...and more along the same lines.
So I made this package, CFeather. It is only concerned with supporting ANSI C (C89 AKA C90). IMO it has saner syntax coverage in terms of what is recognised and which scopes they are assigned to.

I'm not advocating that everyone should use this instead of the stock package. For one thing, it doesn't have feature parity. However, if it sounds like you share my tastes, it might be for you. The README explains how to disable the stock package.

Availability

Github incl. README: https://github.com/frou/CFeather
Direct download: https://github.com/frou/CFeather/archive/master.zip
You can also find it by searching on Sublime Package Control.

Here's a screenshot. Remember that CFeather isn't about specific colours, but rather which colours are picked from your active colour scheme. The colour scheme it's paired with below is one I created, Sundried (https://github.com/frou/Sundried).

Regards.

Image
Last edited by frou on Sat Nov 10, 2012 4:47 pm, edited 1 time in total.
frou
 
Posts: 49
Joined: Sun Jul 31, 2011 11:26 am

Re: [ANN] CFeather, an ANSI C language package

Postby AGS on Sat Nov 10, 2012 3:48 pm

Excellent!! Btw, sundried is one of my favorites, too.
AGS
 
Posts: 32
Joined: Mon Aug 20, 2012 5:58 pm

Re: [ANN] CFeather, an ANSI C language package

Postby frou on Sun Nov 11, 2012 1:47 pm

AGS wrote:Excellent!! Btw, sundried is one of my favorites, too.

Cool. Thanks :)
frou
 
Posts: 49
Joined: Sun Jul 31, 2011 11:26 am

Re: [ANN] CFeather, an ANSI C language package

Postby jerry2012cn on Wed May 08, 2013 3:36 am

It's cool, I like it. :D
jerry2012cn
 
Posts: 1
Joined: Wed May 08, 2013 3:30 am

Re: [ANN] CFeather, an ANSI C language package

Postby turingcat on Tue May 14, 2013 9:36 am

Thanks, I like it!
turingcat
 
Posts: 1
Joined: Tue May 14, 2013 9:35 am


Return to Plugin Announcements

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests