Our tools are Modern Fortran and fortls. All other tools (e.g. fortran-language-server) I am aware of are deprecated and hence won’t work with the above.
You need to enable fortls
for it to work in vscode (this is the default option)
{
"fortran.fortls.disabled": false,
}