atom / language-c

C support in Atom
Other
116 stars 154 forks source link

Add function pointer snippet. #324

Closed thechief389 closed 5 years ago

thechief389 commented 5 years ago

Description of the Change

Added function pointer to snippets.

Benefits

Function pointers will now be autocompleted by typing fp.

rsese commented 5 years ago

Thank you very much for the contribution!

We generally don't accept modifications for snippets in the language packages since they are easily overridden and we expect that people will do so for their own purposes. We provide instructions on how to create your own snippets in the Flight Manual, and viewing a language package that provides snippets allows you and anyone else to copy the current version as a starting place for creating your own.

Thanks again for the suggestion but we're going to leave things as they are for now unless we're fixing a current snippet that produces invalid code.