Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
27435 Discussions

Running Intel Fortran in Visual Studio Code instead of Visual Studio IDE


Perhaps this already been addressed in a previous post, but I am wondering if Intel Fortran runs in Visual Studio Code now?

If so, is there a downloadable VSCode extension to do this?

And, will VSCode replace Visual Studio 20xx as the standard IDE on Windows for Intel Fortran?

Thanks! Jeff

13 Replies

Please refer to Release Notes for this kind of info:

Note that VSCode is not listed as a supported IDE for latest 2020 version (compiler version 19.1).


Would Intel consider including in your plans adding support for VSCode? It will solve many problems...

Black Belt Retired Employee

What sort of problems would it solve? Keep in mind that Intel Fortran depends on Microsoft Visual C++ and the Visual Studio Debugger.

Yes, the current dependencies are understood. However, Microsoft is making a lot of improvements on VSCode and it is gaining adoption as a generic development environment. It supports now remote connections to runtime server, azure devops/git integration, Microsoft cloud deployment, workflow integration, etc. See
Other existing Fortran VSCcode plugins are not as good, and we need something better to allow the Intel Fortran code to be part of this, along with other languages. Perhaps I am wrong, but it seems that Visual Studio is lagging behind.
Black Belt Retired Employee

I use VS Code to build firmware for my 3D printer, but I don't see that it has any advantages for Intel Fortran over Visual Studio. Visual Studio has remote server connection, git integration and more. 

Yes, there is no denying that Visual Studio is very powerful and even more powerful than VSCode. But VSCode is moving faster towards becoming the single tool that the junior developers are using for coding everything, that is, except Fortran. To get started with Fortran they don't really need all the very advanced features that Visual Studio code offers, they just need a minimum editor/compiler/run time that allows them to pass the unit test. But when the choice comes to write new code people start with Python or Java because is what is available in the VSCode editor out of the box. The moment you suggest them to use Fortran instead they see this massive installation and learning curve that discourages any further attempts and learning. But writing basic Fortran code is not that difficult and if we had a decent Fortran editor in VSCode integrated with the Intel Compiler they could easily learn it and start using it along with Python and other tools. What we have now is not good and fixing this will go a long way with the new folks and we just need something to bridge the gap.
I should also added that I see a number of senior Fortran developers editing Fortran code using notepad, vi and emacs because they don’t want (or they can’t) install Visual Studio in their laptops or in the run time system. They can easily install and run VSCode there but since is no decent Fortran editor so we keep on using notepad.
Black Belt Retired Employee

They can't use the Intel compiler without installing Visual Studio, but there's nothing wrong with using Notepad or something similar to edit sources - I do it all the time if I am going to be building from the command line. If you want to debug, you have to use Visual Studio.

Black Belt

I do a lot of reworking and adapting old Fortran codes. The tools that I use the most in such work are utilities such as Grep, Ed, Sed, Make, Awk, etc. Visual editors are of little use in such work.

For writing new code, I use Notepad++ and other similar editors. I have little use for Visual Studio and VScode .

However, other people have other needs and other preferences as to tools, which I respect.

Us old Fortran programmers do not want whippersnappers telling us what editor or IDE to use or missionaries telling us what position we must adopt.


Maybe with release of oneAPI Intel will get back to that topic to integrate Intel Fortran with VS Code? It is really great that you did integration of Intel C++ with VS Code and Eclipse. Can you please do the same for Fortran?

Valued Contributor II

@Nikita_Tropin , there are horses for courses, and in a similar way there are IDE's, now the earliest good IDE that I encountered was written in the macro language of VEDIT.  You could write and run and get the errors all in VEDIT.  It is still the "best" editor for large files, by large files I mean ones that cause notepad++, MySQL to take to long to respond or simply not be able to see the whole file at once or give you the dreaded unable to open file.  This is a problem for people who do really large data sets, and for dxf generation.   

VS Studio is really good, one can do just about anything you want, but it has a lot of stuff hidden in the property pages and so if you want to make fine corrections, then the ifx or ifc are the best route.  So this is a personal preference, and really the old timers on this page see VS Code as the third and last option.  

The other issue is learning a third method. 

So this perhaps is not the forum to push VS Code, particularly as Microsoft is different distinct and away from Intel 

Valued Contributor II

@Nikita_Tropin , one is of course reminded by this series of posts of the famous statistical analysis in Michener's Hawaii on the missionaries, who I am sad to say came from my church, I have always thought it would be fun to repeat the hand analysis using MC simulation and Fortran to confirm the conclusions.

If you have not read Hawaii - I would recommend his books for their general introduction to science and historical ideas. 

Honored Contributor II

I was not aware a VS Code and have just has a quick read up. It seems it doesn't add anything a present compared to the normal VS but maybe it indicates a direction of travel at MSFT.