You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure whether this is useful in many languages besides rust, but seeing macro-expanded code can be useful at times. Having an editor command/action to do this with the macro the cursor currently resides in would be useful.
This is how Zed does it:
2024-12-21.14-47-32.mp4
The text was updated successfully, but these errors were encountered:
From what I can tell this feature is just a wrapper around cargo expand {function name}. If so, I'd say this could be marked a duplicate of #67. The shell command should be specified to include a way to send the current selection (or word-at-cursor) to the shell command and also a way to specify that the output should be sent to a new buffer (and allow specifying the language).
I'm not sure whether this is useful in many languages besides rust, but seeing macro-expanded code can be useful at times. Having an editor command/action to do this with the macro the cursor currently resides in would be useful.
This is how Zed does it:
2024-12-21.14-47-32.mp4
The text was updated successfully, but these errors were encountered: