.gsh
2 claimants
1 primary
1 secondary
unambiguous primary
SWH popularity
From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.
3.6K
total occurrences
1.4K
since 2019 (39.3%)
1997–2023
years active
Case variants in archive: .gsh (3.6K), .GSH (19), .Gsh (1), .gSh (1) — aggregated above.
Attribution status
This extension is attributed to Apache Groovy as primary by 1 authoritative claim.
Authoritative sources: △ Linguist · secondary ✗ Pygments · no claim ✓ Wikidata · Q504453 ✗ Wikipedia · no claim
Claimants (2)
Languages that list
.gsh among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Apache Groovy | wikidata | primary |
| GSC | linguist | secondary |
Wikidata says… (1)
File formats, image formats, audio codecs and other non-PL
entities that claim
.gsh on Wikidata
(property P1195) or in the Wikipedia infobox.
Source: data/derived/external_extension_index.csv.
Click Use as new PL on any row to open the
Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata
URL, and this extension — one submission creates the PL + claim.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| Groovy script file Q126951166 file format | file format | — | text/x-groovy | — | Use as new PL ↗ |
Disambiguation rules (1)
Linguist heuristics that decide, by content, which language a
.gsh file actually is.| Rule | Predicts | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.gsh/0 | GSC | predicates | [{"kind": "any", "regexes": ["^\\s*#\\s*(?:using|insert|include|define|namespace)[ \\t]+\\w", "^\\s*((?:autoexec|private)\\s+){0,2}function\\s+((?:autoexec|private)\\s+){0,2}\\w+\\s*\\(", "\\b(?:level |
SWH-mined examples (0)
No archived examples for .gsh in our local mirror yet.