---
title: Code Insights
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog IDE Plugins > Datadog Extension for VS Code & Cursor > Code
  Insights
---

# Code Insights

## Overview{% #overview %}

**Code Insights** keep you informed with Datadog-generated insights that are relevant to your codebase:

- Runtime errors collected by [Error Tracking](https://docs.datadoghq.com/tracing/error_tracking.md)
- Code and library vulnerabilities reported by [Code Security](https://docs.datadoghq.com/security/code_security.md)
- Flaky tests detected by [Test Optimization](https://docs.datadoghq.com/tests/explorer.md)

The extension identifies errors and vulnerabilities in the code with colored squiggles; hover over the line for more details.

{% video
   url="https://docs.dd-static.net/images//ide_plugins/vscode/code-insights-inline-hover.mp4" /%}

The **Code Insights** view in the Datadog sidebar lists all the issues found in the repository. Select an item to view the full insight, and use the links to jump to the related source code location or open the code insight in Datadog.

You can group code insights by kind, file, priority, or service. You can also ignore individual code insights and set filters to view the ones you're most interested in.

{% image
   source="https://docs.dd-static.net/images/ide_plugins/vscode/code-insights-2.cd9cbbf80e91d4be930f0706593da3e7.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/ide_plugins/vscode/code-insights-2.cd9cbbf80e91d4be930f0706593da3e7.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="The Code Insights view." /%}

For specific insights about the file currently open in the active editor, check the **File Insights** view in the IDE's file explorer. This view also lists issues discovered by [Code Security](https://docs.datadoghq.com/ide_plugins/vscode/code_security.md) within the file.

{% video
   url="https://docs.dd-static.net/images//ide_plugins/vscode/file_insights_view.mp4" /%}

## Further reading{% #further-reading %}

- [Learn more about Error Tracking](https://docs.datadoghq.com/tracing/error_tracking.md)
- [Learn more about Code Security](https://docs.datadoghq.com/security/code_security.md)
- [Learn more about Test Optimization](https://docs.datadoghq.com/tests/explorer.md)
