Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editors not recognized #712

Closed
crnobog69 opened this issue Nov 21, 2024 · 6 comments
Closed

Editors not recognized #712

crnobog69 opened this issue Nov 21, 2024 · 6 comments
Labels
bug Something isn't working prio a

Comments

@crnobog69
Copy link

crnobog69 commented Nov 21, 2024

I installed Wakapi and I am self-hosting it. VS Code and IntelliJ IDEA are recognized but Cursor and Micro are not. Is Curosor reconized as VS Code? Same is when api_url is https://wakapi.dev/api. Wakatime recognizes Cursor.

Wakapi(2.12.2)
Arch Linux

@muety
Copy link
Owner

muety commented Nov 21, 2024

Thanks for reporting. Can you please post the user agent (user_agent column inside heartbeats table in your database) of exemplary heartbeats sent for Cursor and Micro? Would help me debugging this a lot!

@muety muety added bug Something isn't working prio a labels Nov 21, 2024
@crnobog69
Copy link
Author

crnobog69 commented Nov 21, 2024

Thanks for reporting. Can you please post the user agent (user_agent column inside heartbeats table in your database) of exemplary heartbeats sent for Cursor and Micro? Would help me debugging this a lot!

` "user_agent" varchar(255)

I used sqlitebrowser Browse Data on table heartbeats and then under user_agent

` wakatime/v1.105.0 (linux-6.11.9-zen1-1-zen-unknown) go1.23.3 intellijidea/2024.3 intellijidea-wakatime/15.0.3

` wakatime/v1.105.0 (linux-6.11.9-zen1-1-zen-unknown) go1.23.3 vscode/1.95.3 vscode-wakatime/24.8.0

this?

I am sorry, I don't use SQL that often so I am not sure what do you mean

@crnobog69
Copy link
Author

crnobog69 commented Nov 21, 2024

and there is this

` wakatime/v1.105.0 (linux-6.11.8-zen1-2-zen-unknown) go1.23.3 cursor/1.93.1 vscode-wakatime/24.8.0

There is no Micro in the format I sent before. Wakatime doesn't recognize Micro either, even though I have a plugin for it.

@muety muety closed this as completed in b96db4e Nov 22, 2024
@muety
Copy link
Owner

muety commented Nov 22, 2024

Alright, had a look at this. Apparently, these are two different problems. Cursor not being recognized as an editor was a bug on our end, which I just pushed a fix for. The micro editor seems to work fine, though. However, make sure that you have version 1.0.6 of micro-wakatime installed (need to use the "git clone" installation method), as 1.0.5 is not compatible anymore.

@crnobog69
Copy link
Author

Okay, Thank you.

@muety
Copy link
Owner

muety commented Nov 22, 2024

Opened an upstream PR to update micro's wakatime plugin reference to the latest version, see micro-editor/plugin-channel#110.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio a
Projects
None yet
Development

No branches or pull requests

2 participants