diff --git a/src/main/kotlin/org/vlang/ide/inspections/namingConventions/VlangVarNamingConventionInspection.kt b/src/main/kotlin/org/vlang/ide/inspections/namingConventions/VlangVarNamingConventionInspection.kt
new file mode 100644
index 00000000..20a0e7d5
--- /dev/null
+++ b/src/main/kotlin/org/vlang/ide/inspections/namingConventions/VlangVarNamingConventionInspection.kt
@@ -0,0 +1,17 @@
+package org.vlang.ide.inspections.namingConventions
+
+import com.intellij.codeInspection.ProblemsHolder
+import com.intellij.psi.PsiElementVisitor
+import org.vlang.lang.psi.VlangVarDefinition
+import org.vlang.lang.psi.VlangVisitor
+
+class VlangVarNamingConventionInspection : VlangNamingConventionInspectionBase() {
+ override fun buildVisitor(holder: ProblemsHolder, isOnTheFly: Boolean): PsiElementVisitor {
+ return object : VlangVisitor() {
+ override fun visitVarDefinition(o: VlangVarDefinition) {
+ super.visitVarDefinition(o)
+ holder.checkSnakeCase(o, "Variable")
+ }
+ }
+ }
+}
diff --git a/src/main/resources/META-INF/inspections.xml b/src/main/resources/META-INF/inspections.xml
index f2d35e20..4d703a77 100644
--- a/src/main/resources/META-INF/inspections.xml
+++ b/src/main/resources/META-INF/inspections.xml
@@ -146,6 +146,12 @@
enabledByDefault="true" level="ERROR"
implementationClass="org.vlang.ide.inspections.namingConventions.VlangClassLikeNamingConventionInspection"/>
+
+
+
+Reports variables whose names do not follow the naming convention.
+
+