Git Product home page Git Product logo

Comments (13)

alanhamlett avatar alanhamlett commented on June 14, 2024

i can't see my time on the dashboard but i can see my time on vscode on it

Your dashboard is missing vim stats, but has vscode stats?

if i try WakaTimeToday or the other cmd i get wakatime-cli is not recognised as an internal or external command.

Sounds like vim-wakatime plugin can't find ~/.wakatime/wakatime-cli. Can you make sure it's in that location?

from vim-wakatime.

alanhamlett avatar alanhamlett commented on June 14, 2024

Ok, please enable debug mode with :WakaTimeDebugEnable then share the error message printed at the bottom of your Vim after editing a file inside Vim.

from vim-wakatime.

FkLalita avatar FkLalita commented on June 14, 2024
Error detected while processing BufEnter Autocommands for "*"..function <SNR>60_InitAndHandleActivity[4]..<SNR>60_HandleActivity[10]..<SNR>60_AppendHeartbeat
[21]..<SNR>60_SendHeartbeats:
line  121:
[WakaTime] Command: "C:/Users/DSRC/.wakatime/wakatime-cli.exe" "--entity" "C:\Users\DSRC\Desktop\Go\hello\now.go" "--time" "1697498160" "--plugin" "vim/900 v
im-wakatime/11.0.0" "--alternate-language" "go"^@[WakaTime] Error: '"C:/Users/DSRC/.wakatime/wakatime-cli.exe"' is not recognized as an internal or external
command,^@operable program or batch file.^@    

from vim-wakatime.

alanhamlett avatar alanhamlett commented on June 14, 2024

And if you relaunch vim?

from vim-wakatime.

FkLalita avatar FkLalita commented on June 14, 2024

I relaunch vim but it is not working

from vim-wakatime.

alanhamlett avatar alanhamlett commented on June 14, 2024

With debug enabled you should see some logs printed when Vim first starts. When it's working it should print:

[WakaTime Install] Current wakatime-cli version is v1.85.2
[WakaTime Install] Checking for updates to wakatime-cli...
[WakaTime Install] GitHub API Response 304
[WakaTime Install] wakatime-cli is up to date.
Press ENTER or type command to continue

But there might be an error message telling us why it's not able to execute C:/Users/DSRC/.wakatime/wakatime-cli.exe on your machine.

from vim-wakatime.

FkLalita avatar FkLalita commented on June 14, 2024

So I find the error though, I think vim is looking for wakatime-cli.exe but I have wakatime-windows-386-cli.exe, so I renamed to wakatime-cli.exe and I no longer see the error but vscode keep showing wakatime error, so I copy the wakatime-cli.exe and rename it to the default one, so both are working fine I guess, I can now see vim on my dashboard.............. though it is showing unknown project for vim I guess it has to do with my file path.....but I can now see vim on my dashboard 😌

from vim-wakatime.

FkLalita avatar FkLalita commented on June 14, 2024

i keep getting unknown project on my dashboard anytime i use vim though

from vim-wakatime.

alanhamlett avatar alanhamlett commented on June 14, 2024

Are you using a Git repo for your project?

https://wakatime.com/faq#projects

from vim-wakatime.

FkLalita avatar FkLalita commented on June 14, 2024

No

from vim-wakatime.

alanhamlett avatar alanhamlett commented on June 14, 2024

Without a Git repo the plugin has no way to detect a project. Please set a project using one of the supported methods.

from vim-wakatime.

FkLalita avatar FkLalita commented on June 14, 2024

so i will have to have a github repo for the project before the plugin detect it what if i don't want to publish the project on github

from vim-wakatime.

alanhamlett avatar alanhamlett commented on June 14, 2024

There's other ways besides Git. Please read the FAQ link.

from vim-wakatime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.