Explain code

Generate a short explanation for a selected code block.

Explain code

The explain action generates a short explanation of the selected code. You can use it to understand unfamiliar or convoluted code faster.

What do I need to consider?

Please be aware that AI-generated explanations can sometimes be inaccurate or misleading. They are best used in combination with your code understanding, e.g., to provide ideas that get you started or unstuck.

This code action sends some of your code to the P42 Cloud AI service. Please only use this feature if you are comfortable with sending your code to a third-party service.


You need to enable the P42: Feature: Cloud AI settings in the Visual Studio Code configuration to use this feature.

Learn More

Available In