See FineLine IDE and add the lines:
FL_PIC16F887
FL_PBPL or FL_PBPW
FL_MPASM or FL_PM
with an apostrophe and less than sign on the left and a greater than and apostrophe on the right side as this post isn't showing them correctly.
This will automatically select the configuration each time from code.
FL will also prompt if an incorrect setting.

What FL does best however is draw brackets linking the IF's with the ENDIF's etc to easily read deeply nested code.

FL is an easy to install, simple copy, paste or delete .exe with no registry entries.


Norm