Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

Wakatime language identification error #225

Open
chenboshuo opened this issue Aug 4, 2020 · 4 comments
Open

Wakatime language identification error #225

chenboshuo opened this issue Aug 4, 2020 · 4 comments

Comments

@chenboshuo
Copy link

My latex class file(*.cls) was identified OpenEdge ABL

OpenEdge ABL
~/Documents/MathModels/cumcm2/cumcm_template/thesis/cumcmthesis.cls

~/Documents/latex_template/cumcm_template/thesis/cumcmthesis.cls

image

@egordorichev
Copy link

Didn't want to open a new issue for this, but yeah, it would be really neat, if you could actually specify/modify the language somehow.

image

Say I'm working with a little-known language, and it would be really neat if I could go into settings and define something like:

*.myfiletype == My Awesome Language

@alanhamlett
Copy link
Member

it would be really neat, if you could actually specify/modify the language somehow.

Yep, you can do that with a "Custom Rule" matching the end of the file:
https://wakatime.com/settings/rules

@alanhamlett
Copy link
Member

My latex class file(*.cls) was identified OpenEdge ABL

We'll fix this in a future wakatime-cli release, but for now you should use custom rules to fix the language. Let's leave this issue open until the code fix is released.

@egordorichev
Copy link

Oh, my bad, huge thanks for pointing this feature out to me!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants