Skip to content

How do I find locations and snippets in a folder that are similar to the specified code snippet? #727

@Flcwl

Description

@Flcwl

Now I have a code snippet. like it:

const targetFunc = (a, b, c) => {
  return a + b  + c
}

I need find the code locations similar to function targetFunc in src. how I can do it ?

  • src/a.js
const sum3 = (a, b, c) => {
  return a + b  + c
}

sum3(1, 2, 3)
  • src/b.js
const sum = (a, b) => {
  return a + b
}

sum(2, 3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions