Can I run the code on a computer?

The need to download code and ,especially, to press the program button bothers me a lot. Is there a way to run the code I write directly on the pc instead of the rc?

You can run your code under software simulation. Watch the archived web seminar " Introduction to MPLABĀ® SIM Software Simulator " here for more information.