{"action":"created","issue":{"url":"https://api.github.com/repos/wakatime/jetbrains-wakatime/issues/96","repository_url":"https://api.github.com/repos/wakatime/jetbrains-wakatime","labels_url":"https://api.github.com/repos/wakatime/jetbrains-wakatime/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/wakatime/jetbrains-wakatime/issues/96/comments","events_url":"https://api.github.com/repos/wakatime/jetbrains-wakatime/issues/96/events","html_url":"https://github.com/wakatime/jetbrains-wakatime/pull/96","id":291075489,"node_id":"MDExOlB1bGxSZXF1ZXN0MTY0NzUwNDM4","number":96,"title":"Use WAKATIME_HOME env","user":{"login":"jcrben","id":5614134,"node_id":"MDQ6VXNlcjU2MTQxMzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5614134?v=4","gravatar_id":"","url":"https://api.github.com/users/jcrben","html_url":"https://github.com/jcrben","followers_url":"https://api.github.com/users/jcrben/followers","following_url":"https://api.github.com/users/jcrben/following{/other_user}","gists_url":"https://api.github.com/users/jcrben/gists{/gist_id}","starred_url":"https://api.github.com/users/jcrben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcrben/subscriptions","organizations_url":"https://api.github.com/users/jcrben/orgs","repos_url":"https://api.github.com/users/jcrben/repos","events_url":"https://api.github.com/users/jcrben/events{/privacy}","received_events_url":"https://api.github.com/users/jcrben/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-24T03:47:32Z","updated_at":"2018-10-17T20:20:37Z","closed_at":"2018-01-24T07:02:32Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/wakatime/jetbrains-wakatime/pulls/96","html_url":"https://github.com/wakatime/jetbrains-wakatime/pull/96","diff_url":"https://github.com/wakatime/jetbrains-wakatime/pull/96.diff","patch_url":"https://github.com/wakatime/jetbrains-wakatime/pull/96.patch"},"body":"Hey, following up on https://github.com/wakatime/wakatime/issues/73#issuecomment-312964355 - seems that the jetbrains plugin is creating `.wakatime/wakatime-master/` and ignoring WAKATIME_HOME\r\n\r\nThis is just a start, haven't tested it - not much of a Java person - probably still need to add code to read... I may get around to it eventually, or you can take it from here"},"comment":{"url":"https://api.github.com/repos/wakatime/jetbrains-wakatime/issues/comments/430774148","html_url":"https://github.com/wakatime/jetbrains-wakatime/pull/96#issuecomment-430774148","issue_url":"https://api.github.com/repos/wakatime/jetbrains-wakatime/issues/96","id":430774148,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDc3NDE0OA==","user":{"login":"kusold","id":509966,"node_id":"MDQ6VXNlcjUwOTk2Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/509966?v=4","gravatar_id":"","url":"https://api.github.com/users/kusold","html_url":"https://github.com/kusold","followers_url":"https://api.github.com/users/kusold/followers","following_url":"https://api.github.com/users/kusold/following{/other_user}","gists_url":"https://api.github.com/users/kusold/gists{/gist_id}","starred_url":"https://api.github.com/users/kusold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kusold/subscriptions","organizations_url":"https://api.github.com/users/kusold/orgs","repos_url":"https://api.github.com/users/kusold/repos","events_url":"https://api.github.com/users/kusold/events{/privacy}","received_events_url":"https://api.github.com/users/kusold/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T20:20:37Z","updated_at":"2018-10-17T20:20:37Z","author_association":"NONE","body":"For any MacOS users that are having issues getting IntelliJ to use `WAKATIME_HOME`, you need to set the variable using launchctl. GUI programs don't read `.profile`!\r\n\r\n```\r\n❯ cat ~/Library/LaunchAgents/environment.plist\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\r\n<plist version=\"1.0\">\r\n        <dict>\r\n                <key>Label</key>\r\n                <string>my.startup</string>\r\n                <key>ProgramArguments</key>\r\n                <array>\r\n                        <string>sh</string>\r\n                        <string>-c</string>\r\n                        <string>\r\n                                launchctl setenv WAKATIME_HOME /Users/mike/.config/wakatime\r\n                        </string>\r\n                </array>\r\n                <key>RunAtLoad</key>\r\n                <true/>\r\n        </dict>\r\n</plist>\r\n```"}}
{"actor":{"display_login":"kusold"}}