Get_code_context

Get code context/info about any react project

Get_code_context
  • Hello forks, today i'm sharing with you tool know as get-code-context. which is definitely very helpful for any react dev. this tool'll provides you a information about any react project.
  • for example if you want to understand the workflow of any react project without visiting the each and every file of that project's dir, so you can follow this steps:

Step-1:

  • Go to this github repo Get_code_cotext and copy the code inside of the file.

Stpe-2:

  • Now clone or fork that react repo you want to understand the workflow. after setuping the project in you local system create a file with the name of "get_code_context.sh" in the root dir of that project and paste the code which you copy from this "Get_code_cotext" repo.

Step-3:

  • After creating the file open the git bash, make sure that you open a git bash not a terminal it could be causes some error or issue due to that reasons we are using git bash. now opening the git bash run this following commands one by one:
chmod +x get_code_context.sh
./get_code_context.sh
  • After running this commands if you check you project's dir there is a generated file with text extension.

Step-4:

  • Last step where we cope that content of text generated file and give it to the chatgpt and any ai tool you prefer and ask him to explain that file.
  • That ai tool will provide you an information about each and every file of that react project which makes you easy to understand the workflow of it.

  • Thanks for reading this blog, now go an use this tool or recommend it to any of any friend who is react dev that'll be helpful for him/her.