I had a weird issue where git would not connect to ssh for the love of god. It turned out to be because it probably used ssh-add which in turn could not find ssh-askpass. I then figured that Manjaro comes with ksshaskpass instead, which in its manpage says:
In order to be called automatically by ssh-add, ksshaskpass should be installed as /usr/bin/ssh-askpass.
… is a package we directly import unmodified from Arch in its binary form. I would therefore suggest filing a bug report or feature request with the Arch developers.
Caution: Do not tell them you are using Manjaro, because then they’ll probably just ignore you.
I would argue a more proper approach, that does not apply simply to vscode, but also to a general ‘have kwallet store git ssh and git credentials’ would be to set the environment variables
They’d probably request logs until I make a mistake and they figure out I use Manjaro so they can close the topic unanswered.
I’d also expect them to argue that things like this are tasks for the packager or that the KDE team are morons or something like that, as in the Arch wiki, which @Yochanan linked (thanks!), they suggest using env variables.
For now I just set the symlink myself and for reference, in case someone stumbles across this topic, this is how