1.首先在VS code上安装morden fortran和Fortranintellisence 2.然后在电脑的windows命令提示窗口输入 pip install fortran-language-server 亲测有效