diff --git a/clion/src/main/java/org/sonarlint/intellij/clion/CFamilyLanguageActivator.java b/clion/src/main/java/org/sonarlint/intellij/clion/CFamilyLanguageActivator.java index 947f1342c4..3769b1b367 100644 --- a/clion/src/main/java/org/sonarlint/intellij/clion/CFamilyLanguageActivator.java +++ b/clion/src/main/java/org/sonarlint/intellij/clion/CFamilyLanguageActivator.java @@ -31,5 +31,6 @@ public void amendLanguages(Set enabledLanguages) { enabledLanguages.clear(); enabledLanguages.add(Language.C); enabledLanguages.add(Language.CPP); + enabledLanguages.add(Language.SECRETS); } } diff --git a/rider/src/main/java/org/sonarlint/intellij/rider/CsharpLanguageActivator.java b/rider/src/main/java/org/sonarlint/intellij/rider/CsharpLanguageActivator.java index 680c519830..54ffc33607 100644 --- a/rider/src/main/java/org/sonarlint/intellij/rider/CsharpLanguageActivator.java +++ b/rider/src/main/java/org/sonarlint/intellij/rider/CsharpLanguageActivator.java @@ -26,8 +26,8 @@ public class CsharpLanguageActivator implements LanguageActivator { @Override public void amendLanguages(Set enabledLanguages) { - // Only C# for now in Rider enabledLanguages.clear(); enabledLanguages.add(Language.CS); + enabledLanguages.add(Language.SECRETS); } }