gnikit
March 28, 2024, 10:58pm
2
The screenshot you posted does not give information about your vscode setup. You need to post a MWE , your fortran vscode settings, version of vscode, version of Modern Fortran and fortls.
I also suggest reading the documentation of Modern Fortran for VS Code (available here or in the VSCode Marketplace like the rest of the extensions) and doing a search here on Discourse or in your search engine. There are multiple discussions and answers on this, here are just a few:
Welcome to Fortran-lang @vicent . Most of the things you are mentioning in terms of a code editor are very doable within VSCode.
Install Modern Fortran (the pre-release version). This should give you access to syntax highlighting, linting, debugging, formatting and snippets. For more advanced tasks like hover signatures, autocompletions, peeking definitions, etc. you will be prompted to install fortls our language server.
fortls - Language Server settings
The installation process for fortls on …
I suggest you have a read at the Documentation for the extension. Settings do not come under the “modern-fortran” tag.
As I mentioned above, the functionality is there, it is tested and does work. I should know given I wrote all of these programs, so please read the docs and adjust your setup accordingly.
Modern Fortran WILL NOT WORK with any of the other 3 extensions you had installed alongside and it will fail quite visibly throwing pop up errors asking you to disable/uninstall the other ex…
Pip is the python package manager included in all supported python installations; it’s a command line tool.
We can’t move away from Python (i.e. download an executable) what we can do is fix the user experience and make it to “just work” for the majority of our users.
The breakdown of the problem in Windows is:
python and hence pip might not be reachable via PATH
the folder in which pip installs applications is not by default reachable by PATH
if not in PATH VSCode cannot find the applicatio…