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
Copy file name to clipboardExpand all lines: README.md
+40-4Lines changed: 40 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,14 @@
15
15
* Documentation on hover for intrisic functions
16
16
* Code linting based on `gfortran` to show errors swiggles in your code
17
17
* Code autocompletion (beta)
18
-
* Symbols provider (just functions for now)
18
+
* Symbols provider
19
19
20
20

21
21
22
22
## Settings
23
23
24
24
You can control the include paths to be used by the linter with the `fortran.includePaths` setting.
25
+
25
26
```
26
27
{
27
28
"fortran.includePaths": [
@@ -30,36 +31,71 @@ You can control the include paths to be used by the linter with the `fortran.inc
30
31
]
31
32
}
32
33
```
34
+
33
35
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
+
40
45
```
41
46
{
42
47
"fortran.linterExtraArgs": ['-Wall'],
43
48
}
44
49
```
45
50
51
+
You can configure what kind of symbols will appear in the symbol list by using
52
+
53
+
```
54
+
{
55
+
"fortran.symbols": [ "function", "subroutine"]
56
+
}
57
+
```
58
+
59
+
The available options are
60
+
61
+
* "function"
62
+
* "subroutine"
63
+
* "variable"
64
+
* "module" (not supported yet)
65
+
* "program" (not supported yet)
66
+
67
+
and by default only functions and subroutines are shown
68
+
46
69
## Snippets
70
+
47
71
This is a list of some of the snippets included, if you like to include some additionals snippets please let me know and I will add them.
0 commit comments