As others have mentioned, your post sounds like it could be minor depression. You mention being social and liking people. Perhaps your problem is that you're keeping yourself cooped up inside while programming so when you think about new ideas, it's bringing you down because of that.
If you live in/near an urban area perhaps you could try finding a co-working space to work out of. You might get lucky depending on where you live and find one with mostly developers. Changing your work environment might change how you feel about the work you're doing.
Finding a job and deciding you really don't like programming even with the work structure and peers also would not be the end of the world. If this is the last job you have doing development, it's not likely that it will have a negative impact on you as you move to a new field.