Skip to content

Commit 3756daa

Browse files
committed
Updated settings
1 parent 1501787 commit 3756daa

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

.vscode/settings.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,35 @@
2929
"[markdown]": {
3030
"editor.defaultFormatter": "esbenp.prettier-vscode"
3131
},
32-
"prettier.configPath": ".prettierrc"
32+
"prettier.configPath": ".prettierrc",
33+
34+
"files.associations": {
35+
"*.fd": "FortranFixedForm"
36+
},
37+
38+
// ***************************************************************************
39+
// Fortran Options
40+
// ***************************************************************************
41+
// Fortran providers
42+
"fortran.provide.hover": "fortls",
43+
"fortran.provide.symbols": "fortls",
44+
"fortran.provide.autocomplete": "fortls",
45+
// // Linter options
46+
"fortran.linter.compiler": "gfortran",
47+
"fortran.linter.includePaths": ["/usr/include/", "/usr/include/*"],
48+
// Add arguments used in compilation
49+
"fortran.linter.extraArgs": [
50+
"-fdefault-real-8",
51+
"-fdefault-double-8",
52+
"-Wunused-variable",
53+
"-Wunused-dummy-argument"
54+
],
55+
// Formatting options
56+
"fortran.formatting.formatter": "findent",
57+
"fortran.formatting.args": ["-Cn", "--align-paren=1"],
58+
// Fortran-Language-Server specific options
59+
"fortran.fortls.incrementalSync": true,
60+
"fortran.fortls.preserveKeywordOrder": true,
61+
// Other Fortran options
62+
"fortran.preferredCase": "lowercase"
3363
}

0 commit comments

Comments
 (0)