Viewing the package contents of any file in Tracker
|Reported by:||humdinger||Owned by:||nobody|
This is hrev48567.
On the haikuports list (sadly without archive currently: "[HaikuPorts-devs] Installation directories"), there's a short discussion on install locations of apps and all the files they come with (readmes, documentation, libs, data, templates, localization files etc.).
Never mind, if you think apps and their files should be self-contained in their folder in "apps" or sorted to various folders "apps", "data", "lib", "documentation" etc, this might be a good idea to always get to any file of a package:
Tracker's context menu could get a new top level item "Packaged in >" that opens into a next level. At the top of that menu is the name of the package that the file that's being examined is part of. Clicking that will open the package in HaikuDepot. The rest of the context menu works like drill-down-navigation in Tracker, i.e. you can navigate through the package. The path to the examined file could be made italic, so you can find it easier when it's tucked away deeply.
That way, you could e.g. easily right-click onto a program in the apps folder and open its documentation/english/turtorials/index.html without needing to know, where the documentation is: in the app's folder or in the general documentation location. Or the other way around, opening from the tutorial file the app itself.