-
Notifications
You must be signed in to change notification settings - Fork 47
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 button "copy import statement to clipboard" #438
Comments
Could be added here in the code Line 319 in 3209916
|
I kind of find it hard to justify this because I feel like this is a very rare use case. Put differently, is this just going to clutter up the UI if we add a button like this? |
Something like this, but better designed button. Probably could go on the module page too (screenshot is from search). Button could also be placed top-right similar to where I think the use case of looking up docs and then typing module name and function name into your code is very frequent. Now i usually scroll to top of page, copy the module name. And then i do this @JordanMartinez how does your workflow look like? |
🤦 I literally thought this issue was on the Try PureScript repo... Ok. The copy import button does make sense. |
What are your thoughts on making the proposed button also copy it as a qualified import that the user defines? So,
|
Seems like a good idea to me :) I'm thinking whether it would pay off to have a toggle (i.e. checkbox) to enable/disable the popup somewhere (toggle state stored on the browser) |
🤷♂️ I don't know, but I would focus on getting your original idea in first. Otherwise, it may never get implemented due to focusing too much on my suggestions. |
Would be nice to have a small button next to functions (and other things) to format an import statement and copy it to the clipboard
The text was updated successfully, but these errors were encountered: