-1

How can I- using vscode/unix- find duplicates of code blocks (text blocks) across several files? I would like the output to be in JSON format.

starball
  • 20,030
  • 7
  • 43
  • 238
gabbi
  • 108
  • 9
  • and the next question is that it should also find places where the names are changed – rioV8 Aug 24 '23 at 15:22
  • @rioV8 it would be great! but I would be already satisfied with exact detection – gabbi Aug 24 '23 at 15:23
  • and what about change in whitespace, if not found write one yourself – rioV8 Aug 24 '23 at 15:24
  • there is a tool that can check if your code contains open source code fragments, and thus should also be open sourced, that does what something similar what you want – rioV8 Aug 24 '23 at 15:25

0 Answers0