You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
I get the sense that atom is used a bit less for c/c++, but still - a really helpful feature would be to also match and highlight preprocessor directives in c. These can be especially hard to follow/match manually because they don't follow the local indentation of general code.
e.g.
#ifdef DIRECTIVE /* <--- this matches */
/* some c code ... */
int num;
int *pnt; /* oooh a pointer */
#endif /* <--- this */
Describe alternatives you've considered
Though it is more common to not indent preprocessor directives at all, this is primarily for historical reasons (to my knowledge), and using indents does help aid matching --- but, of course, much less so when there's lots of nesting and the matching statements are pages away.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
I get the sense that atom is used a bit less for c/c++, but still - a really helpful feature would be to also match and highlight preprocessor directives in c. These can be especially hard to follow/match manually because they don't follow the local indentation of general code.
e.g.
Describe alternatives you've considered
Though it is more common to not indent preprocessor directives at all, this is primarily for historical reasons (to my knowledge), and using indents does help aid matching --- but, of course, much less so when there's lots of nesting and the matching statements are pages away.
The text was updated successfully, but these errors were encountered: