{"action":"created","issue":{"url":"https://api.github.com/repos/foundweekends/giter8/issues/354","repository_url":"https://api.github.com/repos/foundweekends/giter8","labels_url":"https://api.github.com/repos/foundweekends/giter8/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/foundweekends/giter8/issues/354/comments","events_url":"https://api.github.com/repos/foundweekends/giter8/issues/354/events","html_url":"https://github.com/foundweekends/giter8/pull/354","id":276757821,"number":354,"title":"Add projectName Formatter","user":{"login":"ChristopherDavenport","id":10272700,"avatar_url":"https://avatars0.githubusercontent.com/u/10272700?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristopherDavenport","html_url":"https://github.com/ChristopherDavenport","followers_url":"https://api.github.com/users/ChristopherDavenport/followers","following_url":"https://api.github.com/users/ChristopherDavenport/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherDavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherDavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherDavenport/subscriptions","organizations_url":"https://api.github.com/users/ChristopherDavenport/orgs","repos_url":"https://api.github.com/users/ChristopherDavenport/repos","events_url":"https://api.github.com/users/ChristopherDavenport/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherDavenport/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-25T15:30:17Z","updated_at":"2018-05-12T16:03:07Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/foundweekends/giter8/pulls/354","html_url":"https://github.com/foundweekends/giter8/pull/354","diff_url":"https://github.com/foundweekends/giter8/pull/354.diff","patch_url":"https://github.com/foundweekends/giter8/pull/354.patch"},"body":"You might name a project `name = cool-project`. However if you then use this in your `build.sbt` you will end up not compiling\r\n\r\n```scala\r\nlazy val $name$ = project.in(....)\r\noutput\r\nlazy val cool-project = project.in(...) // Invalid\r\n```\r\n\r\nI propose adding projectName so we can generate from the formatter\r\n\r\n```scala\r\nlazy val $name;format=\"projectName\"$ = project.in(...)\r\nwould expand to\r\nlazy val `cool-project` = project.in(...)\r\n```\r\n\r\nI am uncertain if this will meet my end goal as I lack familiarity with the codebase. Hopefully I am atleast on the right track."},"comment":{"url":"https://api.github.com/repos/foundweekends/giter8/issues/comments/388564903","html_url":"https://github.com/foundweekends/giter8/pull/354#issuecomment-388564903","issue_url":"https://api.github.com/repos/foundweekends/giter8/issues/354","id":388564903,"user":{"login":"ChristopherDavenport","id":10272700,"avatar_url":"https://avatars0.githubusercontent.com/u/10272700?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristopherDavenport","html_url":"https://github.com/ChristopherDavenport","followers_url":"https://api.github.com/users/ChristopherDavenport/followers","following_url":"https://api.github.com/users/ChristopherDavenport/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherDavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherDavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherDavenport/subscriptions","organizations_url":"https://api.github.com/users/ChristopherDavenport/orgs","repos_url":"https://api.github.com/users/ChristopherDavenport/repos","events_url":"https://api.github.com/users/ChristopherDavenport/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherDavenport/received_events","type":"User","site_admin":false},"created_at":"2018-05-12T16:03:07Z","updated_at":"2018-05-12T16:03:07Z","author_association":"NONE","body":"Alright, sorry about the bad update. I accidentally made a new branch that I updated rather than the one in this PR. Looks ok now, and should be updated as requested."}}
{"actor":{"display_login":"ChristopherDavenport"}}