4 ms·
Anyone have good tips for getting more out of copilot?
by cwkoss 3y ago
Anyone have good tips for getting more out of copilot?
- Our_Benefactors 3y agoUse a comment to drive the autocomplete on the next line, like: ”// a function takes an array of numbers and returns the array with negative numbers removed ” In my experience this can match GPT-4 in many cases while saving the roundtrip.
- fatnoah 3y agoGood advice, I've been doing a similar thing with good results. One thing I have done is to start more manually to establish the patterns I want to use for things like parameter validation, log lines, etc and Copilot seems to do a very good job mimicking those.
- cwkoss 3y agoYeah, I've used that to good effect. My main quibble with copilot vs chatGPT is that chatgpt will remind me of side effect changes I need to make elsewhere in the file, which I haven't figured out how to make copilot do.
- vunderba 3y agoI actually find that copilots new chat feature which is integrated as part of the copilot plug-in (VS code as well as jet brains IDEs) is incredibly useful since it's generally pretty intelligent about augmenting your question with the related respective code files.
- hackerlight 3y agoIf I don't have either copilot or ChatGPT Plus, which one should I purchase?
- cwkoss 3y agoId recommend chatGPT plus unless you really want to use it purely within an ide. It's a little tedious copy-pasting code into chatGPT, but it gives more verbose responses and has wider breadth of functionality. I have found myself using chatGPT more than Google now that I have pro. It's nice to just ask a question and get a thorough response without having to read the results myself.