For the latest updates and improvements in production, open docs.codacy.com instead.
Configuring languages#
Organization admins can manage access to this feature
Codacy automatically detects and analyzes languages in your repository based on a list of supported file extensions. On the repository Settings, tab Languages, you can see the list of languages that Codacy detected and will include in the next analysis.
By default, the analysis is enabled for all languages that Codacy detects in you repository. You can adapt this configuration to your needs as follows:
Note
Codacy applies the language settings defined in the Codacy UI as well as any settings defined using a Codacy configuration file.
Configuring file extensions#
If your repository contains source files with extensions not supported by Codacy, associate these extensions with their respective languages to ensure Codacy analyzes them in the next analysis:
-
Go to your repository's Settings, Languages.
-
Add the extensions you want to be recognized for each language.
-
Click Save changes to update your file extension settings.
The updated settings will be used on the next analysis, but you can click reanalyze the latest commit of your branches now on the notification that appears at the bottom of the page to trigger an analysis immediately.
Note
Currently, the Semgrep static analysis tool doesn't support custom file extensions.
Disabling analysis of a language#
By default, Codacy analyzes all languages detected in your repository. To disable the analysis of a specific language, do the following:
-
Go to your repository's Settings, Languages.
-
Use the toggle next to the language to disable its analysis.
-
Click Save changes to update your settings.
The updated settings will be used on the next analysis, but you can click reanalyze the latest commit of your branches now on the notification that appears at the bottom of the page to trigger an analysis immediately.
Share your feedback 📢
Did this page help you?
Thanks for the feedback! Is there anything else you'd like to tell us about this page?
255 characters left
We're sorry to hear that. Please let us know what we can improve:
255 characters left
Alternatively, you can create a more detailed issue on our GitHub repository.
Thanks for helping improve the Codacy documentation.
Edit this page on GitHub if you notice something wrong or missing.
If you have a question or need help please contact support@codacy.com.