File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
70
70
71
71
### Fixed
72
72
73
+ - Fixed bug where the linter's internal cache directory would not always exist
74
+ ([ #698 ] ( https://github.com/fortran-lang/vscode-fortran-support/issues/698 ) )
73
75
- Fixed bugs in relative path resolution for ` fortls `
74
76
([ #693 ] ( https://github.com/fortran-lang/vscode-fortran-support/issues/693 ) )
75
77
- Fixed issues with linter unittests running asynchronously
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ export async function activate(context: vscode.ExtensionContext) {
47
47
} )
48
48
) ;
49
49
// Linter is always activated but will only lint if compiler !== Disabled
50
- const linterCache = path . join ( context . storageUri . fsPath ) ;
50
+ const linterCache = path . join ( context . storageUri . fsPath , 'include' ) ;
51
+ await vscode . workspace . fs . createDirectory ( vscode . Uri . file ( linterCache ) ) ;
51
52
const linter = new FortranLintingProvider ( logger , linterCache ) ;
52
53
context . subscriptions . push ( ...( await linter . activate ( ) ) ) ;
53
54
vscode . languages . registerCodeActionsProvider ( FortranDocumentSelector ( ) , linter ) ;
Original file line number Diff line number Diff line change @@ -207,3 +207,6 @@ which is slower but does not suffer from this issue.
207
207
The cache used by the linter should help mitigate any performance issues.
208
208
209
209
## 🐛 Bug Fixes 🐛
210
+
211
+ - Fixed bug where the linter's internal cache directory would not always exist
212
+ ([ #698 ] ( https://github.com/fortran-lang/vscode-fortran-support/issues/698 ) )
You can’t perform that action at this time.
0 commit comments