VSCode not opening as external editor

Godot Version

4.2.2

Question

Hello, so I’ve started learning godot on a docked steam deck.
I installed godot through steam and VSCode from the store, so flatpak variant.
I’ve been trying to set vscode as the external editor like so:

Exec Path:
flatpak run com.visualstudio.code
Exec Flags:
{project} --goto {file}:{line}:{col}

And it doesn’t open, works with Kate tho.
Anyone has any ideas?