The AI-Powered Linter that understands your intent.
Semantica is a next-generation linter for VS Code that leverages the power of GitHub Copilot and Large Language Models (LLMs) to validate your code against natural language rules.
Standard linters (ESLint, Pylint) rely on rigid AST parsers or complex Regex. Semantica uses AI to understand the meaning of your code, allowing you to enforce high-level architectural patterns, semantic naming conventions, and best practices that static tools simply cannot see.
🚀 Features
🧠 AI-Driven Validation: Define rules like "Use semantic variable names" or "Always handle promises with a catch block".
🗣️ Plain English Config: No more writing custom ESLint plugins. Just write what you want in plain text.
✨ Context-Aware Fixes: The "Fix All" button doesn't just do string replacement; it lets the AI refactor your code intelligently to meet your standards.
🔒 Privacy First: Uses your existing GitHub Copilot subscription via the VS Code Language Model API. Your code stays within your secure enterprise trust boundary.
⚡ Zero Configuration: Works instantly with reasonable defaults, or customize it to your heart's content.
📦 Usage
Install the extension.
Open a file in any supported language (TS, JS, Python, Go, Rust, Java, C#, C++).
Define Rules:
Option 1: VS Code Settings (Ctrl+,)
Search for semantica.
Add your rules to the list.
Option 2: Project File.semantica
Create a .semantica file in your project root:
1. Variable names must be descriptive (no x, y, temp).
2. Do not use console.log; use the logger service.
3. All interfaces must start with 'I'.
Lint: Violations appear as warnings in your editor.
Fix: Use the Quick Fix (💡) to fix one or all issues instantly.
🔧 Requirements
VS Code ^1.90.0
GitHub Copilot Chat Extension installed and active.