This plugin automatically scans current file, searches for matching #ifdef-#else-#endif and remembers their position. Then, if the cursor enters one of those lines, all other corresponding lines are highlighted. Keywords #ifdef, #ifndef, #if, #else, #elif, #endif are supported
It now supports simple error highlighting.
Via Package Control, or copy simpleifdef.py to ~/.config/sublime-text-3/Packages/User/
GNU General Public License version 2
https://github.com/rumly111/simpleifdef
Joseph Botosh rumly111@gmail.com