wakatime / jetbrains-wakatime

IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding.
https://wakatime.com/intellij-idea
BSD 3-Clause "New" or "Revised" License
1.12k stars 162 forks source link

Configure `api_url` in `.wakatime.cfg` #282

Closed Ritsuka314 closed 1 month ago

Ritsuka314 commented 1 month ago

Since wakatime-cli supports configuring the API base URL through the --api-url flag, and the key api_url is documented for wakatime.cfg, ConfigFile.java should be added a method public static String getApiUrl() which should then be used by WakaTime.buildCliCommand.

alanhamlett commented 1 month ago

Actually, this isn't necessary since wakatime-cli reads the config file on it's own and sets api_url without needing the IDE to pass --api-url. It's already handled by wakatime-cli.