The bug
Commands such as /give, /recipe, and /ban can only affect players, so using an @e selector is invalid and will yield a syntax error unless it contains a type=player parameter.
However they are suggested by the autocompletion. See the attached screenshot.
Attachments
Comments 3
@e[type=player] is (supposed to be) different from @a, as @a includes dead players; so I really feel like it’s intentional; however it could be possible to make it suggest @e[type=player instantly, rather than @e.
[^@e.png]