{"action":"created","issue":{"url":"https://api.github.com/repos/sublimehq/Packages/issues/392","repository_url":"https://api.github.com/repos/sublimehq/Packages","labels_url":"https://api.github.com/repos/sublimehq/Packages/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/sublimehq/Packages/issues/392/comments","events_url":"https://api.github.com/repos/sublimehq/Packages/issues/392/events","html_url":"https://github.com/sublimehq/Packages/pull/392","id":154776766,"number":392,"title":"[Scala] Misc improvements and additions","user":{"login":"djspiewak","id":752,"avatar_url":"https://avatars.githubusercontent.com/u/752?v=3","gravatar_id":"","url":"https://api.github.com/users/djspiewak","html_url":"https://github.com/djspiewak","followers_url":"https://api.github.com/users/djspiewak/followers","following_url":"https://api.github.com/users/djspiewak/following{/other_user}","gists_url":"https://api.github.com/users/djspiewak/gists{/gist_id}","starred_url":"https://api.github.com/users/djspiewak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djspiewak/subscriptions","organizations_url":"https://api.github.com/users/djspiewak/orgs","repos_url":"https://api.github.com/users/djspiewak/repos","events_url":"https://api.github.com/users/djspiewak/events{/privacy}","received_events_url":"https://api.github.com/users/djspiewak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sublimehq/Packages/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/sublimehq/Packages/labels/needs%20tests","name":"needs tests","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-13T18:47:20Z","updated_at":"2016-06-02T17:12:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sublimehq/Packages/pulls/392","html_url":"https://github.com/sublimehq/Packages/pull/392","diff_url":"https://github.com/sublimehq/Packages/pull/392.diff","patch_url":"https://github.com/sublimehq/Packages/pull/392.patch"},"body":"- `macro` is (sort of) a keyword\r\n- `???` isn't a keyword, but everyone treats it as if it is, so I think the highlighting is valid (note: implementing this unveiled a bug in Sublime's `\\b` support, detailed in a comment)\r\n- Parameter list pre-`:` highlighting (e.g. `foo: Int`) no longer applies at arbitrary points in the file.  Instead, parentheses are detected as a sub-mode, allowing the special highlighting to take place.  This means that the phrase `a :: b` is now *correctly* highlighted (except inside of parentheses, unfortunately; work in progress!)\r\n  + Also, I removed the special override on the right-hand side of the `:`, so the `Int` in `foo: Int` highlights uniformly with how `Int` highlights in normal text (i.e. as a special primitive type)\r\n- `def` identifier syntax now more closely matches the Scala specification (I still haven't fixed `val` or extraction).  This allows `def +(x: Int)` to highlight correctly.\r\n\r\nAlso, the YAML format is infinitely easier to edit than the old plist version."},"comment":{"url":"https://api.github.com/repos/sublimehq/Packages/issues/comments/223358061","html_url":"https://github.com/sublimehq/Packages/pull/392#issuecomment-223358061","issue_url":"https://api.github.com/repos/sublimehq/Packages/issues/392","id":223358061,"user":{"login":"djspiewak","id":752,"avatar_url":"https://avatars.githubusercontent.com/u/752?v=3","gravatar_id":"","url":"https://api.github.com/users/djspiewak","html_url":"https://github.com/djspiewak","followers_url":"https://api.github.com/users/djspiewak/followers","following_url":"https://api.github.com/users/djspiewak/following{/other_user}","gists_url":"https://api.github.com/users/djspiewak/gists{/gist_id}","starred_url":"https://api.github.com/users/djspiewak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djspiewak/subscriptions","organizations_url":"https://api.github.com/users/djspiewak/orgs","repos_url":"https://api.github.com/users/djspiewak/repos","events_url":"https://api.github.com/users/djspiewak/events{/privacy}","received_events_url":"https://api.github.com/users/djspiewak/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T17:12:01Z","updated_at":"2016-06-02T17:12:01Z","body":"@wbond Partially.  SBT has several macros which are critical to its syntax.  Notably:\r\n\r\n- A `.value` suffix\r\n- The `project`, `settingKey` and `taskKey` functions\r\n- The `in` quantifier\r\n- Scoping denoted by the `in` quantifier and the `:=` operator\r\n- Several legacy operators that are still useful (e.g. `<<=`, `<++=` and such)\r\n- Artifact designators (`%` and `%%`)\r\n- Artifact quantifier strings (literally syntax within string literals derived from Ivy)\r\n\r\nI've been using my prototype mode (which has some issues!) for a while now, and it has been a palpably better experience than the default Scala mode when editing `.sbt` files."}}
{"actor":{"display_login":"djspiewak"}}