Kaynağa Gözat

Add cpp check configuration to analysis configuration

Patrick-Christopher Mattulat 1 yıl önce
ebeveyn
işleme
d1294730b0
1 değiştirilmiş dosya ile 14 ekleme ve 1 silme
  1. 14 1
      config/clion-lynar-studios-analysis-profile.xml

+ 14 - 1
config/clion-lynar-studios-analysis-profile.xml

@@ -1,6 +1,19 @@
 <profile version="1.0">
     <option name="myName" value="lynar-studios-analysis-profile"/>
-    <inspection_tool class="Cppcheck" enabled="false" level="WARNING" enabled_by_default="false"/>
+    <option name="scopesOrder">
+        <list>
+            <option value="All Changed Files"/>
+            <option value="Open Files"/>
+            <option value="Project Files"/>
+            <option value="Project Non-Source Files"/>
+            <option value="Project Source Files"/>
+            <option value="Scratches and Consoles"/>
+            <option value="ls-std"/>
+        </list>
+    </option>
+    <inspection_tool class="Cppcheck" enabled="true" level="WARNING" enabled_by_default="false">
+        <scope name="ls-std" level="WARNING" enabled="true"/>
+    </inspection_tool>
     <inspection_tool class="UnusedValue" enabled="true" level="WARNING" enabled_by_default="true">
         <option name="showUnusedInitializers" value="false"/>
     </inspection_tool>