-
Notifications
You must be signed in to change notification settings - Fork 26
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
Relative file paths in assists / diagnostics #65
Comments
Agreed. v0.12.0 does this for the output of things like Ldef and Lrefs, but a few more cases remain to be fixed. |
Maybe another point for consideration: but when using Lrefs from outside acme, the new behaviour of using relative paths breaks clicking/jumping to the file:line. while testing this i saw that the underlying issue is probably more acme-related. so i guess one would need to manually handle the button3 click inside the diagnostics window to make it work :-/ i tried hardcoding I added a new flag for Lrefs (-show) to show the results in a dedicated acme window, and implemented a workaround for |
@kmx1 not a real fix, but remember that you can add |
i know. its no fix, actually i reverted (or added the option) to use full-qualified paths. you can try that by hardcoding your working-dir in this would just display relative paths in /LSP/Diagnostics as you said, rightly so
and i also asked
one would have to set the /LSP/Diagnostics windows "working directory" somehow, just displaying the relative paths does not work. i dont know how exactly acme handles this, but my guess is that its through the tagline? and i discovered/investigated this because: (kind of related, but not the actual issue) if you use thats why i added the option to use absolute paths again, and while i was at it i added the feature to display references in a dedicated window (with absolute paths), which is my usecase anyway. (instead of using the script mentioned in my last comment) so "normally" calling |
It would be a bit more readable if file paths in the diagnostics window where relative to the workspace. I think this should be possible, either by doing some magic in the Win or setting the base path of the L win to the workspace.
The text was updated successfully, but these errors were encountered: