GitHub Copilot Explains(terminal) #vscode

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Copilot says "The error message suggest that there might be a missing comma in the print statement on line 2 of main.py.".
There is no missing comma - Copilot is incorrect. What is missing is quotes.
Bonus: pylint will tell you the exact same (incorrect) thing Copilot told you, but in a much less verbose way. if you are going to get bad advice, at least do it efficiently and use pylint.
Pylint output:
'E0001: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (<unknown>, line 2)' (syntax-error)'

davea
Автор

That output is MAD just for missing quotes.

privatesocialhandle
Автор

All the features of basic linting, except it takes 10 seconds ands gives you the wrong answer

gertsfert
Автор

very funny how even in this it points out the wrong error lmao

valbrrie
Автор

Some people just have amazing radio voice ❤

Luther_Luffeigh
Автор

For those who are figuring out:
The interpreter is baffled between the string and integer. The interpreter is unable to understand the difference between the two as it is not specified. The string should be in double quotes and it isn't shown in the code. So the compiler throws an error.😊.

Irrelevantstatus