# Code Summary

Our Code Summary feature works on 30 languages and intelligently adds an explanation as a multi-line or single-line comment as a prefix to the code file. You can observe your code and its explanation side by side and export it efficiently.

### Step 1 :

Log in first with Google Authentication on Kodezi.

<figure><img src="https://1546495129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuCUGeAGoLnKn0XrQ3cCn%2Fuploads%2FdTYQfAmfu4j93MWL6Okq%2FStep%2003%20(1).png?alt=media&#x26;token=e5c4f5b8-4dff-4e3c-9225-ecb84b56026f" alt=""><figcaption></figcaption></figure>

### Step 2 :

After signing in successfully, click on Generate Documentation button.

<figure><img src="https://1546495129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuCUGeAGoLnKn0XrQ3cCn%2Fuploads%2FVRdwSwlUu90SIZ1vVQt0%2FFrame%2055933.png?alt=media&#x26;token=04f2917d-f9b9-4216-abd8-aa7aec3717cd" alt=""><figcaption></figcaption></figure>

### Step 3 :

Inside the Generate Documentation UI select the Code Summary, then click on the Generate button.

<figure><img src="https://1546495129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuCUGeAGoLnKn0XrQ3cCn%2Fuploads%2FSydHh2o5JyY5JQaIobfC%2FFrame%2055944.png?alt=media&#x26;token=b7fd70fe-aa17-4544-8249-6d93641ec673" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Kodezi does not support extremely large sections of code, so you may have to select a block of code for Code Summary if guided to do so.&#x20;
{% endhint %}

### Step 4 :

After clicking on the Generate button, the document-generating process will start.

<figure><img src="https://1546495129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuCUGeAGoLnKn0XrQ3cCn%2Fuploads%2FLY7uJvhinpwAAhxoUjzS%2Fgd3.png?alt=media&#x26;token=60824aa5-9f86-488e-b191-97795658b484" alt=""><figcaption></figcaption></figure>

### Step 5 :

You will see results similar to these in your IDE once the document-generating process is finished.

<figure><img src="https://1546495129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuCUGeAGoLnKn0XrQ3cCn%2Fuploads%2FFEbTkBiqiuWZ4hrzsIno%2FGenerate%20Documentation%20Select%20Type%20(5).png?alt=media&#x26;token=3c7d8516-ecf8-4ffb-9189-af9e63f48cf5" alt=""><figcaption></figcaption></figure>

### Step 6 :

Now You can simply click on the apply button for the result that will add to your original file.&#x20;
