-
Notifications
You must be signed in to change notification settings - Fork 11
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
provide an "open-at-point" function #18
Comments
Hi, this would definitely be useful. I only don't know how the "that support variables" could be implemented. Meson has |
Something that feels a bit hacky is:
It works with textual variables like:
But I still have to look at how to print include_directories() objects |
It works with arrays
|
A maybe less hacky thing to do is to write a python script that imports from mesonbuild import mesonmain and does the evaluation (not sure which function). The cool part about this is that probably it will work even with external dependencies, when they are resolved edit:
(don't know which variable is more useful. But I'd love to easily be able to jump to the include dir to know exactly what I'm using) |
The idea is to have a simple way to open the file or folder at point/in the current line. Something like the following but that supports variables:
The text was updated successfully, but these errors were encountered: