3 ms·
extensions are configurable or truly hard coded?
by tinix 3y ago
extensions are configurable or truly hard coded?
- rockostrich 3y agoBased on the code, they're hardcoded. It seems like it'd be pretty straightforward to add an override flag though.
- kantord 3y agoit is hardcoded at the moment, but I am willing to merge code that adds the option to override. Also probably a flag would solve it for some users, the best way would be to add a configuration option. At the moment there are no config file/.rc file support in SeaGOAT though, but there is an issue to add it and I'm happy to merge pull requests: https://github.com/kantord/SeaGOAT/issues/180 https://github.com/kantord/SeaGOAT/issues/180
- kantord 3y agoupdate: I changed the hardcoded set of languages to support the following: Text Files (.txt) Markdown (.md) Python (.py) C (.c, ``.h`) C++ (.cpp, .hpp) TypeScript (.ts, .tsx) JavaScript (.js, .jsx) HTML (.html) Go (.go) Java (.java) PHP (.php) Ruby (.rb) https://github.com/kantord/SeaGOAT#what-programming-langauges-are-supported https://github.com/kantord/SeaGOAT#what-programming-langauge...