-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
Summary
When a file whose name contains glob metacharacters (e.g., “[”, “]”, “?”, “*”, “{”, “}”, “(”, “)”, “!”, “+”, “@”) is opened in Hex Editor, the view does not refresh after the file changes on disk. It looks like the watcher builds a vscode.RelativePattern using the raw file name without escaping, so the file name is interpreted as a glob and the change event doesn’t match.
Environment
OS: Windows 11
VS Code: 1.103.1
Hex Editor: 1.11.1
Steps to Reproduce
- Create a file with a glob metacharacter in its name, e.g.: C:\temp[name].bin
- Open that file in Hex Editor.
- Modify the file from another process.
- Observe that Hex Editor does not refresh. Closing the Hex Editor tab and opening the file again shows the change.
Expected Behavior
Hex Editor refreshes when the underlying file changes, regardless of characters in the file name.
Actual Behavior
No refresh occurs when the file name contains glob metacharacters. Only closing and reopening reflects the update.
Metadata
Metadata
Assignees
Labels
No labels