DEV Community

Discussion on: Top 5 Best Git Extensions For VS Code (You must have)

Collapse
 
andreidascalu profile image
Andrei Dascalu

Copilot can supercharge your work to as much as it can slow you down.
With modern languages /tools like Go or Typescript it is decent enough but Copilot has no notion of coding standards or generally your surrounding code.
For a new small function it can write it, but when completing / extending new code it just assumes variable names even if they do not exist and ignores standards.

Collapse
 
thenomadevel profile image
Nomadev • Edited

I agreed to your point, but we can't expect an AI based tool to write/predict perfectly. I will not recommend this to beginners, but this is a great auto completion tool for devs, far better than the tools they used to use earlier such as Tabnine. And it is in its preview, I believe this will improve more with time.

Collapse
 
andreidascalu profile image
Andrei Dascalu

I don't expect perfection, I'm talking about a measure of usefulness. Copilot's code needs to be brought in to project standards (the extent of which depends on language - Java code and PHP code are a measure of the large quantity of legacy that Copilot had access to).
TabNine for example does better at completing code in local context (evening it can't write complete functions) because it learns from local context. It will never autocomplete non existent variables for example.
That's a bit of trade-off obviously and largely depends on language.
I've been using Copilot with both Go and PHP and ended up trusting Go autocompletes (with some variable names fixing) but refactoring PHP code in 90% of cases (eg: it would write functions with PHP 7 code in situations where TabNine could tell I was using PHP 8)

Thread Thread
 
thenomadevel profile image
Nomadev

Considered, maybe we will see improvements in its upcoming commercial version.