visualstudio-wakatime icon indicating copy to clipboard operation
visualstudio-wakatime copied to clipboard

Excludes and includes no longer working?

Open fordeka opened this issue 4 years ago • 5 comments

I've used this in my wakatime.cfg file for years:

exclude =
    .*
include =
    ^C:\\work\\.*

I want to exclude all projects outside the c:\work\ directory on my Windows machine. I'm pretty sure the above cfg worked until very recently- I tried variations on the above and a complete reinstall but nothing I try stops heartbeats from being logged from projects outside the c:\work\ directory.

I don't know if it's related, but when I go to the plugin status page it always says "new cli version available". I even tried downloading the newest cli release (1.28.1-alpha.2) and replacing it manually but the status doesn't change:

Screenshot 2021-10-10 121430

Any help would be appreciated. Thanks.

fordeka avatar Oct 10 '21 15:10 fordeka

Hi @fordeka it could be related to the new wakatime-cli (Go) we've launched this year. I'll take a look into this.

Could you please check which plugin version do you have installed in Visual Studio?

gandarez avatar Oct 12 '21 12:10 gandarez

@gandarez Thanks for looking into this. I have version 11.1.0 installed in VS Community 2019 16.11.2.

fordeka avatar Oct 14 '21 13:10 fordeka

Hi @fordeka sorry for this belated reply. I've tested against multiple scenarios and it's working as expected. Could you please enable debug = true in your wakatime config file and then check if there's any error on it?

gandarez avatar Nov 20 '21 16:11 gandarez

Previously we used case-insensitive regex patterns. Maybe this changed in the new wakatime-cli. Does it work with lowercase c:\\work\\.*? Also try forward slash c:/work/.*.

alanhamlett avatar Dec 23 '21 00:12 alanhamlett

@fordeka any update here?

gandarez avatar Feb 01 '22 11:02 gandarez

Closing due to no activity.

gandarez avatar Dec 18 '22 21:12 gandarez