- Install the extension
- Visual Studio Marketplace: https://marketplace.visualstudio.com/items?itemName=IguanaTechnology.ChatGPT
- Obtain an API key from OpenAI
- Set the API key in the extension settings
- Tools -> Options -> Chat GPT - Iguana -> Open AI APIKEY
- Open the ChatGPT tool window
- Extensions -> Chat GPT - Iguana
- Choose whether to modify the entire document or just the selected text
- Define a command, for example:
refactor method
- Click the "SUBMIT" button
Note that the current preview version does NOT utilize the ChatGPT model, but instead uses an older OpenAI API. As a result, it may not perform as well as the latest version, but it is significantly faster.
- Implement support for ChatGPT
- Display a history of recent commands
- Save frequently used commands as "favorites"
- Open to suggestions, feel free to share your ideas!