# Give Feedback

Once your students have handed in their work, you can use CodeGrade's feedback features to give your students detailed and context-specific feedback on their code. CodeGrade offers two options for giving students feedback:

* **Inline:** Click on a line of code to provide context-specific feedback.
* **General:** Give feedback about students' general performance and points of improvement.

{% hint style="success" %}
Markdown is supported in all feedback features.
{% endhint %}

## Inline Feedback

<figure><img src="https://2172486256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKAQsDlg_P20iQy3JDs%2Fuploads%2FYM7Z8UOD1bdtAqJq0tvI%2FScreenshot%202025-08-04%20at%2011.08.33.png?alt=media&#x26;token=9c467dd5-ef3a-46cd-bc10-f7efc8a10804" alt=""><figcaption></figcaption></figure>

1. Navigate to the **Submissions** page and click on one of your students' submissions.
2. If the student has submitted multiple files, use the **Code** panel on the right of the screen to navigate to the right file.
3. Click on a line you want to give feedback on. This will open the **Feedback Panel** which you can use to write your comments.
4. Click **Save** or press *Ctrl + Enter* to save your comment.

## General Feedback

![Giving general feedback on an assignment](https://2172486256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKAQsDlg_P20iQy3JDs%2Fuploads%2Fy8Cf7aMhHo2UHa6oNVNj%2FScreenshot%202025-08-04%20at%2011.11.03.png?alt=media\&token=6221a669-fa4d-4d4a-989d-3e5382a3c83f)

1. In your student's submission, navigate to the **Feedback** tab.
2. Under **General Feedback**, click to start a new thread and type your feedback.

## Creating snippets

With snippets you can easily autocomplete commonly used feedback. CodeGrade offers both personal and course-wide snippets. Personal snippets can be managed in the Profile Panel in the sidebar. Course-wide snippets can be managed in the Course Settings Page.

![](https://2172486256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKAQsDlg_P20iQy3JDs%2Fuploads%2FRj8qbVqSfKUJK2QubR4F%2FScreenshot%202025-08-04%20at%2011.17.48.png?alt=media\&token=1774fab2-3771-4779-b179-a2afd93f1ee7)

1. To create a Snippet, open the **Feedback Panel** by clicking on a line of code or editing an existing comment using the **Edit** button (pencil icon).
2. Press the **Snippet** button (scissors icon) to open the **Snippets Panel**.
3. Enter a keyword for the snippet and confirm.
4. Now, you can type your keyword into any Feedback Panel and select the Snippet to autofill your comment by clicking on it or pressing *Tab* and then *Enter* on your keyboard.

## Replying in a thread

Feedback in CodeGrade is not just one-way. Each new comment an instructor makes in a submission is a new **Thread**. Using the **Reply** feature you and your students can have a discussion in each thread.

1. In your student's submission, click the Reply button (back arrow icon) to reply to a comment.
2. Type your message and click Save.

{% hint style="success" %}
Grades and feedback are only visible to students after toggling the "Grades Published" toggle on the Assignment Management Page's general tab. Toggling this will also automatically synchronize your grades with your LMS.
{% endhint %}
