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

Kate uses incorrect parent directory for the "project name" #30

Open
wizzardx opened this issue Feb 4, 2024 · 1 comment
Open

Kate uses incorrect parent directory for the "project name" #30

wizzardx opened this issue Feb 4, 2024 · 1 comment

Comments

@wizzardx
Copy link

wizzardx commented Feb 4, 2024

In my project, if I have a structure like this in it:

my_project/
├── .git
└── lib
    └── test.py

And in Kate (with the plugin installed), I spend time editing my_project/lib/test.py

Then this gets registered as having spent time in the "lib" project over in my Wakatime dashboard.

I think (also to be consistent with other IDEs with Wakatime integration) that the project name on the Wakatime dashboard shoud be "my_project", ie the first directory name under the edited file that contains a .git subdirectory.

@alanhamlett
Copy link
Contributor

It's because this plugin sends heartbeats directly to the API without using wakatime-cli. We should instead send the current file to wakatime-cli to fix this bug.

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

No branches or pull requests

2 participants