|
29 | 29 | "[markdown]": {
|
30 | 30 | "editor.defaultFormatter": "esbenp.prettier-vscode"
|
31 | 31 | },
|
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" |
33 | 63 | }
|
0 commit comments