Giter Site home page Giter Site logo

Comments (4)

perlun avatar perlun commented on July 19, 2024 5

This will fix the problem with unwanted tracking and false statistics in the project "Unknown Project".

I'm not 100% sure I want this. I want all my time logged in Wakatime, even if it's just opening random .js or .md files from a non-project folder.

So this should probably be configurable, rather than just "disabled".

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on July 19, 2024

Related, you can now delete files from your dashboard using this page.

from vscode-wakatime.

vs0uz4 avatar vs0uz4 commented on July 19, 2024

But, is this option no longer configurable?

I believe that to ignore individual files and / or that are not inside some folder of some project, we just create a files '.wakatime.cfg' in the root of our user profile and specify in its content which folders will be definitively logged in or we can also do the reverse, specifying which folders, should definitely not be logged.

https://github.com/wakatime/wakatime#configuring

[settings]
debug = false
api_key = your-api-key
hide_filenames = false
exclude =
    ^COMMIT_EDITMSG$
    ^TAG_EDITMSG$
    ^/var/(?!www/).*
    ^/etc/
include =
    .*
only_include_with_project_file = false
offline = true
proxy = https://user:pass@localhost:8080
no_ssl_verify = false
timeout = 30
hostname = machinename
[projectmap]
projects/foo = new project name
^/home/user/projects/bar(\d+)/ = project{0}
[git]
disable_submodules = false

from vscode-wakatime.

alanhamlett avatar alanhamlett commented on July 19, 2024

Added exclude_unknown_project config option to wakatime-cli. Restart VS Code to get the latest wakatime-cli, then add this to your ~/.wakatime.cfg file:

[settings]
...
exclude_unknown_project = true

from vscode-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.