Take a look at GitHub's Copilot. I used the technical preview and if you're already paying for gh it may be included. It actually helped keep me more focused on the solving aspects then the, what is the correct spelling, format, etc.