Skip to content

Stop Wasting Time Copying and Pasting Code Snippets from CHATGPT- Use This!



In this tutorial, using ChatGPT, we will learn how to create a “Create File” button with specific attributes for containers that contain …

22 thoughts on “Stop Wasting Time Copying and Pasting Code Snippets from CHATGPT- Use This!”

  1. Fun fact: You can put your javascript in a bookmark so that when you click it, the javascript runs. This way you can save the code in a bookmark and click it everytime you open chatgpt. A poor man's chrome extension XD

  2. "Use ChatGPT to write all your code never write code again!"
    Spends the rest of their career debugging ChatGPT code.

    Seriously, I enjoyed this video. I don't know javascript, so it was interesting seeing how to inject and debug code for the ChatGPT window in the ChatGPT window, dawg.

  3. I'm sorry but this makes little sense as a tip. Wouldn't you just use an IDE extension to work on your code files with a chatGPT plugin that directly operates on your code repository etc? Yes, if you're a developer you would.

  4. I mean we need automation but not for literally everything. It takes 1s to copy code back and forth from ChatGPT to VsCode.
    Don’t be that lazy man. 😅

    Appreciate the effort you put in though

  5. Yea but there are some problems with this, first off I would like to review each snippet that is created before I copy/paste it. Additionally, I do not trust ChatGPT to produce a file in the correct language considering often times it will label Java as CSS. It would be a hassle to go back each time and change the file type, if wasn’t reviewing each item already.

  6. Very good. Found the chrome extension called "ChatGPT Code Downloader"… But I used another extension (Chrome extension source viewer

    1.6.13) to view the source code and modified the code so it works with other file types. Btw you have typos in your filetypes as you are using upper case letters after lang.toLowerCase, so the extension as-is will save mostly to txt only. I removed all capital letters from the list and replaced C# and C++ with 'csharp' and 'cpp' for example, since that is how ChatGPT describes it on the top of the code blocks, and I also added php and json and it is working like a dream. SO fast to make extensions now. Awesomeness. Thanks so much

Comments are closed.