Comments (11)
Added an ignore
preference in 0f4084a.
For example, adding this line to your Brackets preferences.json
file will ignore any files matching one of the listed regular expressions:
"WakaTime.ignore": ["^/var/", "^/tmp/", "^/private/"]
from brackets-wakatime.
Thanks!
from brackets-wakatime.
Hi, is there any way to include only specific directories? I mean I don't really want to wakatime logged all my work, only on a certains directories, does it exist an include option? or wakatime register the hole system?
from brackets-wakatime.
@drm-code add this regex to your `exclude config key:
exclude = .*
Then add regexes to match each folder you DO want to log:
include =
\/path\/to\/project1
\/path\/to\/project2
That goes in your ~/.wakatime.cfg
file. More info here:
https://github.com/wakatime/wakatime#configuring
from brackets-wakatime.
Yes that works exactly as I expect, thanks :)
from brackets-wakatime.
Hi, I'm having some trouble setting directories to be excluded in my .wakatime.cfg
file. I'm doing something like the following, but it doesn't seem to ignore activity in that directory or its subdirectories:
exclude =
^/home/nam/Downloads/.*
Am I doing something incorrectly? I noticed that you escaped the path slashes in your "include" example. Do I need to do that, too? Is the .*
also necessary for my exclude rule? Thanks!
from brackets-wakatime.
That regex is correct, but Brackets is the one plugin that doesn't use the ~/.wakatime.cfg file so it's not using the exclude rule.
from brackets-wakatime.
My mistake. I didn't notice which repo I was in. I was actually having the issue with the cfg file and the emacs plugin. Should I recreate the issue over there?
from brackets-wakatime.
You can create it here:
https://github.com/wakatime/wakatime/issues/new
Also, add this line to your .wakatime.cfg
and check your ~/.wakatime.log
file for any related logging:
debug=true
from brackets-wakatime.
@alanhamlett this was helpful, thanks
from brackets-wakatime.
@namdnguyen have you been able to create an issue on this in the wakatime repo? Kindly share the link to it, thanks.
from brackets-wakatime.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brackets-wakatime.