bug(syntax): Syntax Problem between Freeform and Fixedform #1145
Replies: 2 comments
-
This is a linting issue. To make better sense of it, use the pre-release and provide the compiler version. |
Beta Was this translation helpful? Give feedback.
-
Sorry, let me firstly confirm this, the “linting issue”, is the linter builtin inside compiler? If so, I have the settings like:
then please have a look on following screenshot, As you will see, it still does not work at all. Or you are mentioning different things, the linter, where can I find or compile it (cause I really don’t know whether it is a different thing rather than compiler itself)? |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Description
I noticed that "the configuration of the selection language mode" does not work between
FortranFreeform
andFortranFixedform
, if the unusual file extension is used.For my seeing, the output info for both of them are:
It is not correct, instead, for
FortranFreeform
, theLinter.arguments
should be-ffree-form
.Screenshots
Code Example
Fortran Version (Free/Fixed Form)
Free Form e.g. F90+
Version of Modern Fortran
v3.2.0
Version of Visual Studio Code
v1.85.0
Platform and Architecture
Linux (Ubuntu)
Additional Information
gfortran version v9.4.0 & v11.4.0
Possible Solution:
Add "builtin" argument
-ffree-form
when language modeFortranFreeform
is selected.Beta Was this translation helpful? Give feedback.
All reactions