Skip to content
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

Question about identifiers #166

Open
ccoVeille opened this issue Jun 24, 2024 · 0 comments
Open

Question about identifiers #166

ccoVeille opened this issue Jun 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ccoVeille
Copy link

I keep investigating about how to use the tool (which I love BTW 🎉)

So after #165, now I would like to know how I could detect and identifier matching a patter

I would like to me be able to catch something "as simple as" famous last word ™️

@@
var f identifier that start with Test*
@@
-func f(t *testing.T) {
-   t.Helper()
+func f(t *testing.T) {
    ...
}

My idea would be to be able to do this

@@
var f identifier
@@
-func f(t *testing.T) {
+func f(t *testing.T) {
+   t.Helper()
+
    ...


@@
var f identifier that start with Test*
@@
-func f(t *testing.T) {
-   t.Helper()
+func f(t *testing.T) {
    ...
}
@tchung1118 tchung1118 added the enhancement New feature or request label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants