Skip to content

Feature Request: Live Template Variable Manipulation #43

@devonzara

Description

@devonzara

Is it possible to implement a feature where if you try to do a string manipulation while in a live template's variable, or any guided edit mode, it automatically applies the manipulation to the entire field's value?

To explain my current use-case, I write tests in snake case like it_should_have_a_unique_slug... However, when actually typing them out, I prefer to use spaces: it should have a unique slug. It'd be nice to have a way to quickly convert the field to snake case, but Live Templates don't have the ability to post-process variables.

Currently, I have to do Ctrl + A to select everything in the current Live Template's input field before I'm able to apply the string manipulation to it.

For a better explanation of my specific use-case, see my JetBrains Community post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions