Trying to accomplish a somewhat complex task, I have dedicated hours to searching for the appropriate documentation with no success. The goal is for Visual Studio to generate some JavaScript code and place it in a specific folder, starting from:
- Performing a right-click action on a file within an existing project.
- This action would open a window that retrieves information about the functions within the selected class file. Additionally, the window should contain a dropdown menu listing all classes located within a particular folder.
- Upon selecting an item from the dropdown menu and clicking "ok," the IDE should utilize the properties of the chosen class along with the functions from the right-clicked file to generate JavaScript code. This code should then be saved to a specified folder within the project.
I have made progress in certain aspects of this process:
- I am familiar with adding options to a context menu using the initialize function.
- To a certain extent, I understand how to create new files within a project.
- I have knowledge of creating a custom window tool and building most necessary interfaces (such as dropdown menus).
However, the challenge lies in efficiently managing existing classes and extracting required information from them in the desired format.