-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
Description
Summary
While in a Bulk Diff report (either single or multiple package), any override that starts with a leading period (e.g. .gitignore) is not correctly recognized as an override filename. It lacks the proper syntax scope, which causes it to not syntax highlight correctly and not support the context menu items for overrides.
Expected Behaviour
A with this name should still be detected as an override, even if it is unlikely that it would be used. For example, PackageResourceViewer seems to hide such files from the list of overrides.
Actual Behaviour
The filename in question (.gitignore as well as .github/ISSUE_TEMPLATE.md in this case) was not correctly syntax highlighted.
How to Reproduce
[Steps to follow to reproduce the issue. Feature Requests can omit this if desired.]
- Use
Preferences > Browse Packages...from the menu - Create the folder
OverrideAudit - Create the file
.gitignore - Create a bulk diff for the
OverrideAuditpackage
Environment
- Sublime Text build: 3126
- OverrideAudit version: v1.0.1
- Operating System: Windows/MacOS/Linux (all are affected)
- Case Sensitive Filesystem: Both