Sounds similar, been in the same situation, to understand yours better one question that needs a honest answer - do you like what you are coding? Are you interested in the end result? In my case, switching over to a project that I was really interested in brought back the enthusiasm I started lacking. And losing enthusiasm leads to subconscious delays - it's as if your brain tries to avoid doing the work it does not get direct stimulation for.
But if you (deep inside) do love what you are doing, then it probably does not apply to you. Do you have any side projects? Are they any different? Maybe you just avoid admitting to yourself that you are not doing what you want to be doing, really.