You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, adding support for a new language requires modifying the language.rs at multiple locations.
This process can be quite cumbersome and error prone (especially for new contributors).
Some shortcuts can be taken:
Assuming the ascii file to be in "../resources/language.ascii" => match case in get_ascii_art() no more needed
Using tokei::LanguageType instead of our own Enum, else (if not possible) assume that the name matches => match case in fn from(language: tokei::LanguageType) no more needed.
...
The text was updated successfully, but these errors were encountered:
Currently, adding support for a new language requires modifying the language.rs at multiple locations.
This process can be quite cumbersome and error prone (especially for new contributors).
Some shortcuts can be taken:
get_ascii_art()
no more neededtokei::LanguageType
instead of our own Enum, else (if not possible) assume that the name matches => match case in fnfrom(language: tokei::LanguageType)
no more needed.The text was updated successfully, but these errors were encountered: