Skip to content

Commit ab354f4

Browse files
committed
Fixes diagnostics. Closes #215
Closes #215
1 parent 7d58141 commit ab354f4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
> **Note**: odd version numbers, for example, `0.13.0`, are not included in this changelog. They are used to test the new features and fixes before the final release.
99
10-
## [0.23.2] - Unreleased
10+
## [0.23.3] - Unreleased
1111

1212
### Added:
1313

@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
### Fixed:
2121

2222
- Detection: Fixed issue with version not showing correctly when log level set lower than information
23+
- Diagnostics: Fixed issue with problems not being removed when file has been deleted
2324

2425
## [0.22.1] - 2025-05-02
2526

src/documents.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,13 @@ export const registerDocumentListeners = (context: vscode.ExtensionContext, coll
4949
vscode.commands.executeCommand('setContext', 'isDevProxyConfigFile', false);
5050
})
5151
);
52+
53+
context.subscriptions.push(
54+
vscode.workspace.onDidDeleteFiles(e => {
55+
e.files.forEach(file => {
56+
const uri = file;
57+
collection.delete(uri);
58+
});
59+
})
60+
);
5261
};

0 commit comments

Comments
 (0)