What I believe you are missing to be able to execute on your project is order. Going from "idea" to "writing code" sounds like you expect things to magically fall into place and code to flow to your screen..
Here's what I advise you to try when ever you have an idea-
1. think your idea through to some practical outcome (web pages, CMD output etc..)
2. write user stories to describe what the user of your product should be doing (Google "how to write user stories"..)
3. try to come up with something equivalent to a mock-up using any means that you feel comfortable with (pen&paper any of the latest wireframe / mockup apps out there) - don't worry about visual aspect - just make sure it delivers on the user stories
4. having seen the "big picture" take one user story and start from there..
Feel free to write here if you have any questions on any of these..