- Limited to version 17.12.0 or above for Visual Studio 2022 due compatibility.
- Fixed the execution of commands by holding the SHIFT key to send the responses to the Tool Window (the "Please, open the tool window first" error).
- Added the possibility to use completion API instead of Chat API. Thanks karburator for the collaboration.
- Fixed the issue preventing the extension from loading correctly starting from version 17.12.0 of Visual Studio 2022.
- Fixed the 'Stream was not readable' bug.
- Fixed an issue where an empty value was sent in the Stop Sequences parameter when it was not defined in the extension options. This caused some models to not respond correctly.
- Added the possibility to use your Microsoft Account to authenticate to the Azure Open AI Service through Entra ID.
- Bug fixes and adjusts.
- The copilot functionality that wasn't working has been fixed.
- The behavior that caused the scroll to move automatically when clicking with the mouse to select text has been removed from the Turbo Chat window.
- Now the Model parameters are optional.
- The icons in Turbo Chat that were removed incorrectly have been restored.
- Added the Copilot functionality (only for Visual Studio 2022).
- Now the gpt-4o-mini model is the default model for OpenAI API.
- Many improvements and fixes on Turbo Chat window.
- Added validation to prevent removal of default commands.
- Added support for the new gpt-4o-mini model.
- Updated
Ask Anything
command to sendTool Window System Message
as System Message. - Some fixes to avoid errors when doing Code Review.
- Now on Code Review the progress bar shows the real progress.
- Fixed the Code Review item hyper link.
- Now the API responses lines breaks in code editor will be normalized to avoid mixing line breaks patterns.
- Fixed the command "Generate Git Changes Comment" to ensure consider only pending changes.
- Added the new option
Tool Window System Message
in the Extension's Options to possibility customizing the System Message for theTool Window
chat requests. - Fixed a bug that made all requests be made twice, that causing increase wait time from responses and consume unnecessary tokens.
- Fixed a bug related to the
Base API URL
option, which could not take effect if changed. - Improved the
Add Summary For Entire Class
command to avoid bad formatting.
- Added the new Model option GPT-4o.
- Now the GPT-4-Turbo model points to the default version (the latest available). Before, it was using the preview version.
- Added the new
Custom Model
option.
- Added the new
Code Review
functionality.
- Added the new
Generate Git Changes Comment
Command on the Visual chatGPT Studio Tool Window. - Improvements for the Add Summary, Add Tests, Complete and Optimize commands result. In most cases will only write the code from OpenAI responses, ignoring any additional comments that could come with the OpenAI response. To make this possible, unfortunately I had to disable the ability to write responses via stream for these commands, so now they will work as "Single Response" regardless of the option selected via Options.
- Other minor improvements.
- Added logging writing in case of exceptions in the Visual Studio Output window.
- Small adjustment to the spacing of chat items.
- A fix was made to the requests made to the APIs, where the content was not in accordance with the OpenAI standard. This could cause errors.
- Change so that the GPT_4_Turbo model always automatically points to the latest version made available by OpenAI. Currently, the latest version is gpt-4-0125-preview (see more details here).
- Update the Cancel command icon.
- Update appearance and user interface.
- Small improvement in the automatic creation of titles for chats.
- Fixed the compatibility with the Visual Studio ARM edition.
- Small improvement in the automatic creation of titles for chats.
- Small improvements in adding comment characters to some commands that write comments in the code editor.
- Small improvement in the automatic creation of titles for chats.
- Added the gpt-4-32k model.
- Removed the gpt-3.5-turbo-16k model. OpenAI currently points to gpt-3.5-turbo model.
- Fixed a bug that was causing duplicate requests to the API.
- Improved verification of changes to connection-related options to apply them in execution mode, avoiding the need to restart Visual Studio to take effect.
- Added the Word Wrap switch button on Tool Window.
- Added the feature to automatically remove early chat messages from conversation history when the context limit has reached.
- Fixed a bug introduced in the last release when trying to use the Turbo Chat Window. The bug is related to the creation of the file to store the chat history.
- Added tabs to the Turbo Chat.
- Added Chats history.
- Fixed a behavior that cause the opening of all the extension Tool Windows when opened one of them.
- Added the new models gpt-3.5-turbo-1106 and gpt-4-1106-preview (maybe not work with Azure yet). See here for more details about these new models.
- Added the new options "Log Request" and "Log Responses". If ON, all requests and/or responses to OpenAI will be logged to the Output window.
- Commands Options reformulated. Now it's possible set commands by Projects and Solutions.
- Added the new "Visual chatGPT Studio Solution Context" window, where it is possible to add items from projects to the context of requests to OpenAI.
- Fixed a bug that was preventing an error message from being displayed in some cases if communication with OpenAI failed. As a result, the execution of the request was not interrupted.
- Added the possibility to hold the SHIFT key when executing the "Send Code" command to write the code in the Turbo Chat Window instead of the code editor.
- Turbo Chat Code Command on options changed from "Apply the change requested by the user to the code" to "Apply the change requested by the user to the code, but rewrite the original code that was not changed" for better behavior.
- Added timeout to requests.
- Added the "Send Code" command on Turbo Chat window.
- Added the "Cancel" commands to stop receiving/waiting the requests.
- Completion models removed. Now all requests will be made through Chat Models.
- Adjusted the parameters of the Options for Azure due to no longer needing two resources.
- Some minor refactors and fixes.
- Added the new Option "Minify Requests". If true, all requests to OpenAI will be minified. Ideal to save Tokens.
- Added the new Option "Characters To Remove From Requests". Add characters or words to be removed from all requests made to OpenAI. They must be separated by commas, e.g. "a,1,TODO:,{".
- Now the progress status will show on the Tool Windows itself.
- Fix for "Add Summary For Entire Class" command when the class has "region" tags.
- Fix the "Add Comments" command to detect properly if was selected one or more lines code.
- Minor fixes to the "Add Summary For Entire Class" command.
- When displaying the Diff View for the command "Optimize (Diff View)", the file extension on Diff View will be according to the original file extension.
- Added the new command "Optimize (Diff View)".
- Minor fix to the "Add Summary For Entire Class" command where in some cases where chatGPT did not respond well, the class code was erased.
- Added Chinese readme. Thanks to ATFmxyl for the collaboration!
- Update to add summaries for constructors members when the command "Add Summary For Entire Class" is executed.
- Update to add summaries for more class members when the command "Add Summary For Entire Class" is executed.
- Added the new command "Add Summary For Entire Class".
- Added the gpt-3.5-turbo-16k model for the Turbo Chat Window.
- Added the "Base API" option.
- Added the new command "Translate".
- Grouped options for better usability.
- Added feedback when code was copied on Tool Window.
- Added option that permit to define the specific Azure Deployment ID for the Turbo Chat window.
- Added option that permit to define the Azure API version for the Turbo Chat window.
- Removed the "one method selection" limit.
- Changed extension icon for VS 2019 edition.
- Added Visual Studio 2019 compatibility. Thanks to przemsiedl.
- Fixed proxy connection (experimental). Thanks to 52017126.
- Added possibility to connect through Azure (experimental). Thanks to Rabosa616.
- The CodeDavinci and CodeCushman models have been removed as they have been deprecated by OpenAI. Thanks to ekomsctr for the feedback about this.
- Fixed comment chars for the commands "Explain" and "Find Bugs" when the language is not C#.
- Added option to define the OpenAI Organization.
- Added the GTP-4 model language for the TurboChat Window (experimental).
- Added feedback when code was copied on TurboChat Window.
- Added proxy connection (experimental). Thanks to SundayCoding.
- Improvements on "Add Summary" command.
- Some improvements on turbo chat window.
- Added the new option parameter "Single Response". If true, the entire response will be displayed at once on code editor. Less undo history but longer waiting time.
- Improvements on turbo chat window. Added syntax highlight, vertical scroll and copy button.
- Improved TSQL syntax detection.
- Now when a context menu command is executed holding the SHIFT key, the request made is also written in the request box.
- Fixed a bug when the selected code has some special characters like '<' and '>'.
- Added icons to the context menu items.
- Improved Api Token validation. Now it's not necessary restart the Visual Studio after set the token at first time, and avoided a bug related.
- Added the new "Visual chatGPT Studio Turbo" tool window.
- Sometimes when performing the "Add Summary" command, the API ends up adding the characters "{" and/or "}" to its response. Therefore I am removing these characters from the response when they are returned as a result of this command.
- Added the new custom commands Before, After and Replace.
- Added the "Stop Sequences" on options (Credits to graham83).
- Fixed a bug introduced on previous release for the "Explain, "Add Comments" and "Add Summary" commands.
- Removed mention to Visual Studio 2019 due incompatibility.
- Added comment prefix for "Explain" and "Find Bugs" commands.
- Added line break after 160 characters on the same line for "Explain" and "Find Bugs" commands.
- Do nothing when API send only break lines on response begin (avoid new brank lines).
- Commands moved to a submenu.
- Added shortcuts to the commands.
- Fixed error when executing commands with SHIFT key in some scenarios.
- Redirect the commands responses to the tool window. To do, press and hold the SHIFT key and select the command. The response will be written on tool window instead on the code editor.
- Added syntax highlight to text editor on tool window
- Now text editor show the lines number.
- Added the possibility to customize the commands through the options.
- Added the possibility to resize the text editor on tool window.
- Added a shortcut to "Request" button on tool window. Now you can send the request just pressing CTRL+Enter.
- Now the extension will show the OpenAI API error detail when it occurs. In this way you can know what is really happening:
- Added support for Visual Studio ARM architecture.
-
Improved the "Add Comments" command.
-
Now it's possible to customize the OpenAI API requests parameters:
But only change the default values if you know what you're doing, otherwise you might experience some unexpected behavior.
For more details about each property, see the OpenAI documentation: https://platform.openai.com/docs/api-reference/completions/create.
You can play with these parameters here before changing them in the plugin.
- Fixed commands when select code from bottom to top or end to start (Thanks to Tim Yen to alert me about this issue).
- More improvements on "Summary" command.
- Minor bugs fixes.
- Improved the "Summary" command.
- Improved the "Summary" command. Now most of times the chatGPT will not write again the method/property head.
- Added a validation to avoid the chatGPT response be write on wrong line.
- Other minor fixes.
- Added the new command "Complete". Start write a method, select it and ask for complete.
- Now the extension is compatible with Visual Studio 2019.
- Minor bugs fixes.
- I figure out a way to improve the size of the requests. This will resolve the most of "Some error occur. Please try again or change the selection." error. Now in most cases instead of failing, if the data limit is exceeded chatGPT will not write the entire response.
- Fixed a bug that prevented the window tool from working after closing and reopening Visual Studio .
- Added a feedback when the extension is waiting for chatGPT response: