Skip to content

artur10563/GPT-no-comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modifies "Copy" button of code block to copy without comments.

Original code with comments:

using System;

class Program
{
    // This is a single-line comment.
    static void Main()
    {
        int a = 5;  // Inline comment: Declaration of 'a'
        int b = 10; // Inline comment: Declaration of 'b'

        /*
         * This is a multi-line comment.
         * Declaring 'sum'.
         */
        int sum = a + b;

        /// <summary>
        /// XML summary comment for documentation.
        /// </summary>
        Console.WriteLine("The sum of " + a + " and " + b + " is: " + sum); // Print sum
    }
}

Copied Code (without comments):

using System;
class Program
{
    static void Main()
    {
        int a = 5;  
        int b = 10; 
        int sum = a + b;
        Console.WriteLine("The sum of " + a + " and " + b + " is: " + sum); 
    }
}

About

Chrome Extension to copy code from chat GPT without comments

Topics

Resources

Stars

Watchers

Forks