Loading...
Loading...
Supported programming languages in GrepAI. Use this skill to understand which languages can be indexed and traced.
npx skill4agent add yoanbernabeu/grepai-skills grepai-languages| Language | Extensions | Index | Trace |
|---|---|---|---|
| Go | | ✅ | ✅ |
| JavaScript | | ✅ | ✅ |
| TypeScript | | ✅ | ✅ |
| Python | | ✅ | ✅ |
| PHP | | ✅ | ✅ |
| C | | ✅ | ✅ |
| C++ | | ✅ | ✅ |
| Rust | | ✅ | ✅ |
| Zig | | ✅ | ✅ |
| C# | | ✅ | ✅ |
| Java | | ✅ | ✅ |
| Pascal/Delphi | | ✅ | ✅ |
| Language | Extensions | Index | Trace |
|---|---|---|---|
| Ruby | | ✅ | ❌ |
| Swift | | ✅ | ❌ |
| Kotlin | | ✅ | ❌ |
| Scala | | ✅ | ❌ |
| Lua | | ✅ | ❌ |
| Shell | | ✅ | ❌ |
| SQL | | ✅ | ❌ |
| HTML | | ✅ | ❌ |
| CSS | | ✅ | ❌ |
| Markdown | | ✅ | ❌ |
| YAML | | ✅ | ❌ |
| JSON | | ✅ | ❌ |
| TOML | | ✅ | ❌ |
| XML | | ✅ | ❌ |
# .grepai/config.yaml
trace:
enabled_languages:
- .go
- .js
- .ts
- .jsx
- .tsx
- .py
- .php
- .rs
- .c
- .cpp
- .cs
- .javatrace:
enabled_languages:
- .go
# Exclude JavaScript intentionally
# - .js
exclude_patterns:
- "*_test.go"
- "*.spec.ts"trace:
enabled_languages:
- .go
exclude_patterns:
- "*_test.go"
- "mock_*.go"
- "*_mock.go"trace:
enabled_languages:
- .js
- .jsx
- .ts
- .tsx
exclude_patterns:
- "*.test.js"
- "*.spec.ts"
- "*.d.ts" # Type declarationstrace:
enabled_languages:
- .py
exclude_patterns:
- "test_*.py"
- "*_test.py"
- "conftest.py"trace:
enabled_languages:
- .c
- .h
- .cpp
- .hpp
- .cc
- .cxx
exclude_patterns:
- "*_test.cpp"trace:
enabled_languages:
- .rs
exclude_patterns:
- "**/tests/**"
- "**/benches/**"trace:
enabled_languages:
- .php
exclude_patterns:
- "*Test.php"
- "**/tests/**"trace:
enabled_languages:
- .java
exclude_patterns:
- "*Test.java"
- "**/test/**"trace:
enabled_languages:
- .cs
exclude_patterns:
- "*Tests.cs"
- "**/Tests/**"trace:
enabled_languages:
# Backend (Go)
- .go
# Frontend (TypeScript)
- .ts
- .tsx
# Shared (SQL, etc.)
- .sql # Index only
exclude_patterns:
- "*_test.go"
- "*.spec.ts"| Language | Fast Mode | Precise Mode |
|---|---|---|
| Go | ✅ | ✅ |
| JavaScript | ✅ | ✅ |
| TypeScript | ✅ | ✅ |
| Python | ✅ | ✅ |
| PHP | ✅ | ✅ |
| C/C++ | ✅ | ✅ |
| Rust | ✅ | ✅ |
| Zig | ✅ | ✅ |
| C# | ✅ | ✅ |
| Java | ✅ | ✅ |
| Pascal | ✅ | ⚠️ Limited |
# Custom extension files will be indexed
ignore:
# Only add patterns for files you DON'T want indexed
- "*.generated.go"#!/usr/bin/env python# Check what's being indexed
grepai status
# Will show file counts by typeenabled_languages📚 GrepAI Language Support
Full Support (Index + Trace):
- Go (.go)
- JavaScript (.js, .jsx)
- TypeScript (.ts, .tsx)
- Python (.py)
- PHP (.php)
- C/C++ (.c, .cpp, .h, .hpp)
- Rust (.rs)
- Zig (.zig)
- C# (.cs)
- Java (.java)
- Pascal (.pas, .dpr)
Index Only (No Trace):
- Ruby, Swift, Kotlin, Scala
- Shell scripts, SQL, HTML, CSS
- Config files (YAML, JSON, TOML)
- Documentation (Markdown)
Your config enables trace for:
- .go, .js, .ts, .py