{"action":"created","issue":{"url":"https://api.github.com/repos/scalameta/metadoc/issues/25","repository_url":"https://api.github.com/repos/scalameta/metadoc","labels_url":"https://api.github.com/repos/scalameta/metadoc/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/scalameta/metadoc/issues/25/comments","events_url":"https://api.github.com/repos/scalameta/metadoc/issues/25/events","html_url":"https://github.com/scalameta/metadoc/issues/25","id":239334183,"node_id":"MDU6SXNzdWUyMzkzMzQxODM=","number":25,"title":"Improve the Scala language syntax definition","user":{"login":"jonas","id":8417,"node_id":"MDQ6VXNlcjg0MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/8417?v=4","gravatar_id":"","url":"https://api.github.com/users/jonas","html_url":"https://github.com/jonas","followers_url":"https://api.github.com/users/jonas/followers","following_url":"https://api.github.com/users/jonas/following{/other_user}","gists_url":"https://api.github.com/users/jonas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonas/subscriptions","organizations_url":"https://api.github.com/users/jonas/orgs","repos_url":"https://api.github.com/users/jonas/repos","events_url":"https://api.github.com/users/jonas/events{/privacy}","received_events_url":"https://api.github.com/users/jonas/received_events","type":"User","site_admin":false},"labels":[{"id":608601211,"node_id":"MDU6TGFiZWw2MDg2MDEyMTE=","url":"https://api.github.com/repos/scalameta/metadoc/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":608601212,"node_id":"MDU6TGFiZWw2MDg2MDEyMTI=","url":"https://api.github.com/repos/scalameta/metadoc/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-29T00:26:19Z","updated_at":"2018-09-28T09:54:06Z","closed_at":"2018-09-28T09:54:06Z","author_association":"COLLABORATOR","body":"The editor uses the Monarch language tokenizer defined in `metadoc-js/src/main/resources/scala.ts` which still lacks support for a lot of language constructs. A non-exhaustive list:\r\n\r\n - [ ] Symbols defined with backticks\r\n   ```scala\r\n    val `number-42` = 42\r\n   ```\r\n - [ ] Strings defined with triple quotes\r\n   ```scala\r\n    val a = \"\"\"\r\n      select * from table;\r\n    \"\"\"\r\n   ```\r\n\r\n - [ ] String contexts\r\n   ```scala\r\n    val a = s\"$serverName resolves to ${resolve(serverName)}\"\r\n   ```\r\n\r\nMore info on Monarch: https://microsoft.github.io/monaco-editor/monarch.html\r\nInspiration from the Scala vscode integration: [scala.tmLanguage](https://github.com/dragos/dragos-vscode-scala/blob/7b646b7d8527f27814b679d83968a260fd7bfaaf/scala/syntaxes/scala.tmLanguage) and [scala.configuration.json](https://github.com/dragos/dragos-vscode-scala/blob/7b646b7d8527f27814b679d83968a260fd7bfaaf/scala/scala.configuration.json)"},"comment":{"url":"https://api.github.com/repos/scalameta/metadoc/issues/comments/425385437","html_url":"https://github.com/scalameta/metadoc/issues/25#issuecomment-425385437","issue_url":"https://api.github.com/repos/scalameta/metadoc/issues/25","id":425385437,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTM4NTQzNw==","user":{"login":"olafurpg","id":1408093,"node_id":"MDQ6VXNlcjE0MDgwOTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1408093?v=4","gravatar_id":"","url":"https://api.github.com/users/olafurpg","html_url":"https://github.com/olafurpg","followers_url":"https://api.github.com/users/olafurpg/followers","following_url":"https://api.github.com/users/olafurpg/following{/other_user}","gists_url":"https://api.github.com/users/olafurpg/gists{/gist_id}","starred_url":"https://api.github.com/users/olafurpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olafurpg/subscriptions","organizations_url":"https://api.github.com/users/olafurpg/orgs","repos_url":"https://api.github.com/users/olafurpg/repos","events_url":"https://api.github.com/users/olafurpg/events{/privacy}","received_events_url":"https://api.github.com/users/olafurpg/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T09:54:06Z","updated_at":"2018-09-28T09:54:06Z","author_association":"MEMBER","body":"I think the syntax highlighting is good enough. I'm just spoilt with semantic higlighting in IntelliJ, after having used vscode more recently it seems we just have to live with imperfect syntax highlight (unless tree-sitter saves us http://tree-sitter.github.io/tree-sitter/ )"}}
{"actor":{"display_login":"olafurpg"}}