-
Notifications
You must be signed in to change notification settings - Fork 20
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
No "open in new tab" option after right clicking an identifier #30
Comments
The top of "distDir" is cut off due to an Ubuntu screenshotting issue, not the fault of haskell-code-explorer. |
There is no "Open Link in New Tab" in the context menu because each identifier (e.g., A click on an identifier is handled by JavaScript: haskell-code-explorer/javascript/app/utils/go-to-definition.js Lines 37 to 85 in 08ec8a0
|
Is there a technical reason this has to be the case, or is it arbitrary? If the former it might still be nice to switch them to anchors at some point, because not everyone will know that they can middle click to get a new tab. Not a big deal though. |
I agree. Middle mouse click on an identifier is a rather obscure feature. I'll think about adding a JavaScript context menu (which opens with a right click on an identifier) with an "Open in new tab" button.
It is mostly for convenience. Each token (clickable and non-clickable) in the source code is just a span. There is no technical reason why Haskell identifiers can't be anchors. |
Right click followed by "open in new tab" works for me for the files in the sidebar, but not for identifiers. Instead I see:
The text was updated successfully, but these errors were encountered: