How OpenAI-ChatGPT helps developers to write better code in Visual Studio #ChatGPT #OpenAI

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys welcome to my session in this session we are going to see how upon AI chart GPT helps us to write code optimize find book and write test cases and also many more in our Visual Studio previously I created two sessions that is how to earn money without skill and investment and how to integrate charge GPT upon AI with DOT net course and csoft in this session we are going to see how charge GPT help us to optimize our code find box and return test cases right so for in this session I am using a visual studio 2022 and dotnet core application here dot net core build by C is of and we are going to do our experiment on this code which is there is a function here a Boolean function which is returning and the two are false by getting the input and we have a returning a string check string if the length is 20 it's a long if the length is 10 greater than 10 is a medium and if it is shot in boosting so we have two function here or method which we are going to optimize and write and do different kind of operation using charge GPT guys to create a video it takes much more effort sometimes takes few days also if you are new to my channel hit the Subscribe button and ring the bell icon for future notification if you ended up liking my video give me a like and share your suggestion and your thoughts in the comment box guys this will encourage me a lot let's get started so for this I am using visual studio 2022 so here I am going to go extension manage extension here you need to search chart GPT so you can see this is this Visual Studio visual charge GPT Studio we need to install this extension once you click on install it will ask for confirmation and read agreement then once you restart your Visual Studio it will got installed this extension then automatically we can do same thing here what we are doing by in charge GPT a web portal we can do same thing in our Visual Studio so you can see here a Boolean check integer but here this is not a proper way we can make this single liner we can more optimize this code so how we can do this after installing this chart GPT extension visual charge PT Studio restart your Visual Studio then select the code right click you can find this chart GPT option optimize our test right so charge GPT optimize so if I click on optimize here so if we select the code and right click and click on charge GPT optimize so you can see it's created it's removed so many line and written like this again select this code right click click on optimize okay it's already optimized do it for some second it's I think it's working okay due to some issue my visual studio got restarted again I am checking with right select the code right click charge GPT optimize so it is a login so you can see this thing completely removed efails and a single line core has been written so charge GPT optimize my code now I want to optimize this lineup code at here checking the string input right click optimize wait for few second how it is returning right so it's completely modify the modify my code and optimize the code so in this way we can optimize our code also invisible Studio but I want to write a comment so I'd click our comment so if we right click our comment so it's not working let's see right click our comments no sometimes it's working sometimes it's not working we can create a test case for this also right click for this are tests so you can see it is adding complete line so it is thinking I am writing C C plus plus and it is adding the test case for C plus plus we can select we can write our tests so now it is coming C sub method so we need to select the proper selection of code so that our the charge GPT extension will understand and I'm not writing guy anything charge GPT is automatically writing everything so you can see all the test cases test method are written here right so in this way also we can write text methods let's see again comments right click our comments no it's not let's see this method I click our comments I think it will work now sometimes it's crafting this extension is crashing the visual studio but sometimes it's working properly okay let's optimize the code again right click optimize so it will optimize my code done here also right click optimize right it's done save the code next thing is right click our comments it is not working and here also you can check right click or comments so here it's work properly it's automatically writing the commands also so charge GPT can help writing comments no need to worry about write the code after development or while pushing to the live all right here one more thing I am giving let's say here I am giving return false I want to check the error here you can see there is no error right click find box so inbox is that return statement right missing conditional statement should be look like this so it is returning me this is the Box so in this way we can use charge of GPT extension to optimize finding box and writing comment in our Visual Studio 2022. guys I hope you like this video If you do give me a thumbs up and share this video with your friends thank you very much
Info
Channel: Biswa Ranjan
Views: 7,442
Rating: undefined out of 5
Keywords: How OpenAI-ChatGPT helps developers to write better code, ChatGPT helps developers, Write Code using ChatGPT, ChatGPT Code, ChatGPT Extension for Visual Studio, ChatGPT Extension, Code optimization using ChatGPT, Earn Money using chatgpt, How to Earn Money using chatgpt, Earn extra income using chatgpt, How to Earn extra income using chatgpt, Online Tutorial, Online learning, ChatGPT, OpenAI, AI, Machine Learning. .NET, Dot NET Core
Id: oEeuCBYIGdU
Channel Id: undefined
Length: 9min 25sec (565 seconds)
Published: Wed Feb 08 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.