wakatime / vscode-wakatime

Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/vs-code
BSD 3-Clause "New" or "Revised" License
1.23k stars 137 forks source link

Track WSL as windows instead of Linux #263

Closed brycerohrer closed 2 years ago

brycerohrer commented 2 years ago

I want to show that my development on wsl is different than my actual linux machine.

alanhamlett commented 2 years ago

We're now detecting WSL as Windows on the dashboards.

Davoleo commented 2 years ago

I actually think it makes more sense for it to count as development time on a linux machine, as it's basically like using a linux virtual machine, and many developers use it as a literal alternative to having to use a separate linux machine / having dual boot on your machine

alanhamlett commented 2 years ago

Yea, that makes sense. @brycerohrer another way to show wsl is different from Linux would be the Machine breakdown here: https://wakatime.com/blog/52-segment-your-code-time

If that works for you we can change WSL back to Linux.

ErdeszGyorgy commented 2 years ago

Hi! And how can I see now WSL2 as Linux instead of Windows??? It worked perfectly not a long time ago. Thank you!

alanhamlett commented 2 years ago

WakaTime now supports two new operating systems:

This solves the problem of detecting WSL as Windows vs Linux.

ErdeszGyorgy commented 2 years ago

wow, that was fast, I can see already it's working! thank you very much!