-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "open .sty file" to right click menu on commands and packages #2467
Comments
no, looking at sty files is really very specific. |
Instead of looking in your distribution for the package you could also open it directly, if you get the path from
On mac I'm using the following texstudio user macro to directly open .sty files (I assume this could also be adapted to other operating systems by replacing
|
as there is a macro solution, I close this. |
@samcarter Thanks! I have not had the time to play with this until now. I have one windows computer and after a bit of searching online I managed to put together the following user macro / script.
I couldn't figure out how to make it work with |
hi!
from the initial description, and closing action based on the
no. one whole point of LaTeX workflow is separation of styling from content, the M in WYSIWYM
other than that, for an existing example: the on these grounds, i propose this issue to be reopened |
here's the screenrecord if that'd help for that:
VSCodium_gfzeFVERZ9.mp4 |
hi @sunderme , can you please reopen this? again, i am not asking to open distribution wide packages, only the custom per directory packages. the issue's description and title can be modified to reflect that |
This comment was marked as duplicate.
This comment was marked as duplicate.
If you place your custom packages somewhere where texlive can find them, e.g. in your TEXMFHOME tree, you can get their path with kpsewhich |
my custom packages are project specific, tuned to and inherent part of the individual projects but thanks for the tip, I was thinking of "global"-ising some of my custom packages |
I find really helpful to have the documentation open by going to a command and using ctrl+click or right click + "open package documentation" (are there any other shortcuts?). But sometimes I'd like to see the package .sty file instead. It would be great to have a shortcut to it just below "open documentation".
The current alternative (correct me if I am wrong) is to navigate the local LaTeX distribution and find the particular package in question, which sometimes I do, but most times it feels like too much effort.
Who will benefit with this feature?
All users would benefit, sometimes it is just helpful to know how the package actually loads, even if the user can only read basic TeX. Advanced users could quickly check for inconsistencies or tweaks, etc...
The text was updated successfully, but these errors were encountered: