You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> This extension provides support for the Fortran programming language. It includes syntax highlighting, code snippets and a linting based on `gfortran`. You can download the Visual Studio Code editor from [here](https://code.visualstudio.com/download).
9
+
> This extension provides support for the Fortran programming language. It includes syntax highlighting, debugging, code snippets and a linting based on `gfortran`. You can download the Visual Studio Code editor from [here](https://code.visualstudio.com/download).
10
10
11
11
## Features
12
12
@@ -16,14 +16,15 @@
16
16
- Code linting based on `gfortran` to show errors wiggles in your code
You can control the include paths to be used by the linter with the `fortran.includePaths` setting.
25
26
26
-
```
27
+
```jsonc
27
28
{
28
29
"fortran.includePaths": [
29
30
"/usr/local/include",
@@ -34,23 +35,23 @@ You can control the include paths to be used by the linter with the `fortran.inc
34
35
35
36
By default the `gfortran` executable is assumed to be found in the path. In order to use a different one or if it can't be found in the path you can point the extension to use a custom one with the `fortran.gfortranExecutable` setting.
If you want to pass extra options to the `gfortran` executable or override the default one, you can use the setting `fortran.linterExtraArgs`. By default `-Wall` is the only option.
44
45
45
-
```
46
+
```jsonc
46
47
{
47
-
"fortran.linterExtraArgs": ['-Wall'],
48
+
"fortran.linterExtraArgs": ["-Wall"],
48
49
}
49
50
```
50
51
51
52
You can configure what kind of symbols will appear in the symbol list by using
52
53
53
-
```
54
+
```jsonc
54
55
{
55
56
"fortran.symbols": [ "function", "subroutine"]
56
57
}
@@ -68,7 +69,7 @@ and by default only functions and subroutines are shown
68
69
69
70
You can also configure the case for fortran intrinsics auto-complete by using
70
71
71
-
```
72
+
```jsonc
72
73
{
73
74
"fortran.preferredCase":"lowercase"|"uppercase"
74
75
}
@@ -90,10 +91,65 @@ This is a list of some of the snippets included, if you like to include addition
90
91
91
92
To trigger code validations you must save the file first.
0 commit comments