-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Info Panel #1116
Comments
Did you mean "addition to Calva?" There's an issue here for adding clojuredoc info to the hover: #689 |
Yes, sorry Calva. Too many words starting with C! |
@bpringe This is the issue for #1209. I have some initial thoughts around implementation but still very early in prototyping. Would be good to get some opinions. Currently the F# implementation in Ionide uses a My aspirational features are:
To do this, and create a nice base that people could further extend I think it's worth experimenting with getting either react or reagent running in the panel and defining a way for the embedded application to communicate with the extension. Alternatively if that proves to be too 'heavy' something like svelte might be the right fit for templating / adding an amount of interactivity. |
Ah, thanks for reminding me about this issue. What would react/reagent be needed for? Do you intend to have the info panel be interactive? I think if it just needs to have its content changed upon certain editor actions, etc., then the webview API should suffice, but I haven't messed with it much, so I may be wrong. |
I hope all this talk of the |
@Hamido-san There are @bpringe To build the pinning functionality (which I think would add a lot of value) requires interactivity, how that's achieved I don't really mind. |
@ZaymonFC I see. I think the pinning feature could use some hammock time. Maybe a simplified/MVP version of this feature would be good to release first. Maybe it wouldn't include pinning at first - just a thought. I'm not against adding pinning at release, though. In regards to adding clojuredocs info, this issue is related: #689 |
Based on the discussion here: #1071
The F# VsCode tooling (https://ionide.io/index.html) has this concept called an info panel. I haven't seen it anywhere else and dearly miss it (even when using other IDE's for F#).
I find it exceedingly useful in development and I feel like it could really pair well with Clojure's REPL driven development (especially as a productivity booster for beginners).
The basic idea is have the option to spawn a panel that shows the documentation for any function under the editor caret.
The functionality it offers is:
Screenshots:
The text was updated successfully, but these errors were encountered: