legacy-python-cli icon indicating copy to clipboard operation
legacy-python-cli copied to clipboard

Can't recognise ReScript Programming language

Open Deep-Codes opened this issue 4 years ago • 3 comments

Went through Issue wakatime/vscode-wakatime#118, wakatime/vscode-wakatime#88

Enabled wakatime debug went through the logs:

logfile : wakatime.log

It says:

{"now": "2021/02/04 09:16:02 +0530", "version": "13.0.7", "plugin": "vscode/1.52.1 vscode-wakatime/5.0.0", "time": 1612410358.116768, "caller": "wakatime/dependencies/__init__.py", "lineno": 145, "file": "/Users/deepankarbhade/.wakatime.log", "level": "DEBUG", "message": "Parsing dependencies not supported for unknown.UnknownParser"}

&

{"now": "2021/02/04 09:11:13 +0530", "version": "13.0.7", "plugin": "vscode/1.52.1 vscode-wakatime/5.0.0", "time": 1612410069.4828532, "caller": "wakatime/logger.py", "lineno": 56, "file": "/Users/deepankarbhade/.wakatime.log", "level": "DEBUG", "message": "Traceback (most recent call last):\n  File \"wakatime/stats.py\", line 114, in guess_lexer_using_filename\n  File \"wakatime/stats.py\", line 334, in custom_pygments_guess_lexer_for_filename\npygments.util.ClassNotFound: no lexer for filename '.wakatime.log' found\n"}

I have never seen someone use ReScript before on wakatime but would love to have it though! Also, the programming time adds up in others category which is normal behavior i guess if it isn't recognized. because the same happened with .ipynbfiles.

Deep-Codes avatar Feb 04 '21 03:02 Deep-Codes

wakatime-vscode isn't the best place to open this issue; you need to request that the wakatime cli is updated: https://github.com/wakatime/wakatime

jakeisnt avatar Feb 19 '21 17:02 jakeisnt

Makes Sense on it.

Deep-Codes avatar Feb 19 '21 23:02 Deep-Codes

We've been porting the current Python cli that relies on Pygments to detect languages in order to have a new cli totally rewritten in Golang that will rely on Chroma. The language has been added to our forked repo and soon will be released among with the launch of new cli.

gandarez avatar Mar 05 '21 20:03 gandarez