Captain Stack is a VSCode extension that mimics Copilot's code suggestion feature. But instead of using AI, it filter search results on Google and return a list of code suggestion option
It was meant for fun. Though I realized this method is quite effective since that's just what devs usually do
Feedback and question are welcome
You can even make your tool offline and private :)
Add a few transformers on top, and you can have it generate dubious code.
Though if you want to be competitive you'll probably need a few phd and M$ of computing resources or use some free tpu like https://colab.research.google.com/ and hope to not get rate limited :)
The extension run in nodejs environment, and use fetch-node to get page content. I assume it's similar to how someone use google on broswer
Captain Stack would search Google for me, racking up Internet time, which I would get in trouble for.
It is a tool not a toy, I use the Internet instead of reading books because books are outdated as soon as they are published.
If you think you could use it and have suggestion, let's open a thread on Github and discuss
I might be able to use it if it pulls legit code, and not joke code.
I think it would be even better if you insert also a comment line with the link to StackOverflow, so devs can check it to get the full context.