In my experience copilot for neovim is pretty useful if you
- Split the current window if you have anything like type declarations in a separate file
- Write a pretty verbose documentation, e.g. using Swagger.
If you expect it to whip out of thin air what you really need and not have you correct it in several places, learn to code without it first.