From 37bbf4d2d3a31b3f39b842a4c39d216f6c75ca3e Mon Sep 17 00:00:00 2001 From: Henry Le Berre Date: Sat, 6 Apr 2024 07:54:52 -0400 Subject: [PATCH] Fix vscode settings.json for Fypp (#386) --- .vscode/settings.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f18256f1f..e9f34a085 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,13 +6,26 @@ "files.exclude": { "**/.git": true, "**/.DS_Store": true, - "**/build": true + "**/build": true, + "*.o": true, + "*.mod": true }, "cmake.configureOnOpen": false, "python.defaultInterpreterPath": "${workspaceFolder}/build/venv/bin/python3", + "files.associations": { + "*.f90": "FortranFreeForm", + "*.fpp": "FortranFreeForm" + }, + "fortran.preferredCase": "lowercase", - "fortran.linter.includePaths": [ "${workspacefolder}/src/**" ], + "fortran.linter.includePaths": [ + "${workspacefolder}/src/${fileDirname}", + "${workspacefolder}/src/${fileDirname}/include", + "${workspacefolder}/src/common", + "${workspacefolder}/src/common/include" + ], + "fortran.linter.extraArgs": ["--free-form"] }