DerTimonius / DerTimonius/code-peek

[FEAT] add more languages to `FileType`

Aperta
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement good first issue
Lingua principale
Rust
Stelle
6
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Description

Currently, only a handful of languages have been added to the `FileType`. A great list of languages with its according extension can be found [here](https://github.com/AlDanial/cloc#recognized-languages-)

## Technical Details

- [ ] add a new entry in the `FileType` enum
- [ ] add a check for the language in the `get_file_type` function

_Note: It's encouraged to add a maximum of 5 languages per PR_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Locate the FileType enum and the get_file_type function, then review the linked cloc recognized-languages list to choose up to five languages and their extensions. Done means each selected language has an enum entry and a corresponding check in get_file_type.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
58/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.