Skip to main content

🧬 Code Generation

With this feature, you will be able to ask chatGPT to generate code directly in project by taking files that you give him as an example and a technical strategy as instructions.


Here is how to do it :

Use the VSCode extension

  • ⌘ + ⇧ + P
    • aim33 : Generate code
  • Give the path of the files you want to modify and/or give them as examples or information to chatGPT
    • This happens via a regex
      • You should start your regex by **/ to say you want the tool to search in all your files
      • Then type the name or part of it, example : **/Drink.type.ts or **/Drink.type**
      • If you want to put several files use curly brackets and separate the files with comas, be careful to not put spaces in it. ex : {**/Drink.type.ts,**/getDrinksByName**}
  • Copy-Paste your technical strategy

✅ The extension will create a file in your workspace at a relevant path and open it !