-2

I was using Github Copilot to generate integers to add to an ArrayList, but for some reason it adds e: before the argument

enter image description here

I've been using Copilot for a while, but I've never encountered this. Why does this happen?

Bergi
  • 630,263
  • 148
  • 957
  • 1,375
  • 1
    This has nothing to do with copilot, it's just the IDE labelling the arguments with the parameter names; usually provided by the respective language server. – Bergi Apr 25 '22 at 01:26
  • 1
    What language and what IDE is this? – Bergi Apr 25 '22 at 01:26
  • @Bergi it's Java in Visual Studio Code – Wilhelmo Gutred Apr 26 '22 at 02:20
  • 2
    Does this answer your question? [Why is VS Code showing this these labels or parameter names for System.out.println() in java files?](https://stackoverflow.com/questions/71865654/why-is-vs-code-showing-this-these-labels-or-parameter-names-for-system-out-print) Also [here](https://stackoverflow.com/questions/68698269/how-do-i-remove-inline-parameter-hints-in-vscode) and [there](https://stackoverflow.com/q/68720113/1048572) – Bergi Apr 26 '22 at 03:16

1 Answers1

1

That’s just how Visual Studio Code renders subroutine calls by default.

Jörg W Mittag
  • 363,080
  • 75
  • 446
  • 653