-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Expand log
to console.log()
#5096
Comments
It is called "Live Templates" in IntellJ. Really useful thing, need it in zed |
We need generalized version of this. So each user can add their own shortcut to boost productivity 🚀 |
yep, live templates and postfixes are amazing features from the intellij platform, and if zed would implement something similar that would be an amazing productivity boost I'm attaching a couple screenshots from both live templates, which can be invoked directly, or if there is a @ushankax @Pringlers it would be nice to 👍🏻 this issue if you think this is a nice feature 🙂 |
It might be possible to achieve this already with an LSP snippet, similar to https://github.com/zed-industries/feedback/issues/566#issuecomment-1273791513 |
Bumping as this is one little thing that makes me miss VSCode. It's just muscle memory but such a time saver! |
This comment was marked as spam.
This comment was marked as spam.
Waiting desperately for snippet support |
This little thing still doesn’t work, come on guys, we’re really looking forward to it) |
This is a part of #4611 actually and not sure how hard, but somebody have to work on this. |
This week's release mentions how to configure this in the release notes for snippet support! |
For anyone coming across this, the release notes are gone, but the Snippets docs have this exact request covered |
Here are the release notes attached to the GitHub release: Zed.dev only goes back so far with the release history, but everything can be found in GitHub releases: https://github.com/zed-industries/zed/releases/tag/v0.140.5 |
Check for existing issues
Is your feature request related to a problem?
In JetBrains’ tooling, in JS and TS, you can type
log
then hittab
and it will expand toconsole.log()
. It’s a small thing, but it’s so nice. We should see if we can add this feature. Maybe this calls for some generic system that allows you to define, per language, maps that link some input text into an expanded form.Describe the solution you'd like
Screen.Recording.2022-12-02.at.6.03.26.PM.mov
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: