The short version is that the file can’t be found in that location because it’s not actually stored there. It’s actually stored inside of a sublime-package
file in another location. However if a file of that name did appear in that location, then Sublime would load and use it instead of the one from inside of the sublime-package
file.
So, the View Package File
command is first trying to open the file as if it existed on disk, but when that fails (hence the error message), it actually sources the file from the sublime-package
file. The name that it appears with contains the Packages
folder because that’s a place that it could exist.
The following videos explain this in a bit more detail; the first talks about the different places and formats that packages can exist in, and the second one discusses overrides
, which is the process of overriding the contents of a sublime-package
file by putting a file in the Packages
folder.