4 ms·
The Copilot I would like to use goes like this: 1. I write code 2. Copilot gives me good suggestions about potential improvements on my code 3. I asses the s
by lmarcos 4y ago
The Copilot I would like to use goes like this:
1. I write code
2. Copilot gives me good suggestions about potential improvements on my code
3. I asses the suggestions
4. Back to 1
- ranguna 4y agoThat's how I use copilot
- conscion 4y agoHow do you use copilot to make suggestions about refactoring existing code? My understanding was you just give copilot stubs of code and it auto-completes.
- ranguna 4y agoYour point number 2 about improvements on your code: when I start writing a line of code, I already have a good idea of why I'm gonna write next. In this case it's not about copilot refactoring what I wrote, it's about refactoring what I was thinking about writing.
- nigma1337 4y agoI've been using SonarLint[0] for a while for this, as it not only finds code smells, but also if i do things in a weird way, like doing for(i=0;i>array.length-1;i++){console.log(arrray[i]} instead of just doing for(const element of array). [0]: https://www.sonarsource.com/products/sonarlint/ https://www.sonarsource.com/products/sonarlint/